|
|
|
Helmut Lichtenberg-2
|
Hallo,
ich möchte auf einer Plone-Seite einen Kalender erstellen, der per ical-Import (v.a. aus Mozilla-Sunbird) gefüllt, bzw. gepflegt wird. Nach verwirrendem Suchen durch die vielen angebotenen Module stieß ich auf den Abstract 'State of the Art Calendaring in Plone' von Andreas Jung auf der 10. DZUG-Tagung (http://www.zope.de/conference/2009/talkdetails#84). Daraufhin habe ich mich zur Lösung des Problems auf vs.event und p4a.plonecalendar konzentriert. Den ical-Import nur mit vs.event habe ich nicht gefunden, so versuchte ich erstmal p4a.plonecalendar zum Laufen zu bekommen, leider nur mit mäßigem Erfolg. Letztlich scheitert der Import immer an einem AttributeError. Hier mein Vorgehen im Einzelnen: * Plone 3.3.1 frisch kompiliert (standalone). * p4a.plonecalendar in buildout.cfg unter eggs = und zcml = eingetragen. * bin/buildout: Got p4a.plonecalendar 2.0a5. Got p4a.subtyper 1.1.1. Got p4a.calendar 2.0a3. Got dateable.kalends 0.5. Got dateable.chronos 0.6.2. Got p4a.z2utils 1.0.2. Got p4a.common 1.0.5. Got python-dateutil 1.4.1. * Als Admin in der Plone instance p4a.plonecalendar installiert (dadurch automatisch Chronos 0.6.2 und Marshal 1.2.1 mitinstalliert). * Folder Events auf subtype calendar umgestellt. * Neuen Event event1 angelegt und veröffentlicht. * Event als event1.ics exportiert. * Event im Kalender gelöscht. * Vorher exportierten event1.ics importiert. Fehlermeldung: ============================================================================== Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Products.Five.browser.metaconfigure, line 417, in __call__ 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.PageTemplates.PageTemplate, line 98, in pt_render Module zope.pagetemplate.pagetemplate, line 117, in pt_render Module zope.tal.talinterpreter, line 271, in __call__ Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 534, in do_optTag_tal Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 623, in do_insertText_tal Module Products.PageTemplates.Expressions, line 230, in evaluateText Module zope.tales.tales, line 696, in evaluate - URL: index - Line 1, Column 0 - Expression: <PathExpr standard:'view/importFormHandler'> - Names: {'container': <ATTopic at /Plone/events/aggregator>, 'context': <ATTopic at /Plone/events/aggregator>, 'default': <object object at 0x7f466dd8e200>, 'here': <ATTopic at /Plone/events/aggregator>, 'loop': {}, 'nothing': None, 'options': {'args': (<Products.Five.metaclass.SimpleViewClass from /usr/local/Plone/buildout-cache/eggs/p4a.plonecalendar-2.0a5-py2.4.egg\ /p4a/plonecalendar/browser/icalendar_import.pt object at 0xa5af610>,)}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xab37a70>, 'request': <HTTPRequest, URL=http://localhost:8080/Plone/events/aggregator/import.html>, 'root': <Application at >, 'template': <ImplicitAcquirerWrapper object at 0xac75490>, 'traverse_subpath': [], 'user': <PropertiedUser 'admin'>, 'view': <Products.Five.metaclass.SimpleViewClass from /usr/local/Plone/buildout-cache/eggs/p4a.plonecalendar-2.0a5-py2.4.egg\ /p4a/plonecalendar/browser/icalendar_import.pt object at 0xa5af610>, 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0xac75890>} 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 p4a.plonecalendar.browser.icalendar, line 131, in importFormHandler AttributeError: importCalendar ============================================================================== Kann mir jemand sagen, ob ich etwas falsch mache oder ob das ein Bug in Plone 3.3.1 oder p4a.plonecalendar ist? Danke Helmut -- ------------------------------------------------------------------------- Helmut Lichtenberg <[hidden email]> Tel.: 05034/871-128 Institut für Nutztiergenetik (FLI) 31535 Neustadt Germany ------------------------------------------------------------------------- _______________________________________________ zope mailing list [hidden email] https://mail.dzug.org/mailman/listinfo/zope |
| Free Embeddable Forum Powered by Nabble | Help |