[CPS-users] CalZope and Zope .9.4

Thomas Weiner weiner at tu-harburg.de
Tue Feb 27 10:46:48 CET 2007


Thomas Weiner schrieb:
> Lennart Regebro schrieb:

[...]
>> Hmm. What version of Five are you using?
>>
> 
> Five 1.3.6
> 
> Should I upgrade?

Five 1.4.2 doesn't work with Zope 2.9.4, therefore I tried Zope 2.9.6.

I could install CalZope but again after restarting Zope Errors occured 
(with Five 1.3.8, same error with Five 1.4.2):

2007-02-27T10:25:51 INFO ZServer HTTP server started at Tue Feb 27 
10:25:51 2007
	Hostname: piano
	Port: 9080
------
2007-02-27T10:25:52 WARNING ZODB Could not import class 'DummySite' from 
module 'Products.Five.site.tests.dummy'
------
2007-02-27T10:25:54 INFO Zope Ready to handle requests
------
2007-02-27T10:26:01 ERROR BeforeTraverse Error while invoking hook: 
"__local_site_hook__"
Traceback (most recent call last):
   File "C:\Zope\2.9.6\Zope\lib\python\ZPublisher\BeforeTraverse.py", 
line 145, in __call__
     meth(*(container, request, None)[:args])
   File "C:\Zope\2.9.6\Zope\lib\python\Products\Five\site\localsite.py", 
line 59, in __call__
     notify(BeforeTraverseEvent(container, request))
   File "C:\Zope\2.9.6\Zope\lib\python\zope\event\__init__.py", line 23, 
in notify
     subscriber(event)
   File "C:\Zope\2.9.6\Zope\lib\python\zope\app\event\dispatching.py", 
line 66, in dispatch
     for ignored in subscribers(event, None):
   File "C:\Zope\2.9.6\Zope\lib\python\zope\component\__init__.py", line 
181, in subscribers
     return sitemanager.subscribers(objects, interface)
   File "C:\Zope\2.9.6\Zope\lib\python\zope\component\site.py", line 89, 
in subscribers
     return self.adapters.subscribers(required, provided)
   File "C:\Zope\2.9.6\Zope\lib\python\zope\interface\adapter.py", line 
481, in subscribers
     subscribers = [subscription(*objects)
   File "C:\Zope\2.9.6\Zope\lib\python\zope\app\event\objectevent.py", 
line 192, in objectEventNotify
     adapters = subscribers((event.object, event), None)
   File "C:\Zope\2.9.6\Zope\lib\python\zope\component\__init__.py", line 
181, in subscribers
     return sitemanager.subscribers(objects, interface)
   File "C:\Zope\2.9.6\Zope\lib\python\zope\component\site.py", line 89, 
in subscribers
     return self.adapters.subscribers(required, provided)
   File "C:\Zope\2.9.6\Zope\lib\python\zope\interface\adapter.py", line 
481, in subscribers
     subscribers = [subscription(*objects)
   File "C:\Zope\2.9.6\Zope\lib\python\zope\app\component\site.py", line 
307, in threadSiteSubscriber
     setSite(ob)
   File "C:\Zope\2.9.6\Zope\lib\python\zope\app\component\hooks.py", 
line 61, in setSite
     sm = site.getSiteManager()
AttributeError: getSiteManager
------
2007-02-27T10:26:01 ERROR Zope.SiteErrorLog 
http://piano:9080/calendars/admin_cal/week/2007/9/week.html
Traceback (innermost last):
   Module ZPublisher.Publish, line 115, in publish
   Module ZPublisher.mapply, line 88, in mapply
   Module ZPublisher.Publish, line 41, in call_object
   Module Products.Five.browser.metaconfigure, line 397, in __call__
   Module Shared.DC.Scripts.Bindings, line 311, in __call__
   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
   Module Products.PageTemplates.PageTemplateFile, line 113, in _exec
   Module Products.PageTemplates.PageTemplate, line 104, in pt_render
    - <ImplicitAcquirerWrapper object at 0x02412150>
   Module TAL.TALInterpreter, line 238, in __call__
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 749, in do_useMacro
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 772, in do_defineSlot
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 457, in do_optTag_tal
   Module TAL.TALInterpreter, line 442, in do_optTag
   Module TAL.TALInterpreter, line 437, in no_tag
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 749, in do_useMacro
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 457, in do_optTag_tal
   Module TAL.TALInterpreter, line 442, in do_optTag
   Module TAL.TALInterpreter, line 437, in no_tag
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 647, in do_insertStructure_tal
   Module Products.PageTemplates.TALES, line 221, in evaluate
    - URL: index
    - Line 4, Column 6
    - Expression: standard:'view/calendar/@@event_header.html'
    - Names:
       {'container': <Week at /calendars/admin_cal/week/2007/9>,
        'context': <Week at /calendars/admin_cal/week/2007/9>,
        'default': <Products.PageTemplates.TALES.Default instance at 
0x014D1CB0>,
        'here': <Week at /calendars/admin_cal/week/2007/9>,
        'loop': <Products.PageTemplates.TALES.SafeMapping object at 
0x02415530>,
        'modules': 
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 
0x014AD238>,
        'nothing': None,
        'options': {'args': (<Products.Five.metaclass.SimpleViewClass 
from C:\Zope\Instance\2.9.6\Products\CalZope\browser\week.pt object at 
0x023E6FF0>,)},
        'repeat': <Products.PageTemplates.TALES.SafeMapping object at 
0x02415530>,
        'request': <HTTPRequest, 
URL=http://piano:9080/calendars/admin_cal/week/2007/9/week.html>,
        'root': <Application at >,
        'template': <ImplicitAcquirerWrapper object at 0x02412150>,
        'traverse_subpath': [],
        'user': <User 'admin'>,
        'view': <Products.Five.metaclass.SimpleViewClass from 
C:\Zope\Instance\2.9.6\Products\CalZope\browser\week.pt object at 
0x023E6FF0>,
        'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper 
object at 0x02412530>}
   Module Products.PageTemplates.Expressions, line 185, in __call__
   Module Products.PageTemplates.Expressions, line 180, in _eval
   Module Products.PageTemplates.Expressions, line 85, in render
   Module Products.Five.browser.metaconfigure, line 397, in __call__
   Module Shared.DC.Scripts.Bindings, line 311, in __call__
   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
   Module Products.PageTemplates.PageTemplateFile, line 113, in _exec
   Module Products.PageTemplates.PageTemplate, line 104, in pt_render
    - <ImplicitAcquirerWrapper object at 0x02412EF0>
   Module TAL.TALInterpreter, line 238, in __call__
   Module TAL.TALInterpreter, line 281, in interpret
   Module TAL.TALInterpreter, line 531, in do_insertText_tal
   Module Products.PageTemplates.TALES, line 227, in evaluateText
   Module Products.PageTemplates.TALES, line 221, in evaluate
    - URL: index
    - Line 1, Column 0
    - Expression: <PythonExpr view.getCalendar().getMainAttendee().title>
    - Names:
       {'container': <ImplicitAcquirerWrapper object at 0x024123B0>,
        'context': <ImplicitAcquirerWrapper object at 0x024123B0>,
        'default': <Products.PageTemplates.TALES.Default instance at 
0x014D1CB0>,
        'here': <ImplicitAcquirerWrapper object at 0x024123B0>,
        'loop': <Products.PageTemplates.TALES.SafeMapping object at 
0x0241E3A0>,
        'modules': 
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 
0x014AD238>,
        'nothing': None,
        'options': {'args': (<Products.Five.metaclass.SimpleViewClass 
from C:\Zope\Instance\2.9.6\Products\CalZope\browser\event_header.pt 
object at 0x02412BD0>,)},
        'repeat': <Products.PageTemplates.TALES.SafeMapping object at 
0x0241E3A0>,
        'request': <HTTPRequest, 
URL=http://piano:9080/calendars/admin_cal/week/2007/9/week.html>,
        'root': <Application at >,
        'template': <ImplicitAcquirerWrapper object at 0x02412EF0>,
        'traverse_subpath': [],
        'user': <User 'admin'>,
        'view': <Products.Five.metaclass.SimpleViewClass from 
C:\Zope\Instance\2.9.6\Products\CalZope\browser\event_header.pt object 
at 0x02412BD0>,
        'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper 
object at 0x02412490>}
   Module Products.PageTemplates.PythonExpr, line 70, in __call__
    - __traceback_info__: view.getCalendar().getMainAttendee().title
   Module <string>, line 2, in f
   Module calcore.cal, line 687, in getMainAttendee
   Module Products.CalZope.zopecal, line 244, in _getAttendeeSource
   Module zope.component, line 254, in getUtility
   Module zope.component, line 260, in queryUtility
   Module zope.app.component.hooks, line 89, in getSiteManager
   Module zope.interface.interface, line 675, in __call__
   Module zope.interface.interface, line 742, in __adapt__
   Module zope.app.component.hooks, line 96, in adapter_hook
   Module zope.interface.adapter, line 415, in adapter_hook
   Module Products.Five.site.localsite, line 48, in siteManagerAdapter
AttributeError: getSiteManager



This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.