Personal tools
You are here: Home Documentation Error References IndexError: list index out of range
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

IndexError: list index out of range

This Error Reference applies to: Any version.
This Error Reference is intended for: Any audience.

createObject raises strange IndexError: list index out of range

Traceback looks like:

  Module Products.Archetypes.debug, line 113, in generateFrames
  Module inspect, line 805, in stack
  Module inspect, line 786, in getouterframes
  Module inspect, line 761, in getframeinfo
  Module inspect, line 435, in findsource
IndexError: list index out of range

Solution: Remove all .pyc files from you Zope tree and try again:

find <zopedir> -name "*.pyc" | xargs rm

Source and explanation of the solution is here: http://mail.zope.org/pipermail/zope/2005-September/161352.html

by Radim Novotny last modified November 4, 2005 - 11:30
Contributors: Dieter Maurer
All content is copyright Plone Foundation and the individual contributors.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by