Re: [Zope3-Users] traceback on startup from a wsgi server
On Monday 08 January 2007 09:54, Michael Haubenwallner wrote: > /home/user/Zope3/src/zope/configuration/config.py:690: > DeprecationWarning: Change the site.zcml Replace: package="zope.app" /> with: > This will go away in Zope 3.6. > actions = self.handler(context, **args) > Test-module import failures: Try to fix this deprecation warning first. MAybe this solves your issue. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] traceback on startup from a wsgi server
Stephan Richter wrote: On Saturday 11 November 2006 07:11, Michael Haubenwallner wrote: Do you see a way to solve the problem except from commenting the directive ? Does the problem still occur? I have never seen this issue. Yes, still reproducable (it has always been the Import error): new checkout from trunk, distinct python2.4.4 install from source. Traceback looks like so: - /home/user/Zope3/src/zope/configuration/config.py:690: DeprecationWarning: Change the site.zcml Replace: package="zope.app" /> with: This will go away in Zope 3.6. actions = self.handler(context, **args) Test-module import failures: Module: zope.testbrowser.tests Traceback (most recent call last): File "/home/user/Zope3/src/zope/testbrowser/tests.py", line 27, in ? from zope.testbrowser import browser ImportError: cannot import name browser Running unit tests: ... - Hth, do you need the wsgi startup files and setup ? Michael -- http://zope.org/Members/d2m http://planetzope.org ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] traceback on startup from a wsgi server
On Saturday 11 November 2006 07:11, Michael Haubenwallner wrote: > Do you see a way to solve the problem except from commenting the directive > ? Does the problem still occur? I have never seen this issue. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] traceback on startup from a wsgi server
I run a zope3 checkout from a wsgi server setup. On a new checkout i recently experienced a problem on startup, here is a - not very usefull - traceback, but thats all i got ... console--- [EMAIL PROTECTED]:~/Zope3$ python2.4 start_wsgi.py Test-module import failures: Module: zope.testbrowser.tests Traceback (most recent call last): File "/home/d2m/Zope3/src/zope/testbrowser/tests.py", line 27, in ? from zope.testbrowser import browser ImportError: cannot import name browser Running unit tests: <...> Basically whats happening is that, while reading src/zope/app/apidoc/bookmodule/book.zcml the Exception is thrown in ... and for some reason unittests are executed... Uncommenting the configure directive solves the problem. This behavior is not observed when starting from bin/runzope though. For completeness my startup script is detailed here: http://blog.d2m.at/2006/09/23/zope3-and-wsgi-integration/ and here: http://trac.d2m.at/d2m/browser/Zope3/zope3wsgi/ Do you see a way to solve the problem except from commenting the directive ? Michael -- http://zope.org/Members/d2m http://planetzope.org ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users