Archaeopteryx Software, Inc.
Take Flight!Search

Wing IDE
About Us
Open Source

 Advanced Search

[wingide-users] Program crashes in debugger when importing inspect

Fredrik Juhlin
14 Jun 2002 13:07:07 +0200


When I try to run a program in the debugger that imports the inspect
module, the program crashes with the exception "Sequence index out of
range: list index out of range" in /usr/lib/python2.2/
The simplest case to reproduce the bug is with a file merely containing
a line with "import inspect".

I'm using the v 1.1.4 of Wing but with no patches installed since they
don't seem pertinent. My python version is 2.2.1

I've attached a full traceback below.

//Fredrik Juhlin

Sequence index out of range: list index out of range

Traceback (innermost last):

File "/u/laz/", line 1, in ?
  import inspect
File "/usr/lib/python2.2/", line 30, in ?
  import sys, os, types, string, re, dis, imp, tokenize
File "/usr/lib/python2.2/", line 100, in ?
  tokenprog, pseudoprog, single3prog, double3prog = map(
File "/usr/lib/python2.2/", line 178, in compile
      return _compile(pattern, flags)
File "/usr/lib/python2.2/", line 226, in _compile
          p = sre_compile.compile(pattern, flags)
File "/usr/lib/python2.2/", line 434, in compile
      code = _code(p, flags)
File "/usr/lib/python2.2/", line 418, in _code
      _compile(code,, flags)
File "/usr/lib/python2.2/", line 63, in _compile
                  _compile(code, av[2], flags)
File "/usr/lib/python2.2/", line 24, in _compile
      for op, av in pattern:
File "/usr/lib/python2.2/", line 138, in __getitem__

Run by Mailman v 2.0.8

Copyright (c) 2000-2002, Archaeopteryx Software, Inc.
Legal Statements