Ticket #142 (assigned defect)

Opened 2 years ago

Last modified 2 years ago

Exception with normal usage (v0.8.0)

Reported by: martinpaljak Assigned to: fperez (accepted)
Priority: normal Milestone: 0.9.0
Component: ipython Version:
Severity: normal Keywords:
Cc:

Description

In [24]: lib.listReaders()
ERROR: Internal Python error in the inspect module.
Below is the traceback from this internal error.

Traceback (most recent call last):
  File "/Users/martin/Library/Python/2.5/site-packages/ipython-0.8.0-py2.5.egg/IPython/ultraTB.py", line 491, in text
    records = _fixed_getinnerframes(etb, context,self.tb_offset)
  File "/Users/martin/Library/Python/2.5/site-packages/ipython-0.8.0-py2.5.egg/IPython/ultraTB.py", line 124, in _fixed_getinnerframes
    records  = inspect.getinnerframes(etb, context)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/inspect.py", line 862, in getinnerframes
    framelist.append((tb.tb_frame,) + getframeinfo(tb, context))
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/inspect.py", line 826, in getframeinfo
    lines, lnum = findsource(frame)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/inspect.py", line 495, in findsource
    if pat.match(lines[lnum]): break
IndexError: list index out of range

Unfortunately, your original traceback can not be constructed.

This happens with PyCSC.

Also, you could either delete the dummy 1.0 and 2.0 versions from trac or add common versions of other software..

Change History

05/02/07 09:52:07 changed by vivainio

  • milestone set to 0.9.0.

05/02/07 13:19:30 changed by fperez

  • status changed from new to assigned.

This is an old problem we know about, but so far we don't have a small, self-contained 100% reproducible test case.

If you have one, please paste the *entire* code needed to reproduce the problem so we can actually work on it. Thanks.