Bonjour la liste,
J'ai un souci lors de l'importation d'un calendrier au format ical. Le
fichier provient d'une exportation faite depuis un calendrier sous CPS
3.3.4 et je désires l'importer sous CPS 3.4. Or lorsque je fait l'export
il me donne le message d'erreur ci-dessous que je ne comprends pas.
Est-ce que quelqu'un peut me donner une piste? En attache le fichier
calendar que je veux importer, il me semble correct.
Meilleures salutations.
Jean Tinguely.
Error Type:
AttributeError
Error Value:
'NoneType' object has no attribute 'walk'
Traceback:
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 403, 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 110, in _exec
• Module Products.PageTemplates.PageTemplate, line 104, in pt_render
<ImplicitAcquirerWrapper object at 0xb4d79d0c>
• Module TAL.TALInterpreter, line 238, in __call__
• 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 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 715, in do_condition
• 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 715, in do_condition
• 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 691, in do_loop_tal
• 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 691, in do_loop_tal
• 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 715, in do_condition
• 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 691, in do_loop_tal
• 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 507, in do_setLocal_tal
• Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:CPSSkins/skins/CPSSkins/cpsskins_main_template_default.pt
Line 41, Column 16
Expression: <PythonExpr isRenderable and
content.render_cache(shield=shield, context_obj=context_obj,
enable_esi=enable_esi, boxedit=boxedit, template=template, options=options)>
Names:
{'container': <CpsCalendar at /artification/members/tinguely/calendar>,
'context': <CpsCalendar at /artification/members/tinguely/calendar>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb712dbcc>,
'here': <CpsCalendar at /artification/members/tinguely/calendar>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb137fd4c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0xb70e1aec>,
'nothing': None,
'options': {'args': (<Products.Five.metaclass.SimpleViewClass from
/home/zope/instances/work/Products/CalZope/browser/ical_import.pt object
at 0xb279ab8c>,)},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb137fd4c>,
'request': <HTTPRequest,
URL=http://217.114.113.102:11500/artification/members/tinguely/calendar/import.html>,
'root': <Application at >,
'template': <ImplicitAcquirerWrapper object at 0xb4d79d0c>,
'traverse_subpath': [],
'user': <CPSUser tinguely>,
'view': <Products.Five.metaclass.SimpleViewClass from
/home/zope/instances/work/Products/CalZope/browser/ical_import.pt object
at 0xb279ab8c>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object
at 0xb137f24c>}
• Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: isRenderable and content.render_cache(shield=shield,
context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit,
template=template, options=options)
• Module Python expression "isRenderable and
content.render_cache(shield=shield, context_obj=context_obj,
enable_esi=enable_esi, boxedit=boxedit, template=template,
options=options)", line 1, in <expression>
• Module Products.CPSSkins.BaseTemplet, line 550, in render_cache
• Module Products.CPSSkins.MainContent, line 108, in render
• Module Products.PageTemplates.PageTemplate, line 104, in pt_render
<ImplicitAcquirerWrapper object at 0xb4d79d0c>
• Module TAL.TALInterpreter, line 238, in __call__
• Module TAL.TALInterpreter, line 281, in interpret
• Module TAL.TALInterpreter, line 507, in do_setLocal_tal
• Module Products.PageTemplates.TALES, line 221, in evaluate
URL: index
Line 1, Column 0
Expression: standard:'view/importUpdate'
Names:
{'container': <CpsCalendar at /artification/members/tinguely/calendar>,
'context': <CpsCalendar at /artification/members/tinguely/calendar>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb712dbcc>,
'here': <CpsCalendar at /artification/members/tinguely/calendar>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb0fe464c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0xb70e1aec>,
'nothing': None,
'options': {'args': (<Products.Five.metaclass.SimpleViewClass from
/home/zope/instances/work/Products/CalZope/browser/ical_import.pt object
at 0xb279ab8c>,)},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb0fe464c>,
'request': <HTTPRequest,
URL=http://217.114.113.102:11500/artification/members/tinguely/calendar/import.html>,
'root': <Application at >,
'template': <ImplicitAcquirerWrapper object at 0xb4d79d0c>,
'view': <Products.Five.metaclass.SimpleViewClass from
/home/zope/instances/work/Products/CalZope/browser/ical_import.pt object
at 0xb279ab8c>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object
at 0xb1461e4c>}
• 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.CalZope.browser.icalsupport, line 28, in importUpdate
• Module calcore.cal, line 626, in import_
AttributeError: 'NoneType' object has no attribute 'walk'
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
X-WR-TIMEZONE;VALUE=TEXT:Europe/Paris
PRODID:-//Nuxeo//CPSCalendar 0.1//EN
X-WR-CALNAME;VALUE=TEXT:Calendar of tinguely
X-WR-RELCALID;VALUE=TEXT:http://10.0.0.24:9980/cps/workspaces/members/tinguely/calendar
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20060517T110645Z
SUMMARY:Frau Steiner betr. Jean Tinguely
UID:http://10.0.0.24:9980/cps/workspaces/members/tinguely/calendar/11296440634095-calendar
DTSTART:20051026T100000Z
DTEND:20051026T110000Z
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20060517T110645Z
SUMMARY:Projektsitzung
UID:http://10.0.0.24:9980/cps/workspaces/members/tinguely/calendar/11296412941805-calendar
DTSTART:20051019T130000Z
DTEND:20051019T133000Z
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20060517T110645Z
SUMMARY:Frau Steiner (CIM Projekt)
UID:http://10.0.0.24:9980/cps/workspaces/members/tinguely/calendar/11320512506906-calendar
LOCATION:H'buchsee
DTSTART:20051118T130000Z
DTEND:20051118T134500Z
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20060517T110645Z
SUMMARY:CPS - Paris
UID:http://10.0.0.24:9980/cps/workspaces/members/tinguely/calendar/11320520779529-calendar
LOCATION:Paris
DTSTART;VALUE=DATE:20060116
DTEND;VALUE=DATE:20060121
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20060517T110645Z
SUMMARY:Herr Streuli von Fasnacht bei uns.
UID:http://10.0.0.24:9980/cps/workspaces/members/tinguely/calendar/11349827757603-calendar
DTSTART:20051220T133000Z
DTEND:20051220T153000Z
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20060517T110645Z
SUMMARY:Christoph; Demo gastro-plus
UID:http://10.0.0.24:9980/cps/workspaces/members/tinguely/calendar/11380118487434-calendar
LOCATION:Artification
DTSTART:20060208T160000Z
DTEND:20060208T174500Z
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20060517T110645Z
SUMMARY:Neu Server installieren
UID:http://10.0.0.24:9980/cps/workspaces/members/tinguely/calendar/11455398529124-calendar
LOCATION:Zuerich
DTSTART:20060425T140000Z
DTEND:20060425T164500Z
END:VEVENT
END:VCALENDAR
_______________________________________________
cps-users-fr
Adresse de la liste : [email protected]
Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>