Archaeopteryx Software, Inc.
Take Flight!Search

Home
Wing IDE
News
Support
About Us
Python
Open Source
Store

 Search:
 
 Advanced Search




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

Fredrik Juhlin laz@strakt.com
14 Jun 2002 13:07:07 +0200


Hello,

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/sre_parse.py.
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/apa.py", line 1, in ?
  import inspect
File "/usr/lib/python2.2/inspect.py", line 30, in ?
  import sys, os, types, string, re, dis, imp, tokenize
File "/usr/lib/python2.2/tokenize.py", line 100, in ?
  tokenprog, pseudoprog, single3prog, double3prog = map(
File "/usr/lib/python2.2/sre.py", line 178, in compile
      return _compile(pattern, flags)
File "/usr/lib/python2.2/sre.py", line 226, in _compile
          p = sre_compile.compile(pattern, flags)
File "/usr/lib/python2.2/sre_compile.py", line 434, in compile
      code = _code(p, flags)
File "/usr/lib/python2.2/sre_compile.py", line 418, in _code
      _compile(code, p.data, flags)
File "/usr/lib/python2.2/sre_compile.py", line 63, in _compile
                  _compile(code, av[2], flags)
File "/usr/lib/python2.2/sre_compile.py", line 24, in _compile
      for op, av in pattern:
File "/usr/lib/python2.2/sre_parse.py", line 138, in __getitem__
          return self.data[index]







Run by Mailman v 2.0.8


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