-
-
Notifications
You must be signed in to change notification settings - Fork 655
Closed
Description
In tracebacks the filenames get misreported. As you see below, sometimes the filename gets prefixed by the current directory.
sage: os.system("pwd")
/tmp
0
sage: sage.misc.sageinspect.sage_getfile(matrix)
'/usr/local/sage/default/local/lib/python2.5/site-packages/sage/matrix/constructor.py'
sage: M=matrix([[1,1]])
sage: M*M
---------------------------------------------------------------------------
<type 'exceptions.TypeError'> Traceback (most recent call last)
/tmp/<ipython console> in <module>()
/tmp/element.pyx in element.Matrix.__mul__()
/tmp/element.pyx in element.Matrix._matrix_times_matrix_c()
<type 'exceptions.TypeError'>: incompatible dimensions
Component: user interface
Issue created by migration from https://trac.sagemath.org/ticket/775