[Grok-dev] grok 0.12 error

Lacko Roman rlacko at gratex.com
Wed Apr 23 11:01:41 EDT 2008


Hi,
I'm trying new grok version 0.12.
Using python 2.5.2 on Windows XP.
Created new environment using virtualenv 1.0
Installed grokproject 0.7
Running grokproject...
After trying to start zope (bin\zopectl fg)...

<copy-paste from console:>
d:\src\klucsiteenv\buildout-eggs\zope.configuration-3.4.0-py2.5.egg\zope\configuration\config.py:182: DeprecationWarning: the gopherlib module is deprecated
  mod = __import__(mname, *_import_chickens)
Traceback (most recent call last):
  File "D:\src\KlucSiteEnv\KlucSite\parts\app\runzope-script.py", line 125, in <module>
    zope.app.twisted.main.main()
  File "d:\src\klucsiteenv\buildout-eggs\tmpdqia8b\zope.app.twisted-3.4.0a1-py2.5.egg\zope\app\twisted\main.py", line 74, in main
  File "d:\src\klucsiteenv\buildout-eggs\tmpdqia8b\zope.app.twisted-3.4.0a1-py2.5.egg\zope\app\twisted\main.py", line 145, in setup
  File "d:\src\klucsiteenv\buildout-eggs\tmpmrjjqg\zope.app.appsetup-3.4.1-py2.5.egg\zope\app\appsetup\appsetup.py", line 111, in config
  File "d:\src\klucsiteenv\buildout-eggs\tmpf5ganh\zope.configuration-3.4.0-py2.5.egg\zope\configuration\xmlconfig.py", line 612, in file
  File "d:\src\klucsiteenv\buildout-eggs\tmpf5ganh\zope.configuration-3.4.0-py2.5.egg\zope\configuration\config.py", line 604, in execute_actions
  File "d:\src\klucsiteenv\buildout-eggs\tmpf5ganh\zope.configuration-3.4.0-py2.5.egg\zope\configuration\config.py", line 1511, in resolveConflicts
zope.configuration.config.ConfigurationConflictError: Conflicting configuration actions
  For: ('adapter', (<InterfaceClass zope.schema.interfaces.IDate>, <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>), <InterfaceClass zope.app.form.interfaces.IDisplayWidget>, '')
    File "d:\src\klucsiteenv\buildout-eggs\zope.app.form-3.4.0b2-py2.5.egg\zope\app\form\browser\configure.zcml", line 97.2-103.8
        <adapter
            for="zope.schema.interfaces.IDate
                 zope.publisher.interfaces.browser.IBrowserRequest"
            provides="zope.app.form.interfaces.IDisplayWidget"
            factory=".DateDisplayWidget"
            permission="zope.Public"
            />
    File "d:\src\klucsiteenv\buildout-eggs\zc.datetimewidget-0.5.2-py2.5.egg\zc\datetimewidget\overrides.zcml", line 28.2-34.8
        <adapter
            for="zope.schema.interfaces.IDate
                 zope.publisher.interfaces.browser.IBrowserRequest"
            provides="zope.app.form.interfaces.IDisplayWidget"
            factory=".datetimewidget.DateDisplayWidget"
            permission="zope.Public"
            />
  For: ('adapter', (<InterfaceClass zope.schema.interfaces.IDate>, <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>), <InterfaceClass zope.app.form.browser.interfaces.ISimpleInputWidget>, '')
    File "d:\src\klucsiteenv\buildout-eggs\zope.app.form-3.4.0b2-py2.5.egg\zope\app\form\browser\configure.zcml", line 227.2-233.8
        <adapter
            for="zope.schema.interfaces.IDate
                 zope.publisher.interfaces.browser.IBrowserRequest"
            provides="zope.app.form.browser.interfaces.ISimpleInputWidget"
            factory=".DateWidget"
            permission="zope.Public"
            />
    File "d:\src\klucsiteenv\buildout-eggs\zc.datetimewidget-0.5.2-py2.5.egg\zc\datetimewidget\overrides.zcml", line 12.2-18.8
        <adapter
            for="zope.schema.interfaces.IDate
                 zope.publisher.interfaces.browser.IBrowserRequest"
            provides="zope.app.form.browser.interfaces.ISimpleInputWidget"
            factory=".datetimewidget.DateWidget"
            permission="zope.Public"
            />
  For: ('adapter', (<InterfaceClass zope.schema.interfaces.IDatetime>, <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>), <InterfaceClass zope.app.form.interfaces.IDisplayWidget>, '')
    File "d:\src\klucsiteenv\buildout-eggs\zope.app.form-3.4.0b2-py2.5.egg\zope\app\form\browser\configure.zcml", line 105.2-111.8
        <adapter
            for="zope.schema.interfaces.IDatetime
                 zope.publisher.interfaces.browser.IBrowserRequest"
            provides="zope.app.form.interfaces.IDisplayWidget"
            factory=".DatetimeDisplayWidget"
            permission="zope.Public"
            />
    File "d:\src\klucsiteenv\buildout-eggs\zc.datetimewidget-0.5.2-py2.5.egg\zc\datetimewidget\overrides.zcml", line 20.2-26.8
        <adapter
            for="zope.schema.interfaces.IDatetime
                 zope.publisher.interfaces.browser.IBrowserRequest"
            provides="zope.app.form.interfaces.IDisplayWidget"
            factory=".datetimewidget.DatetimeDisplayWidget"
            permission="zope.Public"
            />
  For: ('adapter', (<InterfaceClass zope.schema.interfaces.IDatetime>, <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>), <InterfaceClass zope.app.form.browser.interfaces.ISimpleInputWidget>, '')
    File "d:\src\klucsiteenv\buildout-eggs\zope.app.form-3.4.0b2-py2.5.egg\zope\app\form\browser\configure.zcml", line 219.2-225.8
        <adapter
            for="zope.schema.interfaces.IDatetime
                 zope.publisher.interfaces.browser.IBrowserRequest"
            provides="zope.app.form.browser.interfaces.ISimpleInputWidget"
            factory=".DatetimeWidget"
            permission="zope.Public"
            />
    File "d:\src\klucsiteenv\buildout-eggs\zc.datetimewidget-0.5.2-py2.5.egg\zc\datetimewidget\overrides.zcml", line 4.2-10.8
        <adapter
            for="zope.schema.interfaces.IDatetime
                 zope.publisher.interfaces.browser.IBrowserRequest"
            provides="zope.app.form.browser.interfaces.ISimpleInputWidget"
            factory=".datetimewidget.DatetimeWidget"
            permission="zope.Public"
            />
Zope3 started in forground:  D:\src\KlucSiteEnv\KlucSite\parts\app\runzope -C D:\src\KlucSiteEnv\KlucSite\parts\zopectl\zope.conf

But When I removed zcml instruction "<includeDependencies package="." />"
from src\klucsite\configure.zcml Zope started successfully

Sorri for this late error report.

- Roman Lacko



More information about the Grok-dev mailing list