[Zope3-Users] Re: Zope3 still not compatible with Python2.5

Jim Washington jwashin at vt.edu
Tue Sep 11 22:54:18 EDT 2007


Philipp von Weitershausen wrote:
> This is a rather confusing post. I'm not sure what you're trying to
> say with it.
>
> Is Python 2.5 officially supported? No. We never said it was.
>
> Does Zope 3.4 actually work on Python 2.5.1? Yes, it works just fine
> for me and others. For example, Grok runs on Python 2.5.1 no problem [1].
>
This is very good to hear.  I'm not on the grok list.

> Is this a platform issue? Maybe, but your post isn't giving *any*
> useful information for tracking this down. All you're basically saying
> is that you were "experimenting with several things all at once" and
> that that was a bad idea. You certainly got that right.
>

Yup.  That's pretty much all I was saying - plus that in my case, the
quickest solution was to go back to python2.4.  I was also hoping I
might hear some time frame when I might expect to try again successfully. 

> I hope the rest isn't taken for FUD. I certainly encourage people to
> try out Zope 3.4 on Python 2.5 and report any problems *properly* so
> that we can chase down the bugs.
>
No FUD intended. 

I have attached a couple of tracebacks.  Traceback1 occurs when asking
for /index.html.  Traceback2 occurs when the instance from traceback1 is
stopped and restarted.

Is this more helpful?

Regards,

-Jim Washington


-------------- next part --------------
2007-09-11T22:42:56 ERROR SiteError http://localhost:8080/@@index.html
Traceback (most recent call last):
  File "/home/jwashin/buildout-eggs/tmprA8xJD/zope.publisher-3.5.0a1.dev_r78838-py2.5.egg/zope/publisher/publish.py", line 133, in publish
  File "/home/jwashin/buildout-eggs/tmpNVNVrW/zope.app.publication-3.4.0a1_2-py2.5.egg/zope/app/publication/zopepublication.py", line 167, in callObject
  File "/home/jwashin/buildout-eggs/tmprA8xJD/zope.publisher-3.5.0a1.dev_r78838-py2.5.egg/zope/publisher/publish.py", line 108, in mapply
   - __traceback_info__: <bound method Contents.index of <zope.app.publisher.browser.viewmeta.Contents object at 0x37dbe10>>
  File "/home/jwashin/buildout-eggs/tmprA8xJD/zope.publisher-3.5.0a1.dev_r78838-py2.5.egg/zope/publisher/publish.py", line 114, in debug_call
  File "/home/jwashin/buildout-eggs/tmpBqALB1/zope.app.container-3.5.0a1-py2.5-linux-x86_64.egg/zope/app/container/browser/contents.py", line 439, in index
  File "/home/jwashin/buildout-eggs/tmpW6ie0m/zope.app.pagetemplate-3.4.0b1dev_r75616-py2.5.egg/zope/app/pagetemplate/viewpagetemplatefile.py", line 83, in __call__
  File "/home/jwashin/buildout-eggs/tmpW6ie0m/zope.app.pagetemplate-3.4.0b1dev_r75616-py2.5.egg/zope/app/pagetemplate/viewpagetemplatefile.py", line 51, in __call__
  File "/home/jwashin/buildout-eggs/tmpYyeA98/zope.pagetemplate-3.4.0a1-py2.5.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
  File "/home/jwashin/buildout-eggs/tmpG5P6SX/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 271, in __call__
  File "/home/jwashin/buildout-eggs/tmpG5P6SX/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret
  File "/home/jwashin/buildout-eggs/tmpG5P6SX/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 891, in do_useMacro
  File "/home/jwashin/buildout-eggs/tmpG5P6SX/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret
  File "/home/jwashin/buildout-eggs/tmpG5P6SX/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
  File "/home/jwashin/buildout-eggs/tmpG5P6SX/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 521, in do_optTag
  File "/home/jwashin/buildout-eggs/tmpG5P6SX/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 516, in no_tag
  File "/home/jwashin/buildout-eggs/tmpG5P6SX/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret
  File "/home/jwashin/buildout-eggs/tmpG5P6SX/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 861, in do_defineMacro
  File "/home/jwashin/buildout-eggs/tmpG5P6SX/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret
  File "/home/jwashin/buildout-eggs/tmpG5P6SX/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 957, in do_defineSlot
  File "/home/jwashin/buildout-eggs/tmpG5P6SX/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret
  File "/home/jwashin/buildout-eggs/tmpG5P6SX/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 949, in do_defineSlot
  File "/home/jwashin/buildout-eggs/tmpG5P6SX/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret
  File "/home/jwashin/buildout-eggs/tmpG5P6SX/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 822, in do_loop_tal
  File "/home/jwashin/buildout-eggs/tmpD0OTbe/zope.tales-3.4.0a1-py2.5.egg/zope/tales/tales.py", line 682, in setRepeat
  File "/home/jwashin/buildout-eggs/tmpD0OTbe/zope.tales-3.4.0a1-py2.5.egg/zope/tales/tales.py", line 696, in evaluate
   - /home/jwashin/buildout-eggs/zope.app.container-3.5.0a1-py2.5-linux-x86_64.egg/zope/app/container/browser/index.pt
   - Line 36, Column 6
   - Expression: <PathExpr standard:u'view/listContentInfo'>
   - Names:
      {'args': (),
       'context': <zope.app.folder.folder.Folder object at 0x2d818c0>,
       'default': <object object at 0x2ad0fcabe270>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': {},
       'request': <zope.publisher.browser.BrowserRequest instance URL=http://localhost:8080/@@index.html>,
       'template': <zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile object at 0x1c0cb50>,
       'view': <zope.app.publisher.browser.viewmeta.Contents object at 0x37dbe10>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x37e30d0>}
  File "/home/jwashin/buildout-eggs/tmpD0OTbe/zope.tales-3.4.0a1-py2.5.egg/zope/tales/expressions.py", line 217, in __call__
  File "/home/jwashin/buildout-eggs/tmpD0OTbe/zope.tales-3.4.0a1-py2.5.egg/zope/tales/expressions.py", line 211, in _eval
  File "/home/jwashin/buildout-eggs/tmpBqALB1/zope.app.container-3.5.0a1-py2.5-linux-x86_64.egg/zope/app/container/browser/contents.py", line 94, in listContentInfo
  File "/home/jwashin/buildout-eggs/tmpBqALB1/zope.app.container-3.5.0a1-py2.5-linux-x86_64.egg/zope/app/container/browser/contents.py", line 120, in _normalListContentsInfo
MemoryError
-------------- next part --------------
~/zope-instances/prj1 $ bin/paster serve deploy.ini
/home/jwashin/buildout-eggs/zope.configuration-3.4.0b1-py2.5.egg/zope/configuration/config.py:182: DeprecationWarning: the gopherlib module is deprecated
  mod = __import__(mname, *_import_chickens)
------
2007-09-11T22:44:50 WARNING ZODB.FileStorage Ignoring index for var/Data.fs
Traceback (most recent call last):
  File "bin/paster", line 91, in <module>
    paste.script.command.run()
  File "/usr/lib64/python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/paste/script/command.py", line 76, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib64/python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/paste/script/command.py", line 115, in invoke
    exit_code = runner.run(args)
  File "/usr/lib64/python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/paste/script/command.py", line 210, in run
    result = self.command()
  File "/usr/lib64/python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/paste/script/serve.py", line 231, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib64/python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/paste/script/serve.py", line 254, in loadapp
    **kw)
  File "/usr/lib64/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/paste/deploy/loadwsgi.py", line 193, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib64/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/paste/deploy/loadwsgi.py", line 214, in loadobj
    return context.create()
  File "/usr/lib64/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/paste/deploy/loadwsgi.py", line 606, in create
    return self.object_type.invoke(self)
  File "/usr/lib64/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/paste/deploy/loadwsgi.py", line 99, in invoke
    return fix_call(context.object, context.global_conf, **context.local_conf)
  File "/usr/lib64/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/paste/deploy/util/fixtypeerror.py", line 57, in fix_call
    val = callable(*args, **kw)
  File "/home/jwashin/zope-instances/prj1/prj1/application.py", line 29, in application_factory
    zope.event.notify(DatabaseOpened(db))
  File "/usr/lib64/python2.5/site-packages/PIL/__init__.py", line 23, in notify

  File "/home/jwashin/buildout-eggs/tmpIWT71x/zope.component-3.4.0a1-py2.5.egg/zope/component/event.py", line 26, in dispatch
  File "/home/jwashin/buildout-eggs/tmpIWT71x/zope.component-3.4.0a1-py2.5.egg/zope/component/_api.py", line 130, in subscribers
  File "/home/jwashin/buildout-eggs/tmpIWT71x/zope.component-3.4.0a1-py2.5.egg/zope/component/registry.py", line 290, in subscribers
  File "/home/jwashin/buildout-eggs/tmpJLfcmR/zope.interface-3.4.0-py2.5-linux-x86_64.egg/zope/interface/adapter.py", line 535, in subscribers
  File "/home/jwashin/buildout-eggs/tmpgazcUb/zope.app.appsetup-3.4.0a1-py2.5.egg/zope/app/appsetup/bootstrap.py", line 195, in bootStrapSubscriber
  File "/usr/lib64/python2.5/site-packages/PIL/__init__.py", line 23, in notify

  File "/home/jwashin/buildout-eggs/tmpIWT71x/zope.component-3.4.0a1-py2.5.egg/zope/component/event.py", line 26, in dispatch
  File "/home/jwashin/buildout-eggs/tmpIWT71x/zope.component-3.4.0a1-py2.5.egg/zope/component/_api.py", line 130, in subscribers
  File "/home/jwashin/buildout-eggs/tmpIWT71x/zope.component-3.4.0a1-py2.5.egg/zope/component/registry.py", line 290, in subscribers
  File "/home/jwashin/buildout-eggs/tmpJLfcmR/zope.interface-3.4.0-py2.5-linux-x86_64.egg/zope/interface/adapter.py", line 535, in subscribers
  File "/home/jwashin/buildout-eggs/tmp3jFRkW/zope.app.generations-3.4.0a1-py2.5.egg/zope/app/generations/generations.py", line 441, in evolveMinimumSubscriber
  File "/home/jwashin/buildout-eggs/tmp3jFRkW/zope.app.generations-3.4.0a1-py2.5.egg/zope/app/generations/generations.py", line 373, in evolve
  File "/usr/lib64/python2.5/UserDict.py", line 58, in get
    if not self.has_key(key):
  File "/usr/lib64/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'


More information about the Zope3-users mailing list