[Grok-dev] Tutorial... Broken??

Sebastian Ware sebastian at urbantalk.se
Thu Jun 19 04:16:08 EDT 2008


FWIW: Grok/Zope3 is only guaranteed to work with Python 2.4.

Mvh Sebastian

18 jun 2008 kl. 11.59 skrev andre at vandervlies.xs4all.nl:

>
> Apart from the svn thingy. I am not able to start Grok a second  
> time. The
> first time it works ok (promising).
>
> I jusr did the 'easy_install' and 'virtualenv' stuff...
>
> The second time I get errors:
>
>
> (virtualgrok)andre at vandervlies:~/Sample$ bin/zopectl fg
> /home/andre/Sample/parts/app/runzope -C
> /home/andre/Sample/parts/zopectl/zope.conf
> /home/andre/buildout-eggs/zope.configuration-3.4.0-py2.5.egg/zope/ 
> configuration/config.py:182:
> DeprecationWarning: the gopherlib module is deprecated
>  mod = __import__(mname, *_import_chickens)
> ------
> 2008-06-18T11:51:47 INFO root -- HTTP:localhost:8080 Server started.
> 	Hostname: localhost
> 	Port: 8080
> ------
> 2008-06-18T11:51:47 INFO root Startup time: 1.615 sec real, 1.580  
> sec CPU
>
> (virtualgrok)andre at vandervlies:~/Sample$ bin/zopectl fg
> /home/andre/Sample/parts/app/runzope -C
> /home/andre/Sample/parts/zopectl/zope.conf
> /home/andre/buildout-eggs/zope.configuration-3.4.0-py2.5.egg/zope/ 
> configuration/config.py:182:
> DeprecationWarning: the gopherlib module is deprecated
>  mod = __import__(mname, *_import_chickens)
> ------
> 2008-06-18T11:56:11 WARNING ZODB.FileStorage Ignoring index for
> /home/andre/Sample/parts/data/Data.fs
> Traceback (most recent call last):
>  File "/home/andre/Sample/parts/app/runzope", line 114, in <module>
>    zope.app.twisted.main.main()
>  File
> "/home/andre/buildout-eggs/tmpKp4miJ/zope.app.twisted-3.4.0a1- 
> py2.5.egg/zope/app/twisted/main.py",
> line 74, in main
>  File
> "/home/andre/buildout-eggs/tmpKp4miJ/zope.app.twisted-3.4.0a1- 
> py2.5.egg/zope/app/twisted/main.py",
> line 149, in setup
>  File
> "/home/andre/buildout-eggs/tmpcCmNhd/zope.event-3.4.0-py2.5.egg/zope/ 
> event/__init__.py",
> line 23, in notify
>  File
> "/home/andre/buildout-eggs/tmplTehHu/zope.component-3.4.0-py2.5.egg/ 
> zope/component/event.py",
> line 26, in dispatch
>  File
> "/home/andre/buildout-eggs/tmplTehHu/zope.component-3.4.0-py2.5.egg/ 
> zope/component/_api.py",
> line 130, in subscribers
>  File
> "/home/andre/buildout-eggs/tmplTehHu/zope.component-3.4.0-py2.5.egg/ 
> zope/component/registry.py",
> line 290, in subscribers
>  File
> "/home/andre/buildout-eggs/tmp2sjENj/zope.interface-3.4.0-py2.5- 
> linux-x86_64.egg/zope/interface/adapter.py",
> line 535, in subscribers
>  File
> "/home/andre/buildout-eggs/tmpRUTyG3/zope.app.appsetup-3.4.1- 
> py2.5.egg/zope/app/appsetup/bootstrap.py",
> line 204, in bootStrapSubscriber
>  File
> "/home/andre/buildout-eggs/tmpcCmNhd/zope.event-3.4.0-py2.5.egg/zope/ 
> event/__init__.py",
> line 23, in notify
>  File
> "/home/andre/buildout-eggs/tmplTehHu/zope.component-3.4.0-py2.5.egg/ 
> zope/component/event.py",
> line 26, in dispatch
>  File
> "/home/andre/buildout-eggs/tmplTehHu/zope.component-3.4.0-py2.5.egg/ 
> zope/component/_api.py",
> line 130, in subscribers
>  File
> "/home/andre/buildout-eggs/tmplTehHu/zope.component-3.4.0-py2.5.egg/ 
> zope/component/registry.py",
> line 290, in subscribers
>  File
> "/home/andre/buildout-eggs/tmp2sjENj/zope.interface-3.4.0-py2.5- 
> linux-x86_64.egg/zope/interface/adapter.py",
> line 535, in subscribers
>  File
> "/home/andre/buildout-eggs/tmpC5YynY/zope.app.generations-3.4.0a1- 
> py2.5.egg/zope/app/generations/generations.py",
> line 441, in evolveMinimumSubscriber
>  File
> "/home/andre/buildout-eggs/tmpC5YynY/zope.app.generations-3.4.0a1- 
> py2.5.egg/zope/app/generations/generations.py",
> line 373, in evolve
>  File "/usr/lib/python2.5/UserDict.py", line 58, in get
>    if not self.has_key(key):
>  File "/usr/lib/python2.5/UserDict.py", line 44, in has_key
>    def has_key(self, key): return self.data.has_key(key)
> AttributeError: 'PersistentDict' object has no attribute 'data'
>
>
> --
>               Andre van der Vlies <andre at vandervlies.xs4all.nl>
>               Certifiable Linux/UNIX engineer (CLUE)
>               Homepage: http://vandervlies.xs4all.nl/~andre
> Key fingerprint = 397C 7479 67DB 9306 23DC B423 7B58 CD5A 6EFF 5CF8
> --
>    "Programming isn't a craft, it's an art."
>    ()  ascii ribbon campaign - against html e-mail
>    /\                        - against microsoft attachments
>                              ^[^#]
> --
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> http://mail.zope.org/mailman/listinfo/grok-dev



More information about the Grok-dev mailing list