[Zope] Zope startup error: Archetypes: IndexError: list index out of range

Paul Sue Paul.Sue at TELUS.com
Thu Sep 1 21:38:43 EDT 2005


Hi,

OK, I rebuilt Zope because I think last time, I didn't have a clean directory.

This time, when I startup Zope, I get:

------
2005-09-01T17:09:48 ERROR(200) Archetypes None Traceback (most recent call last):
  File "/home/zope/zopehome/Products/Archetypes/content_driver/__init__.py", line 15, in ?
  File "/home/zope/zopehome/Products/Archetypes/content_driver/MSWord.py", line 20, in ?
  File "/home/zope/zopehome/Products/Archetypes/debug.py", line 155, in log
  File "/home/zope/zopehome/Products/Archetypes/debug.py", line 122, in munge_message
  File "/home/zope/zopehome/Products/Archetypes/debug.py", line 112, in generateFrames
  File "/usr/local/lib/python2.3/inspect.py", line 795, in stack
    return getouterframes(sys._getframe(1), context)
  File "/usr/local/lib/python2.3/inspect.py", line 776, in getouterframes
    framelist.append((frame,) + getframeinfo(frame, context))
  File "/usr/local/lib/python2.3/inspect.py", line 751, in getframeinfo
    lines, lnum = findsource(frame)
  File "/usr/local/lib/python2.3/inspect.py", line 435, in findsource
    if pat.match(lines[lnum]): break
IndexError: list index out of range
------
2005-09-01T17:09:48 ERROR(200) Zope Couldn't install Archetypes Traceback (most recent call last):
  File "/space/users/zope/Zope274/lib/python/OFS/Application.py", line 751, in install_product
    initmethod(context)
  File "/home/zope/zopehome/Products/Archetypes/__init__.py", line 72, in initialize
  File "/home/zope/zopehome/Products/Archetypes/examples/__init__.py", line 1, in ?
    from config import validation
  File "/home/zope/zopehome/Products/Archetypes/examples/DDocument.py", line 1, in ?
  File "/home/zope/zopehome/Products/Archetypes/public.py", line 4, in ?
  File "/home/zope/zopehome/Products/Archetypes/BaseContent.py", line 8, in ?
  File "/home/zope/zopehome/Products/Archetypes/BaseObject.py", line 18, in ?
  File "/home/zope/zopehome/Products/Archetypes/Schema.py", line 12, in ?
  File "/home/zope/zopehome/Products/Archetypes/BaseUnit.py", line 11, in ?
  File "/home/zope/zopehome/Products/Archetypes/content_driver/__init__.py", line 25, in ?
  File "/home/zope/zopehome/Products/Archetypes/debug.py", line 155, in log
  File "/home/zope/zopehome/Products/Archetypes/debug.py", line 122, in munge_message
  File "/home/zope/zopehome/Products/Archetypes/debug.py", line 112, in generateFrames
  File "/usr/local/lib/python2.3/inspect.py", line 795, in stack
    return getouterframes(sys._getframe(1), context)
  File "/usr/local/lib/python2.3/inspect.py", line 776, in getouterframes
    framelist.append((frame,) + getframeinfo(frame, context))
  File "/usr/local/lib/python2.3/inspect.py", line 751, in getframeinfo
    lines, lnum = findsource(frame)
  File "/usr/local/lib/python2.3/inspect.py", line 435, in findsource
    if pat.match(lines[lnum]): break
IndexError: list index out of range
Traceback (most recent call last):
  File "/space/users/zope/Zope274/lib/python/Zope/Startup/run.py", line 50, in ?
    run()
  File "/space/users/zope/Zope274/lib/python/Zope/Startup/run.py", line 19, in run
    start_zope(opts.configroot)
  File "/space/users/zope/Zope274/lib/python/Zope/Startup/__init__.py", line 51, in start_zope
    starter.startZope()
  File "/space/users/zope/Zope274/lib/python/Zope/Startup/__init__.py", line 230, in startZope
    Zope.startup()
  File "/space/users/zope/Zope274/lib/python/Zope/__init__.py", line 47, in startup
    _startup()
  File "/space/users/zope/Zope274/lib/python/Zope/App/startup.py", line 96, in startup
    OFS.Application.initialize(application)
  File "/space/users/zope/Zope274/lib/python/OFS/Application.py", line 278, in initialize
    initializer.initialize()
  File "/space/users/zope/Zope274/lib/python/OFS/Application.py", line 305, in initialize
    self.install_products()
  File "/space/users/zope/Zope274/lib/python/OFS/Application.py", line 573, in install_products
    return install_products(app)
  File "/space/users/zope/Zope274/lib/python/OFS/Application.py", line 604, in install_products
    folder_permissions, raise_exc=debug_mode)
  File "/space/users/zope/Zope274/lib/python/OFS/Application.py", line 751, in install_product
    initmethod(context)
  File "/space/users/zope/zopehome/Products/validation/validators/../__init__.py", line 72, in initialize
    
  File "/space/users/zope/zopehome/Products/validation/validators/../__init__.py", line 1, in ?
    from config import validation
  File "/home/zope/zopehome/Products/Archetypes/examples/DDocument.py", line 1, in ?
  File "/home/zope/zopehome/Products/Archetypes/public.py", line 4, in ?
  File "/home/zope/zopehome/Products/Archetypes/BaseContent.py", line 8, in ?
  File "/home/zope/zopehome/Products/Archetypes/BaseObject.py", line 18, in ?
  File "/home/zope/zopehome/Products/Archetypes/Schema.py", line 12, in ?
  File "/home/zope/zopehome/Products/Archetypes/BaseUnit.py", line 11, in ?
  File "/space/users/zope/zopehome/Products/validation/validators/../__init__.py", line 25, in ?
    
  File "/home/zope/zopehome/Products/Archetypes/debug.py", line 155, in log
  File "/home/zope/zopehome/Products/Archetypes/debug.py", line 122, in munge_message
  File "/home/zope/zopehome/Products/Archetypes/debug.py", line 112, in generateFrames
  File "/usr/local/lib/python2.3/inspect.py", line 795, in stack
    return getouterframes(sys._getframe(1), context)
  File "/usr/local/lib/python2.3/inspect.py", line 776, in getouterframes
    framelist.append((frame,) + getframeinfo(frame, context))
  File "/usr/local/lib/python2.3/inspect.py", line 751, in getframeinfo
    lines, lnum = findsource(frame)
  File "/usr/local/lib/python2.3/inspect.py", line 435, in findsource
    if pat.match(lines[lnum]): break
IndexError: list index out of range

Why is it so hard to get Zope going under Solaris???? (is that why there were separate downloads
for Solaris until 2.7 ??)

Thanks,

Paul


More information about the Zope mailing list