Re: [Zope] Running Tests on my Zope Product in Zope 2.13
Le 14/04/2011 15:49, Sascha Welter a écrit : Hello again Zopistas! While I am on the topic of Zope 2.13, could someone please tell me how I can run my tests on my (old style, not egg) Zope Products in Zope 2.13? It seems that `zopectl test` went away without leaving more than a note on the tab^W^W^Win the CHANGES.txt log: Removed the test command from zopectl. The test.py script it was Eggify your product and use zc.recipe.testrunner [1] [1] - http://pypi.python.org/pypi/zc.recipe.testrunner relying on does no longer exist. So, how do I run my tests now? Thanks for any hints! Regards, Sascha -- Cordialement, kiorky GPG Fingerprint: ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Very odd reverse proxy problem . [nginx - win32 zope]
The things: * I have a nginx handmade compiled under the hood * I have an official zope+plone installation on native windows * I have a django based application inside the cygwin * I have a tomcat+cas installation on native windows All of that seem to be configured correctly. What i want to do is to make my nginx a reverse proxy of the 3 others applications. Because of some other application needs (wsgi served with flup/socket) i need that nginx to live inside the cygwin installation. That's not my concern afterall :). The nginx works well for static contents and as the the django and tomcat installations reverse proxy. Here come problems with zope+plone. If i hit my http://url/plone (nginx mapped point to the plone install as http reverse proxy), the first request (get /) pass, but the other stall as 206 partial content and are very long to be satisfied. The browser seems to be blocked on some read() call. I tried a bunch of things nginx side (use epoll, use select, tweak proxy parameters, stop proxy buffering, set timeouts, set retrys and so on) but i have not found the right configuration if it is there. But where it is very strange is that if i make an ssh tunnel from localhost:80 to prod_machine:localhost:80, then make some entry into my /etc/hosts to fake the dns name. Then browse to http://myurl/plone, no problem, i have the content, and all http request are satisfied (js co.). I really don't know how to debug that, can it be because the request enter from cygwin, go out to windows re enter cygwin and go for the client? The fact that throught the ssh tunnel, when i hit the nginx server on my plone install (like as normal, i dont hit plone but nginx) work perfectly lives me without words. Other strange thing is that the CAS application, also http reverse proxified work like a charm. Other thing is that if i use the windows nginx binary from nginx website, with equal configuration, it works. The only thing is nginx running out of cygwin stack and compiled for win32. If someone has some suggestions -- Cordialement, KiOrKY GPG Key FingerPrint: 0x1A1194B7681112AF signature.asc Description: OpenPGP digital signature ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope-dev] Zope 2.12.0a4 easy_installable - please test
Andreas Jung a écrit : Am 24.04.2009 um 11:40 schrieb Michael Haubenwallner: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: I just created a new Zope 2.12.0a4 that should easy_install nicely. Howto? virtualenv foo cd foo source bin/activate bin/easy_install -i http://download.zope.org/Zope2/index/2.12.0a4 Zope2 Please give feedback. Works for me - thanks! Btw, how to add (now eggified) products - like Products.CMF* - to that release? bin/easy_install Products.CMFCore? Andreas ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope ) The installation of both zope and CMFCore is fine for me. But, don't know if the following trace is normal: (foo)kio...@judith ~/tmp/toto/foo $ ./bin/mkzopeinstance --help Traceback (most recent call last): File ./bin/mkzopeinstance, line 8, in module load_entry_point('Zope2==2.12.0a4', 'console_scripts', 'mkzopeinstance')() File /usr/lib/python2.5/site-packages/pkg_resources.py, line 277, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File /usr/lib/python2.5/site-packages/pkg_resources.py, line 2180, in load_entry_point return ep.load() File /usr/lib/python2.5/site-packages/pkg_resources.py, line 1913, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File /home/kiorky/tmp/toto/foo/lib/python2.5/site-packages/Zope2-2.12.0a4-py2.5-linux-i686.egg/Zope2/__init__.py, line 60, in module from Zope2.Startup.run import configure File /home/kiorky/tmp/toto/foo/lib/python2.5/site-packages/Zope2-2.12.0a4-py2.5-linux-i686.egg/Zope2/Startup/__init__.py, line 34, in module from zope.app import appsetup File /home/kiorky/tmp/toto/foo/lib/python2.5/site-packages/zope.app.appsetup-3.9.0-py2.5.egg/zope/app/appsetup/__init__.py, line 22, in module from zope.app.appsetup.appsetup import config, database File /home/kiorky/tmp/toto/foo/lib/python2.5/site-packages/zope.app.appsetup-3.9.0-py2.5.egg/zope/app/appsetup/appsetup.py, line 24, in module import zope.site.hooks File /home/kiorky/tmp/toto/foo/lib/python2.5/site-packages/zope.site-3.6.1-py2.5.egg/zope/site/__init__.py, line 19, in module from zope.site.site import (SiteManagerContainer, SiteManagementFolder, File /home/kiorky/tmp/toto/foo/lib/python2.5/site-packages/zope.site-3.6.1-py2.5.egg/zope/site/site.py, line 31, in module import zope.component.persistentregistry File /home/kiorky/tmp/toto/foo/lib/python2.5/site-packages/zope.component-3.4.0-py2.5.egg/zope/component/persistentregistry.py, line 25, in module zope.interface.adapter.VerifyingAdapterRegistry, AttributeError: 'module' object has no attribute 'VerifyingAdapterRegistry' -- -- Cordialement, KiOrKY GPG Key FingerPrint: 0x1A1194B7681112AF signature.asc Description: OpenPGP digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.12.0a4 easy_installable - please test
Sorry for the noise, i missed the --no-site-packages knob and got some packages interferences. Modify your how to :) Nevertheless, it's definitivly running fine there, congrats! Andreas Jung a écrit : I can not reproduce that. Andreas Am 24.04.2009 um 13:29 schrieb kiorky: Andreas Jung a écrit : Am 24.04.2009 um 11:40 schrieb Michael Haubenwallner: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: I just created a new Zope 2.12.0a4 that should easy_install nicely. Howto? virtualenv foo cd foo source bin/activate bin/easy_install -i http://download.zope.org/Zope2/index/2.12.0a4 Zope2 Please give feedback. Works for me - thanks! Btw, how to add (now eggified) products - like Products.CMF* - to that release? bin/easy_install Products.CMFCore? Andreas ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope ) The installation of both zope and CMFCore is fine for me. But, don't know if the following trace is normal: (foo)kio...@judith ~/tmp/toto/foo $ ./bin/mkzopeinstance --help Traceback (most recent call last): File ./bin/mkzopeinstance, line 8, in module load_entry_point('Zope2==2.12.0a4', 'console_scripts', 'mkzopeinstance')() File /usr/lib/python2.5/site-packages/pkg_resources.py, line 277, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File /usr/lib/python2.5/site-packages/pkg_resources.py, line 2180, in load_entry_point return ep.load() File /usr/lib/python2.5/site-packages/pkg_resources.py, line 1913, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File /home/kiorky/tmp/toto/foo/lib/python2.5/site-packages/Zope2-2.12.0a4-py2.5-linux-i686.egg/Zope2/__init__.py, line 60, in module from Zope2.Startup.run import configure File /home/kiorky/tmp/toto/foo/lib/python2.5/site-packages/Zope2-2.12.0a4-py2.5-linux-i686.egg/Zope2/Startup/__init__.py, line 34, in module from zope.app import appsetup File /home/kiorky/tmp/toto/foo/lib/python2.5/site-packages/zope.app.appsetup-3.9.0-py2.5.egg/zope/app/appsetup/__init__.py, line 22, in module from zope.app.appsetup.appsetup import config, database File /home/kiorky/tmp/toto/foo/lib/python2.5/site-packages/zope.app.appsetup-3.9.0-py2.5.egg/zope/app/appsetup/appsetup.py, line 24, in module import zope.site.hooks File /home/kiorky/tmp/toto/foo/lib/python2.5/site-packages/zope.site-3.6.1-py2.5.egg/zope/site/__init__.py, line 19, in module from zope.site.site import (SiteManagerContainer, SiteManagementFolder, File /home/kiorky/tmp/toto/foo/lib/python2.5/site-packages/zope.site-3.6.1-py2.5.egg/zope/site/site.py, line 31, in module import zope.component.persistentregistry File /home/kiorky/tmp/toto/foo/lib/python2.5/site-packages/zope.component-3.4.0-py2.5.egg/zope/component/persistentregistry.py, line 25, in module zope.interface.adapter.VerifyingAdapterRegistry, AttributeError: 'module' object has no attribute 'VerifyingAdapterRegistry' -- -- Cordialement, KiOrKY GPG Key FingerPrint: 0x1A1194B7681112AF Mit freundlichen Grüßen/Kind regards, Andreas Jung --- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: i...@zopyx.com - Phone +49 - 7071 - 793376 Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535 Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK E-Publishing, Python, Zope Plone development, Consulting -- -- Cordialement, KiOrKY GPG Key FingerPrint: 0x1A1194B7681112AF signature.asc Description: OpenPGP digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )