#11 — IndexError in portal_setup/manage_importSteps

by Tom Lazar last modified Feb 21, 2009 10:09 PM
State Resolved
Version: 1.1
Area Functionality
Issue type Bug
Severity Important
Submitted by Tom Lazar
Submitted on Oct 05, 2007
Responsible Jon Baldivieso
Target release: 3.0
After installing r50893 of trunk and visiting portal_setup/manage_importSteps i get the following error:

Traceback (most recent call last):
  File "/opt/zope/instances/b2talk-clean/parts/zope2/lib/python/zExceptions/ExceptionFormatter.py", line 156, in formatLine
    supp = factory(*args)
TypeError: __init__() takes exactly 3 arguments (2 given)
Traceback (most recent call last):
  File "/opt/zope/instances/b2talk-clean/parts/zope2/lib/python/zExceptions/ExceptionFormatter.py", line 156, in formatLine
    supp = factory(*args)
TypeError: __init__() takes exactly 3 arguments (2 given)
2007-10-05 12:25:14 ERROR Zope.SiteErrorLog http://127.0.0.1:8081/zafer/portal_setup/manage_importSteps
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 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 123, 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 586, in do_setLocal_tal
  Module zope.tales.tales, line 696, in evaluate
   - URL: manage_importSteps
   - Line 1, Column 0
   - Expression: <PythonExpr [c['title'] for c in contexts if c['id']==context_id][0]>
   - Names:
      {'container': <SetupTool at /zafer/portal_setup>,
       'context': <SetupTool at /zafer/portal_setup>,
       'default': <object object at 0x45530>,
       'here': <SetupTool at /zafer/portal_setup>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7cbc530>,
       'request': <HTTPRequest, URL=http://127.0.0.1:8081/[…]/manage_importSteps>,
       'root': <Application at >,
       'template': <PageTemplateFile at /zafer/portal_setup/sutImportSteps>,
       'user': <PropertiedUser 'admin'>}
  Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
   - __traceback_info__: [c['title'] for c in contexts if c['id']==context_id][0]
  Module PythonExpr, line 1, in <expression>
  Module AccessControl.ZopeGuards, line 67, in guarded_getitem
IndexError: list index out of range
Traceback (most recent call last):
  File "/opt/zope/instances/b2talk-clean/parts/zope2/lib/python/zExceptions/ExceptionFormatter.py", line 156, in formatLine
    supp = factory(*args)
TypeError: __init__() takes exactly 3 arguments (2 given)
Steps to reproduce:
Plone 3.0.1 + r50893 of ssf.
Added by Jon Stahl on Oct 05, 2007 03:44 PM
Issue state: unconfirmedpostponed
Severity: MediumImportant
Target release: None3.0
Responsible manager: (UNASSIGNED)jbaldivieso
Unfortunately, trunk is not yet Plone 3 compatible. :-( Patches welcome in a branch, where we'll turn our attention after we ship a 2.5-compatible SSF 1.1.
Added by Jon Stahl on Jul 13, 2008 11:58 PM
Issue state: postponedopen
Added by Jon Stahl on Jul 13, 2008 11:59 PM
Issue state: openresolved
Slideshow Folder 3 and Slideshow Folder 4 are Plone 3 compatible. SSF 4 is highly recommended!

No responses can be added.