I have got some trouble with sage code that used to work.
ERROR: Internal Python error in the inspect module.
Below is the traceback from this internal error.
Traceback (most recent call last):
File "/home/cellserver/sagecell/ipython/IPython/core/ultratb.py", line 759, in structured_traceback
records = _fixed_getinnerframes(etb, context, tb_offset)
File "/home/cellserver/sagecell/ipython/IPython/core/ultratb.py", line 242, in _fixed_getinnerframes
records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
File "/home/cellserver/sagecell/sage-5.8/local/lib/python/inspect.py", line 1043, in getinnerframes
framelist.append((tb.tb_frame,) + getframeinfo(tb, context))
File "/home/cellserver/sagecell/sage-5.8/local/lib/python/inspect.py", line 1003, in getframeinfo
filename = getsourcefile(frame) or getfile(frame)
File "/home/cellserver/sagecell/sage-5.8/local/lib/python/inspect.py", line 454, in getsourcefile
if hasattr(getmodule(object, filename), '__loader__'):
File "/home/cellserver/sagecell/sage-5.8/local/lib/python/inspect.py", line 483, in getmodule
file = getabsfile(object, _filename)
File "/home/cellserver/sagecell/sage-5.8/local/lib/python/inspect.py", line 467, in getabsfile
return os.path.normcase(os.path.abspath(_filename))
File "/home/cellserver/sagecell/sage-5.8/local/lib/python/posixpath.py", line 347, in abspath
cwd = os.getcwd()
OSError: [Errno 2] No such file or directory
Unfortunately, your original traceback can not be constructed.