Brief note. Here's how I got grok running with python 2.6
As many would have known, earlier grok version runs on python 2.4 and 2.5 only.
Maartijn noted that grok 1.1 should run on python2.6
:
- virtualenv --no-sitepackages grok1.1rc1
- source grok1.1rc1/bin/activate
- easy_install grokproject ... ...
- grokproject --grokversion=1.1rc1 --zopectl Sample #get the grok version 1.1rc1 and do zope style control
:
Enter user (Name of an initial administrator user): admin Enter passwd (Password for the initial administrator user): Enter passwd (Password for the initial administrator user): Downloading info about versions... Creating directory ./Sample Downloading zc.buildout... Invoking zc.buildout... Develop: '/home/kdie/projek/grok11/Sample/.' Installing eggbasket. zip_safe flag not set; analyzing archive contents... zc.zope3recipes.debugzope: module references __file__
- cd Sample
- bin/zopectl fg
:
/home/kdie/projek/grok11/Sample/parts/app/runzope -C /home/kdie/projek/grok11/Sample/parts/zopectl/zope.conf /home/kdie/.buildout/eggs/zope.app.twisted-3.5.0-py2.6.egg/twisted/spread/pb.py:67: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 /home/kdie/.buildout/eggs/zope.app.twisted-3.5.0-py2.6.egg/twisted/python/filepath.py:10: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha ------ 2010-04-14T20:35:01 INFO zope.app.generations main db: evolving in mode EVOLVEMINIMUM ------ 2010-04-14T20:35:01 INFO zope.app.generations main db/zope.app: running install generation ------ 2010-04-14T20:35:01 INFO root -- HTTP:localhost:8080 Server started. Hostname: localhost Port: 8080 ------ 2010-04-14T20:35:01 INFO root Startup time: 11.053 sec real, 8.890 sec CPU - go to localhost:8080
we're in!
Trackback is http://myzope.kedai.com.my/blogs/kedai/249/tbping
The --zopectl option will be deprecated in the soon to be released version of grokproject.
Use `bin/paster serve parts/etc/debug.ini` instead.
I recommend upgrading your grokproject after the release.
ah, i know of the official paster stuff, but why deprecate zopectl?
any particular reasons? sorry, am not subscribed to grok lists.
will check out in a minute.
