zope2 2.12 installation on Windows 7
Hi everybody, I'm having some problems when I have to run a zope2 2.12 instance. Here are the steps: 1. fresh install of Python 2.6.3 - python-2.6.3.msi 2. install pywin - pywin32-214.win32-py2.6.exe 3. install setup tools - setuptools-0.6c11.win32-py2.6.exe 4. install Zope2 using easy_install from egg - Zope2-2.12.0-py2.6-win32.egg 5. create a new instance using mkzopeinstance.exe Until here, everything worked great. Now , I modify the zope.conf to turn the debug on and try to run the created instance. Here is the error that I receive: D:\ZopeFarms\212_services\bin>"D:\PythonFarms\Python263\Scripts\runzope" -C "D:\ ZopeFarms\212_services\etc\zope.conf" 2010-09-08 13:39:29 INFO ZServer HTTP server started at Wed Sep 08 13:39:29 2010 Hostname: dragosh Port: 8012 2010-09-08 13:39:32 ERROR Application Couldn't install Five Traceback (most recent call last): File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\ OFS\Application.py", line 671, in install_product initmethod(context) File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\ Products\Five\__init__.py", line 31, in initialize zcml.load_site() File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\ Products\Five\zcml.py", line 51, in load_site _context = xmlconfig.file(file) File "D:\PythonFarms\Python263\lib\site-packages\zope.configuration-3.7.2-py2. 6.egg\zope\configuration\xmlconfig.py", line 653, in file context.execute_actions() File "D:\PythonFarms\Python263\lib\site-packages\zope.configuration-3.7.2-py2. 6.egg\zope\configuration\config.py", line 600, in execute_actions for action in resolveConflicts(self.actions): File "D:\PythonFarms\Python263\lib\site-packages\zope.configuration-3.7.2-py2. 6.egg\zope\configuration\config.py", line 1507, in resolveConflicts raise ConfigurationConflictError(conflicts) ConfigurationConflictError: Conflicting configuration actions For: ('adapter', (<InterfaceClass zope.formlib.interfaces.IAction>,), <Interfa ceClass zope.browserpage.namedtemplate.INamedTemplate>, u'render') File "D:\PythonFarms\Python263\lib\site-packages\ zope.formlib-4.0.4-py2.6.eg g\zope\formlib\configure.zcml", line 19.2-19.64 <adapter factory=".form.render_submit_button" name="render" /> File "D:\PythonFarms\Python263\lib\site-packages\ zope2-2.12.0-py2.6-win32.eg g\Products\Five\formlib\configure.zcml", line 6.2-9.8 <adapter factory=".form.render_submit_button" name="render" /> For: ('adapter', (<class 'zope.interface.exceptions.Invalid'>, <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>), <InterfaceClass zope.forml ib.interfaces.IWidgetInputErrorView>, '') File "D:\PythonFarms\Python263\lib\site-packages\ zope.formlib-4.0.4-py2.6.eg g\zope\formlib\configure.zcml", line 22.2-25.8 <adapter factory=".errors.InvalidErrorView" permission="zope.Public" /> File "D:\PythonFarms\Python263\lib\site-packages\ zope2-2.12.0-py2.6-win32.eg g\Products\Five\formlib\configure.zcml", line 12.2-17.8 <adapter for="zope.interface.Invalid zope.publisher.interfaces.browser.IBrowserRequest" factory=".errors.InvalidErrorView" permission="zope.Public" /> Traceback (most recent call last): File "D:\PythonFarms\Python263\Scripts\runzope-script.py", line 8, in <module> load_entry_point('Zope2==2.12.0', 'console_scripts', 'runzope')() File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\ Zope2\Startup\run.py", line 21, in run starter.prepare() File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\ Zope2\Startup\__init__.py", line 87, in prepare self.startZope() File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\ Zope2\Startup\__init__.py", line 264, in startZope Zope2.startup() File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\ Zope2\__init__.py", line 47, in startup _startup() File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\ Zope2\App\startup.py", line 117, in startup OFS.Application.initialize(application) File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\ OFS\Application.py", line 251, in initialize initializer.initialize() File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\ OFS\Application.py", line 279, in initialize self.install_products() File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\ OFS\Application.py", line 492, in install_products return install_products(app) File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\ OFS\Application.py", line 523, in install_products folder_permissions, raise_exc=debug_mode) File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\ OFS\Application.py", line 671, in install_product initmethod(context) File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\ Products\Five\__init__.py", line 31, in initialize zcml.load_site() File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\ Products\Five\zcml.py", line 51, in load_site _context = xmlconfig.file(file) File "D:\PythonFarms\Python263\lib\site-packages\zope.configuration-3.7.2-py2. 6.egg\zope\configuration\xmlconfig.py", line 653, in file context.execute_actions() File "D:\PythonFarms\Python263\lib\site-packages\zope.configuration-3.7.2-py2. 6.egg\zope\configuration\config.py", line 600, in execute_actions for action in resolveConflicts(self.actions): File "D:\PythonFarms\Python263\lib\site-packages\zope.configuration-3.7.2-py2. 6.egg\zope\configuration\config.py", line 1507, in resolveConflicts raise ConfigurationConflictError(conflicts) zope.configuration.config.ConfigurationConflictError: Conflicting configuration actions For: ('adapter', (<InterfaceClass zope.formlib.interfaces.IAction>,), <Interfa ceClass zope.browserpage.namedtemplate.INamedTemplate>, u'render') File "D:\PythonFarms\Python263\lib\site-packages\ zope.formlib-4.0.4-py2.6.eg g\zope\formlib\configure.zcml", line 19.2-19.64 <adapter factory=".form.render_submit_button" name="render" /> File "D:\PythonFarms\Python263\lib\site-packages\ zope2-2.12.0-py2.6-win32.eg g\Products\Five\formlib\configure.zcml", line 6.2-9.8 <adapter factory=".form.render_submit_button" name="render" /> For: ('adapter', (<class 'zope.interface.exceptions.Invalid'>, <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>), <InterfaceClass zope.forml ib.interfaces.IWidgetInputErrorView>, '') File "D:\PythonFarms\Python263\lib\site-packages\ zope.formlib-4.0.4-py2.6.eg g\zope\formlib\configure.zcml", line 22.2-25.8 <adapter factory=".errors.InvalidErrorView" permission="zope.Public" /> File "D:\PythonFarms\Python263\lib\site-packages\ zope2-2.12.0-py2.6-win32.eg g\Products\Five\formlib\configure.zcml", line 12.2-17.8 <adapter for="zope.interface.Invalid zope.publisher.interfaces.browser.IBrowserRequest" factory=".errors.InvalidErrorView" permission="zope.Public" /> I took the above steps twice, second time after removing everything and still got the same error. I do not install any additional zope product or python package, just using the zope2 installation. I will appreciate any hints or ideas on this problem. Thank you very much, Dragos -- Dragos Chirila objectValues@gmail.com (+4) 0722 395375
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dragos Chirila wrote:
Hi everybody,
I'm having some problems when I have to run a zope2 2.12 instance. Here are the steps:
1. fresh install of Python 2.6.3 - python-2.6.3.msi 2. install pywin - pywin32-214.win32-py2.6.exe 3. install setup tools - setuptools-0.6c11.win32-py2.6.exe 4. install Zope2 using easy_install from egg - Zope2-2.12.0-py2.6-win32.egg 5. create a new instance using mkzopeinstance.exe
Until here, everything worked great. Now , I modify the zope.conf to turn the debug on and try to run the created instance. Here is the error that I receive:
<snip>
I took the above steps twice, second time after removing everything and still got the same error. I do not install any additional zope product or python package, just using the zope2 installation.
I will appreciate any hints or ideas on this problem.
Your traceback shows conflicting ZCML registrations between the version of zope.formlib you are using (4.0.4, very recent) and the version of Zope2 you are using (2.12.0, much older). Please try updating to the latest version of Zope2 (2.12.10), which pins the zope.formlib dependency to version 3.7.0. E.g.: bin\easy_install -U Zope2 You may need to remove the zope.formlib 4.0.4 egg first. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkyHdSoACgkQ+gerLs4ltQ7dQACeMi/lnLrOFBUnuEvKKQkVC+UH RSMAn00W+A3iQZCpKn99hLAsDzFKmAKv =X4x9 -----END PGP SIGNATURE-----
Hi Tres, I have upgraded to 2.12.10 and everything works great! Thank you very much, Dragos On Wed, Sep 8, 2010 at 2:36 PM, Tres Seaver <tseaver@palladion.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Dragos Chirila wrote:
Hi everybody,
I'm having some problems when I have to run a zope2 2.12 instance. Here are the steps:
1. fresh install of Python 2.6.3 - python-2.6.3.msi 2. install pywin - pywin32-214.win32-py2.6.exe 3. install setup tools - setuptools-0.6c11.win32-py2.6.exe 4. install Zope2 using easy_install from egg - Zope2-2.12.0-py2.6-win32.egg 5. create a new instance using mkzopeinstance.exe
Until here, everything worked great. Now , I modify the zope.conf to turn the debug on and try to run the created instance. Here is the error that I receive:
<snip>
I took the above steps twice, second time after removing everything and still got the same error. I do not install any additional zope product or python package, just using the zope2 installation.
I will appreciate any hints or ideas on this problem.
Your traceback shows conflicting ZCML registrations between the version of zope.formlib you are using (4.0.4, very recent) and the version of Zope2 you are using (2.12.0, much older). Please try updating to the latest version of Zope2 (2.12.10), which pins the zope.formlib dependency to version 3.7.0. E.g.:
bin\easy_install -U Zope2
You may need to remove the zope.formlib 4.0.4 egg first.
Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkyHdSoACgkQ+gerLs4ltQ7dQACeMi/lnLrOFBUnuEvKKQkVC+UH RSMAn00W+A3iQZCpKn99hLAsDzFKmAKv =X4x9 -----END PGP 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 )
-- Dragos Chirila objectValues@gmail.com (+4) 0722 395375
participants (2)
-
Dragos Chirila -
Tres Seaver