[Zope] zope2 2.12 installation on Windows 7

Dragos Chirila objectvalues at gmail.com
Wed Sep 8 06:54:06 EDT 2010


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 at gmail.com
(+4) 0722 395375
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20100908/24c6fbf4/attachment.html 


More information about the Zope mailing list