Linux x86_64 Python 2.5.1 (r251:54863, Sep 17 2007, 10:13:22) [GCC 4.1.2 20070626 (Red Hat 4.1.2-13)] on linux2
There are numerous "warning: initialization from incompatible pointer type" when compiling the .c modules. When I built Python 2.5.1 I had to use the CFLAG -fwrapv Is this the same issue? If so, where can I add that flag so the zope .c files will be compiled correctly? What happens is that the process builds and the server will start but when you execute a request (http://localhost:8080) you end up getting a MemoryError ----------- /buildout-eggs/tmpUBM6Io/zope.app.container-3.5.0a1-py2.5-linux-x86_64.egg/zope/app/container/browser/contents.py", line 120, in _normalListContentsInfo MemoryError -------------- Complete Traceback attached. Thanks, Tim -- Timothy Cook, MSc Health Informatics Research & Development Services http://timothywayne.cook.googlepages.com/home 01-904-322-8582
Platform: Python 2.5.1 (r251:54863, Sep 12 2007, 09:06:03) [GCC 4.1.2 20070626 (Red Hat 4.1.2-13)] on linux2 [EMAIL PROTECTED] WebApp]$ bin/webapp-ctl fg bin/paster serve deploy.ini /home/tim/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) Starting server in PID 7641. serving on http://127.0.0.1:8080 ------ 2007-09-17T09:15:31 ERROR SiteError http://127.0.0.1:8080/@@index.html Traceback (most recent call last): File "/home/tim/buildout-eggs/tmpGF47n7/zope.publisher-3.5.0a1.dev_r78838-py2.5.egg/zope/publisher/publish.py", line 133, in publish File "/home/tim/buildout-eggs/tmptGyD29/zope.app.publication-3.4.0a1_2-py2.5.egg/zope/app/publication/zopepublication.py", line 167, in callObject File "/home/tim/buildout-eggs/tmpGF47n7/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 0x25df610>> File "/home/tim/buildout-eggs/tmpGF47n7/zope.publisher-3.5.0a1.dev_r78838-py2.5.egg/zope/publisher/publish.py", line 114, in debug_call File "/home/tim/buildout-eggs/tmpUBM6Io/zope.app.container-3.5.0a1-py2.5-linux-x86_64.egg/zope/app/container/browser/contents.py", line 439, in index File "/home/tim/buildout-eggs/tmpXtcwY7/zope.app.pagetemplate-3.4.0b1dev_r75616-py2.5.egg/zope/app/pagetemplate/viewpagetemplatefile.py", line 83, in __call__ File "/home/tim/buildout-eggs/tmpXtcwY7/zope.app.pagetemplate-3.4.0b1dev_r75616-py2.5.egg/zope/app/pagetemplate/viewpagetemplatefile.py", line 51, in __call__ File "/home/tim/buildout-eggs/tmpudHd93/zope.pagetemplate-3.4.0a1-py2.5.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 271, in __call__ File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 891, in do_useMacro File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 536, in do_optTag_tal File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 521, in do_optTag File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 516, in no_tag File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 861, in do_defineMacro File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 957, in do_defineSlot File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 949, in do_defineSlot File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 822, in do_loop_tal File "/home/tim/buildout-eggs/tmp4nmVnm/zope.tales-3.4.0a1-py2.5.egg/zope/tales/tales.py", line 682, in setRepeat File "/home/tim/buildout-eggs/tmp4nmVnm/zope.tales-3.4.0a1-py2.5.egg/zope/tales/tales.py", line 696, in evaluate - /home/tim/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 0x2e0dc08>, 'default': <object object at 0x2aaaaaaf4270>, 'loop': {}, 'nothing': None, 'options': {}, 'repeat': {}, 'request': <zope.publisher.browser.BrowserRequest instance URL=http://127.0.0.1:8080/@@index.html>, 'template': <zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile object at 0x1d5b290>, 'view': <zope.app.publisher.browser.viewmeta.Contents object at 0x25df610>, 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x25df450>} File "/home/tim/buildout-eggs/tmp4nmVnm/zope.tales-3.4.0a1-py2.5.egg/zope/tales/expressions.py", line 217, in __call__ File "/home/tim/buildout-eggs/tmp4nmVnm/zope.tales-3.4.0a1-py2.5.egg/zope/tales/expressions.py", line 211, in _eval File "/home/tim/buildout-eggs/tmpUBM6Io/zope.app.container-3.5.0a1-py2.5-linux-x86_64.egg/zope/app/container/browser/contents.py", line 94, in listContentInfo File "/home/tim/buildout-eggs/tmpUBM6Io/zope.app.container-3.5.0a1-py2.5-linux-x86_64.egg/zope/app/container/browser/contents.py", line 120, in _normalListContentsInfo MemoryError ------ 2007-09-17T09:15:37 ERROR SiteError http://127.0.0.1:8080/@@index.html Traceback (most recent call last): File "/home/tim/buildout-eggs/tmpGF47n7/zope.publisher-3.5.0a1.dev_r78838-py2.5.egg/zope/publisher/publish.py", line 133, in publish File "/home/tim/buildout-eggs/tmptGyD29/zope.app.publication-3.4.0a1_2-py2.5.egg/zope/app/publication/zopepublication.py", line 167, in callObject File "/home/tim/buildout-eggs/tmpGF47n7/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 0x27e8710>> File "/home/tim/buildout-eggs/tmpGF47n7/zope.publisher-3.5.0a1.dev_r78838-py2.5.egg/zope/publisher/publish.py", line 114, in debug_call File "/home/tim/buildout-eggs/tmpUBM6Io/zope.app.container-3.5.0a1-py2.5-linux-x86_64.egg/zope/app/container/browser/contents.py", line 439, in index File "/home/tim/buildout-eggs/tmpXtcwY7/zope.app.pagetemplate-3.4.0b1dev_r75616-py2.5.egg/zope/app/pagetemplate/viewpagetemplatefile.py", line 83, in __call__ File "/home/tim/buildout-eggs/tmpXtcwY7/zope.app.pagetemplate-3.4.0b1dev_r75616-py2.5.egg/zope/app/pagetemplate/viewpagetemplatefile.py", line 51, in __call__ File "/home/tim/buildout-eggs/tmpudHd93/zope.pagetemplate-3.4.0a1-py2.5.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 271, in __call__ File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 891, in do_useMacro File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 536, in do_optTag_tal File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 521, in do_optTag File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 516, in no_tag File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 861, in do_defineMacro File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 957, in do_defineSlot File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 949, in do_defineSlot File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 346, in interpret File "/home/tim/buildout-eggs/tmpM4Z-gT/zope.tal-3.4.0b1-py2.5.egg/zope/tal/talinterpreter.py", line 822, in do_loop_tal File "/home/tim/buildout-eggs/tmp4nmVnm/zope.tales-3.4.0a1-py2.5.egg/zope/tales/tales.py", line 682, in setRepeat File "/home/tim/buildout-eggs/tmp4nmVnm/zope.tales-3.4.0a1-py2.5.egg/zope/tales/tales.py", line 696, in evaluate - /home/tim/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 0x2e0dc08>, 'default': <object object at 0x2aaaaaaf4270>, 'loop': {}, 'nothing': None, 'options': {}, 'repeat': {}, 'request': <zope.publisher.browser.BrowserRequest instance URL=http://127.0.0.1:8080/@@index.html>, 'template': <zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile object at 0x1d5b290>, 'view': <zope.app.publisher.browser.viewmeta.Contents object at 0x27e8710>, 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x2da4390>} File "/home/tim/buildout-eggs/tmp4nmVnm/zope.tales-3.4.0a1-py2.5.egg/zope/tales/expressions.py", line 217, in __call__ File "/home/tim/buildout-eggs/tmp4nmVnm/zope.tales-3.4.0a1-py2.5.egg/zope/tales/expressions.py", line 211, in _eval File "/home/tim/buildout-eggs/tmpUBM6Io/zope.app.container-3.5.0a1-py2.5-linux-x86_64.egg/zope/app/container/browser/contents.py", line 94, in listContentInfo File "/home/tim/buildout-eggs/tmpUBM6Io/zope.app.container-3.5.0a1-py2.5-linux-x86_64.egg/zope/app/container/browser/contents.py", line 120, in _normalListContentsInfo MemoryError
_______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users