Plone Calandar Broken with Enfold Proxy Desktop (Server Components) Install

3 messages Options
Embed this post
Permalink
Finlay Boo () Plone Calandar Broken with Enfold Proxy Desktop (Server Components) Install
Reply Threaded More More options
Print post
Permalink
I'm running a Plone 3.3 site (on OSX server) but have noticed a problem when trying to install and run the server components for Enfold Desktop.

After installing the relevant parts (CMFPropertySets,Calendaring,Plone LockManager,Enfold Desktop) all looked to be well. However, the default Plone calendar portlet is now broken with the following error...

2009-09-23T18:19:48 ERROR Zope.SiteErrorLog 1253726388.340.0368390031238 http://localhost:8080/BTG/home_view
Traceback (innermost last):
  Module Products.PloneFormGen.patches, line 22, in safe_render
  Module plone.memoize.volatile, line 272, in replacement
  Module plone.app.portlets.portlets.calendar, line 115, in render
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
  Module Products.CacheSetup.patch_cmf, line 126, in PT_pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 822, in do_loop_tal
  Module zope.tales.tales, line 682, in setRepeat
  Module zope.tales.tales, line 696, in evaluate
   - URL: calendar
   - Line 63, Column 16
   - Expression: <PathExpr standard:'view/getEventsForCalendar'>
   - Names:
      {'container': <PloneSite at /BTG>,
       'context': <PloneSite at /BTG>,
       'default': ,
       'here': <PloneSite at /BTG>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xace34e0>,
       'request': <HTTPRequest, URL=http://localhost:8080/BTG/home_view>,
       'root': <Application at >,
       'template': <ImplicitAcquirerWrapper object at 0x8d61e30>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>,
       'view': <plone.app.portlets.portlets.calendar.Renderer object at 0xabe82b0>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x82e8fd0>}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 163, in _eval
  Module Products.PageTemplates.Expressions, line 125, in render
  Module plone.app.portlets.portlets.calendar, line 123, in getEventsForCalendar
  Module Products.CMFPlone.CalendarTool, line 57, in getEventsForCalendar
TypeError: catalog_getevents() got an unexpected keyword argument 'path'
 
Anyone seen this before with any ideas of fixes?
iesteban () Re: Plone Calandar Broken with Enfold Proxy Desktop (Server Components) Install
Reply Threaded More More options
Print post
Permalink
Finlay Boo wrote:
I'm running a Plone 3.3 site (on OSX server) but have noticed a problem when trying to install and run the server components for Enfold Desktop.

After installing the relevant parts (CMFPropertySets,Calendaring,Plone LockManager,Enfold Desktop) all looked to be well. However, the default Plone calendar portlet is now broken with the following error...

2009-09-23T18:19:48 ERROR Zope.SiteErrorLog 1253726388.340.0368390031238 http://localhost:8080/BTG/home_view
Traceback (innermost last):
  Module Products.PloneFormGen.patches, line 22, in safe_render
  Module plone.memoize.volatile, line 272, in replacement
  Module plone.app.portlets.portlets.calendar, line 115, in render
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
  Module Products.CacheSetup.patch_cmf, line 126, in PT_pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 822, in do_loop_tal
  Module zope.tales.tales, line 682, in setRepeat
  Module zope.tales.tales, line 696, in evaluate
   - URL: calendar
   - Line 63, Column 16
   - Expression: <PathExpr standard:'view/getEventsForCalendar'>
   - Names:
      {'container': <PloneSite at /BTG>,
       'context': <PloneSite at /BTG>,
       'default': ,
       'here': <PloneSite at /BTG>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xace34e0>,
       'request': <HTTPRequest, URL=http://localhost:8080/BTG/home_view>,
       'root': <Application at >,
       'template': <ImplicitAcquirerWrapper object at 0x8d61e30>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>,
       'view': <plone.app.portlets.portlets.calendar.Renderer object at 0xabe82b0>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x82e8fd0>}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 163, in _eval
  Module Products.PageTemplates.Expressions, line 125, in render
  Module plone.app.portlets.portlets.calendar, line 123, in getEventsForCalendar
  Module Products.CMFPlone.CalendarTool, line 57, in getEventsForCalendar
TypeError: catalog_getevents() got an unexpected keyword argument 'path'
 
Anyone seen this before with any ideas of fixes? Hi,

I have a very similar problem. Just migrated from Plone 3.2.2 to another server with Plone 3.3.1 . Enfold server components installed on both. We copied over the products fomder and data.fs file from the old server to the new one, and everything works except for the calendar portlet which triggers exactly the same trace to  our log and also the next:

Traceback (most recent call last):
  File "/usr/local/Plone/buildout-cache/eggs/plone.app.portlets-1.2-py2.4.egg/plone/app/portlets/manager.py", line 65, in safe_render
    return portlet_renderer.render()
  File "/usr/local/Plone/buildout-cache/eggs/plone.memoize-1.0.4-py2.4.egg/plone/memoize/volatile.py", line 267, in replacement
    return fun(*args, **kwargs)
  File "/usr/local/Plone/buildout-cache/eggs/plone.app.portlets-1.2-py2.4.egg/plone/app/portlets/portlets/calendar.py", line 115, in render
    return xhtml_compress(self._template())
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/Products/PageTemplates/PageTemplateFile.py", line 129, in _exec
    return self.pt_render(extra_context=bound_names)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/Products/PageTemplates/PageTemplate.py", line 98, in pt_render
    showtal=showtal)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/zope/tal/talinterpreter.py", line 822, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/zope/tales/tales.py", line 682, in setRepeat
    expr = self.evaluate(expr)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/Products/PageTemplates/Expressions.py", line 163, in _eval
    return render(ob, econtext.vars)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/Products/PageTemplates/Expressions.py", line 125, in render
    ob = ob()
  File "/usr/local/Plone/buildout-cache/eggs/plone.app.portlets-1.2-py2.4.egg/plone/app/portlets/portlets/calendar.py", line 123, in getEventsForCalendar
    weeks = self.calendar.getEventsForCalendar(month, year, path=navigation_root_path)
  File "/usr/local/Plone/buildout-cache/eggs/Plone-3.3.1-py2.4.egg/Products/CMFPlone/CalendarTool.py", line 57, in getEventsForCalendar
    events = self.catalog_getevents(year, month, **kw)
TypeError: catalog_getevents() got an unexpected keyword argument 'path'


I've check CalendarTool.py and is very different from one Plone version to the other...

Any ideas?

Finlay Boo () Re: [Plone-Users] Plone Calandar Broken with Enfold Proxy Desktop (Server Components) Install
Reply Threaded More More options
Print post
Permalink
Hi,

I actually ended up contacting Enfold and brought it to their attention. They hadn't tested with 3.3 at that point so I don't know when they're looking at a fix. I ended up creating my own custom portlet to at least display today's date.
 
On Friday, October 30, 2009, at 08:18AM, "iesteban [via Plone]" <[hidden email]> wrote:
>

Finlay Boo wrote:
I'm running a Plone 3.3 site (on OSX server) but have noticed a problem when trying to install and run the server components for Enfold Desktop.

After installing the relevant parts (CMFPropertySets,Calendaring,Plone LockManager,Enfold Desktop) all looked to be well. However, the default Plone calendar portlet is now broken with the following error...

2009-09-23T18:19:48 ERROR Zope.SiteErrorLog 1253726388.340.0368390031238 http://localhost:8080/BTG/home_view
Traceback (innermost last):
  Module Products.PloneFormGen.patches, line 22, in safe_render
  Module plone.memoize.volatile, line 272, in replacement
  Module plone.app.portlets.portlets.calendar, line 115, in render
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
  Module Products.CacheSetup.patch_cmf, line 126, in PT_pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 822, in do_loop_tal
  Module zope.tales.tales, line 682, in setRepeat
  Module zope.tales.tales, line 696, in evaluate
   - URL: calendar
   - Line 63, Column 16
   - Expression: <PathExpr standard:'view/getEventsForCalendar'>
   - Names:
      {'container': <PloneSite at /BTG>,
       'context': <PloneSite at /BTG>,
       'default': ,
       'here': <PloneSite at /BTG>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xace34e0>,
       'request': <HTTPRequest, URL=http://localhost:8080/BTG/home_view>,
       'root': <Application at >,
       'template': <ImplicitAcquirerWrapper object at 0x8d61e30>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>,
       'view': <plone.app.portlets.portlets.calendar.Renderer object at 0xabe82b0>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x82e8fd0>}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 163, in _eval
  Module Products.PageTemplates.Expressions, line 125, in render
  Module plone.app.portlets.portlets.calendar, line 123, in getEventsForCalendar
  Module Products.CMFPlone.CalendarTool, line 57, in getEventsForCalendar
TypeError: catalog_getevents() got an unexpected keyword argument 'path'
 
Anyone seen this before with any ideas of fixes? Hi,

I have a very similar problem. Just migrated from Plone 3.2.2 to another server with Plone 3.3.1 . Enfold server components installed on both. We copied over the products fomder and data.fs file from the old server to the new one, and everything works except for the calendar portlet which triggers exactly the same trace to  our log and also the next:

Traceback (most recent call last):
  File "/usr/local/Plone/buildout-cache/eggs/plone.app.portlets-1.2-py2.4.egg/plone/app/portlets/manager.py", line 65, in safe_render
    return portlet_renderer.render()
  File "/usr/local/Plone/buildout-cache/eggs/plone.memoize-1.0.4-py2.4.egg/plone/memoize/volatile.py", line 267, in replacement
    return fun(*args, **kwargs)
  File "/usr/local/Plone/buildout-cache/eggs/plone.app.portlets-1.2-py2.4.egg/plone/app/portlets/portlets/calendar.py", line 115, in render
    return xhtml_compress(self._template())
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/Products/PageTemplates/PageTemplateFile.py", line 129, in _exec
    return self.pt_render(extra_context=bound_names)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/Products/PageTemplates/PageTemplate.py", line 98, in pt_render
    showtal=showtal)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/zope/tal/talinterpreter.py", line 822, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/zope/tales/tales.py", line 682, in setRepeat
    expr = self.evaluate(expr)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/Products/PageTemplates/Expressions.py", line 163, in _eval
    return render(ob, econtext.vars)
  File "/usr/local/Plone/Zope-2.10.9-final-py2.4/lib/python/Products/PageTemplates/Expressions.py", line 125, in render
    ob = ob()
  File "/usr/local/Plone/buildout-cache/eggs/plone.app.portlets-1.2-py2.4.egg/plone/app/portlets/portlets/calendar.py", line 123, in getEventsForCalendar
    weeks = self.calendar.getEventsForCalendar(month, year, path=navigation_root_path)
  File "/usr/local/Plone/buildout-cache/eggs/Plone-3.3.1-py2.4.egg/Products/CMFPlone/CalendarTool.py", line 57, in getEventsForCalendar
    events = self.catalog_getevents(year, month, **kw)
TypeError: catalog_getevents() got an unexpected keyword argument 'path'


I've check CalendarTool.py and is very different from one Plone version to the other...

Any ideas?




View message @ http://n2.nabble.com/Plone-Calandar-Broken-with-Enfold-Proxy-Desktop-Server-Components-Install-tp3701909p3917647.html
To unsubscribe from Plone Calandar Broken with Enfold Proxy Desktop (Server Components) Install, click here.