Hi, I'm new to Zine, though I used Textpress for a while early on. I really like the design philosophy. I used Django for some time prior to stumbling across Textpress and I liked the additional flexibility that using the collection of Werkzeug, SQLAlchemy, and Jinja gave me over the monolithic Django for my blog. Not to knock on Django, I just didn't find it best suited to this specific task for me. So, congrats and thanks for a nice software architecture! Anyway...on to why I'm writing. So far, I've only tried this on Mac OS X 10.5. Trying to setup the virtualenv as stated in the wiki[1] didn't work for me. I've got ports installed and everything, but there seems to be a deadlock created when using the script './scripts/setup-virtualenv env'. It gets to "Downloading libxml2 into libs/libxml2-2.7.6.tar.gz" and it never progresses past this point. I tried to manually "port install py25-lxml", and this seemed to work without issue. It seems like it could be related to the issue noted here [2] with setuptools. I don't know if this version of setuptools is what is loaded by default, but it was breaking something. I manually set my PYTHONPATH and this seemed to fix the problem. I'll try to get this in a bug report? or maybe on the wiki. I literally just solved this issue while typing this email, but still think it's useful to pass it on. Thanks again for a hopeful project. I hope to contribute in /my/ spare time (what little of that exists). -- Derek Ditch [1]: http://dev.pocoo.org/projects/zine/wiki/DevelopmentQuickstart [2]: http://muffinresearch.co.uk/archives/2009/03/08/fixing-setuptools-typeerror-swig_sources-error/
Sorry, one more quick msg. After I get the virutalenv setup and
activated, I proceeded to the next step and get the following error:
(env)hostname:zine user$ ./scripts/server -I instance
Traceback (most recent call last):
File "./scripts/server", line 79, in <module>
main()
File "./scripts/server", line 61, in main
app = get_wsgi_app(instance)
File "/Users/user/src/zine/zine/_core.py", line 134, in get_wsgi_app
import zine.application
File "/Users/user/src/zine/zine/application.py", line 39, in <module>
from zine.database import db, cleanup_session
File "/Users/user/src/zine/zine/database.py", line 241, in <module>
setattr(db, name, getattr(session, name))
AttributeError: 'ScopedSession' object has no attribute 'save'
I'll get back to this later and file a bug. And I really want to get
Zine running, so perhaps I'll hack on it a bit.
--
Derek Ditch
Am 28.02.2010 17:41, schrieb Derek Ditch: > Sorry, one more quick msg. After I get the virutalenv setup and > activated, I proceeded to the next step and get the following error: > > (env)hostname:zine user$ ./scripts/server -I instance > Traceback (most recent call last): > File "./scripts/server", line 79, in<module> > main() > File "./scripts/server", line 61, in main > app = get_wsgi_app(instance) > File "/Users/user/src/zine/zine/_core.py", line 134, in get_wsgi_app > import zine.application > File "/Users/user/src/zine/zine/application.py", line 39, in<module> > from zine.database import db, cleanup_session > File "/Users/user/src/zine/zine/database.py", line 241, in<module> > setattr(db, name, getattr(session, name)) > AttributeError: 'ScopedSession' object has no attribute 'save' > > I'll get back to this later and file a bug. And I really want to get > Zine running, so perhaps I'll hack on it a bit. > > -- > Derek Ditch > Downgrade SQLAlchemy for now, 0.6 is not stable yet and has a changed API ;) Greetz Jokey