Hi everybody,<br><br>I'm having some problems when I have to run a zope2 2.12 instance. Here are the steps:<br><br>1. fresh install of Python 2.6.3 - python-2.6.3.msi<br>2. install pywin - pywin32-214.win32-py2.6.exe<br>
3. install setup tools - setuptools-0.6c11.win32-py2.6.exe<br clear="all">4. install Zope2 using easy_install from egg - Zope2-2.12.0-py2.6-win32.egg<br>5. create a new instance using mkzopeinstance.exe<br><br>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:<br>
<br>D:\ZopeFarms\212_services\bin>"D:\PythonFarms\Python263\Scripts\runzope" -C "D:\<br>ZopeFarms\212_services\etc\zope.conf"<br>2010-09-08 13:39:29 INFO ZServer HTTP server started at Wed Sep 08 13:39:29 2010<br>
<br> Hostname: dragosh<br> Port: 8012<br>2010-09-08 13:39:32 ERROR Application Couldn't install Five<br>Traceback (most recent call last):<br> File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\<br>
OFS\Application.py", line 671, in install_product<br> initmethod(context)<br> File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\<br>Products\Five\__init__.py", line 31, in initialize<br>
zcml.load_site()<br> File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\<br>Products\Five\zcml.py", line 51, in load_site<br> _context = xmlconfig.file(file)<br> File "D:\PythonFarms\Python263\lib\site-packages\zope.configuration-3.7.2-py2.<br>
6.egg\zope\configuration\xmlconfig.py", line 653, in file<br> context.execute_actions()<br> File "D:\PythonFarms\Python263\lib\site-packages\zope.configuration-3.7.2-py2.<br>6.egg\zope\configuration\config.py", line 600, in execute_actions<br>
for action in resolveConflicts(self.actions):<br> File "D:\PythonFarms\Python263\lib\site-packages\zope.configuration-3.7.2-py2.<br>6.egg\zope\configuration\config.py", line 1507, in resolveConflicts<br> raise ConfigurationConflictError(conflicts)<br>
ConfigurationConflictError: Conflicting configuration actions<br> For: ('adapter', (<InterfaceClass zope.formlib.interfaces.IAction>,), <Interfa<br>ceClass zope.browserpage.namedtemplate.INamedTemplate>, u'render')<br>
File "D:\PythonFarms\Python263\lib\site-packages\<a href="http://zope.formlib-4.0.4-py2.6.eg">zope.formlib-4.0.4-py2.6.eg</a><br>g\zope\formlib\configure.zcml", line 19.2-19.64<br> <adapter factory=".form.render_submit_button" name="render" /><br>
File "D:\PythonFarms\Python263\lib\site-packages\<a href="http://zope2-2.12.0-py2.6-win32.eg">zope2-2.12.0-py2.6-win32.eg</a><br>g\Products\Five\formlib\configure.zcml", line 6.2-9.8<br> <adapter<br>
factory=".form.render_submit_button"<br> name="render"<br> /><br> For: ('adapter', (<class 'zope.interface.exceptions.Invalid'>, <InterfaceClass<br>
zope.publisher.interfaces.browser.IBrowserRequest>), <InterfaceClass zope.forml<br>ib.interfaces.IWidgetInputErrorView>, '')<br> File "D:\PythonFarms\Python263\lib\site-packages\<a href="http://zope.formlib-4.0.4-py2.6.eg">zope.formlib-4.0.4-py2.6.eg</a><br>
g\zope\formlib\configure.zcml", line 22.2-25.8<br> <adapter<br> factory=".errors.InvalidErrorView"<br> permission="zope.Public"<br> /><br> File "D:\PythonFarms\Python263\lib\site-packages\<a href="http://zope2-2.12.0-py2.6-win32.eg">zope2-2.12.0-py2.6-win32.eg</a><br>
g\Products\Five\formlib\configure.zcml", line 12.2-17.8<br> <adapter<br> for="zope.interface.Invalid<br> zope.publisher.interfaces.browser.IBrowserRequest"<br> factory=".errors.InvalidErrorView"<br>
permission="zope.Public"<br> /><br>Traceback (most recent call last):<br> File "D:\PythonFarms\Python263\Scripts\runzope-script.py", line 8, in <module><br><br> load_entry_point('Zope2==2.12.0', 'console_scripts', 'runzope')()<br>
File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\<br>Zope2\Startup\run.py", line 21, in run<br> starter.prepare()<br> File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\<br>
Zope2\Startup\__init__.py", line 87, in prepare<br> self.startZope()<br> File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\<br>Zope2\Startup\__init__.py", line 264, in startZope<br>
Zope2.startup()<br> File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\<br>Zope2\__init__.py", line 47, in startup<br> _startup()<br> File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\<br>
Zope2\App\startup.py", line 117, in startup<br> OFS.Application.initialize(application)<br> File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\<br>OFS\Application.py", line 251, in initialize<br>
initializer.initialize()<br> File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\<br>OFS\Application.py", line 279, in initialize<br> self.install_products()<br> File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\<br>
OFS\Application.py", line 492, in install_products<br> return install_products(app)<br> File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\<br>OFS\Application.py", line 523, in install_products<br>
folder_permissions, raise_exc=debug_mode)<br> File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\<br>OFS\Application.py", line 671, in install_product<br> initmethod(context)<br>
File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\<br>Products\Five\__init__.py", line 31, in initialize<br> zcml.load_site()<br> File "D:\PythonFarms\Python263\lib\site-packages\zope2-2.12.0-py2.6-win32.egg\<br>
Products\Five\zcml.py", line 51, in load_site<br> _context = xmlconfig.file(file)<br> File "D:\PythonFarms\Python263\lib\site-packages\zope.configuration-3.7.2-py2.<br>6.egg\zope\configuration\xmlconfig.py", line 653, in file<br>
context.execute_actions()<br> File "D:\PythonFarms\Python263\lib\site-packages\zope.configuration-3.7.2-py2.<br>6.egg\zope\configuration\config.py", line 600, in execute_actions<br> for action in resolveConflicts(self.actions):<br>
File "D:\PythonFarms\Python263\lib\site-packages\zope.configuration-3.7.2-py2.<br>6.egg\zope\configuration\config.py", line 1507, in resolveConflicts<br> raise ConfigurationConflictError(conflicts)<br>zope.configuration.config.ConfigurationConflictError: Conflicting configuration<br>
actions<br> For: ('adapter', (<InterfaceClass zope.formlib.interfaces.IAction>,), <Interfa<br>ceClass zope.browserpage.namedtemplate.INamedTemplate>, u'render')<br> File "D:\PythonFarms\Python263\lib\site-packages\<a href="http://zope.formlib-4.0.4-py2.6.eg">zope.formlib-4.0.4-py2.6.eg</a><br>
g\zope\formlib\configure.zcml", line 19.2-19.64<br> <adapter factory=".form.render_submit_button" name="render" /><br> File "D:\PythonFarms\Python263\lib\site-packages\<a href="http://zope2-2.12.0-py2.6-win32.eg">zope2-2.12.0-py2.6-win32.eg</a><br>
g\Products\Five\formlib\configure.zcml", line 6.2-9.8<br> <adapter<br> factory=".form.render_submit_button"<br> name="render"<br> /><br> For: ('adapter', (<class 'zope.interface.exceptions.Invalid'>, <InterfaceClass<br>
zope.publisher.interfaces.browser.IBrowserRequest>), <InterfaceClass zope.forml<br>ib.interfaces.IWidgetInputErrorView>, '')<br> File "D:\PythonFarms\Python263\lib\site-packages\<a href="http://zope.formlib-4.0.4-py2.6.eg">zope.formlib-4.0.4-py2.6.eg</a><br>
g\zope\formlib\configure.zcml", line 22.2-25.8<br> <adapter<br> factory=".errors.InvalidErrorView"<br> permission="zope.Public"<br> /><br> File "D:\PythonFarms\Python263\lib\site-packages\<a href="http://zope2-2.12.0-py2.6-win32.eg">zope2-2.12.0-py2.6-win32.eg</a><br>
g\Products\Five\formlib\configure.zcml", line 12.2-17.8<br> <adapter<br> for="zope.interface.Invalid<br> zope.publisher.interfaces.browser.IBrowserRequest"<br> factory=".errors.InvalidErrorView"<br>
permission="zope.Public"<br> /><br><br><br>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.<br>
<br>I will appreciate any hints or ideas on this problem.<br><br>Thank you very much,<br>Dragos<br><br><br>-- <br>Dragos Chirila<br><a href="mailto:objectValues@gmail.com">objectValues@gmail.com</a><br>(+4) 0722 395375<br>
<br>
<div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>