Justin C. Walker wrote:
>
> On Feb 4, 2008, at 10:51 AM, Jason Grout wrote:
>> Justin C. Walker wrote:
> [snip]
>> I agree with Justin's comments on how to ask good, detailed questions
>> about functionality. This question was also asked on IRC and resolved
>> in the same way.
>>
>> I did open a trac ticket since the error message is pretty confusing;
>> see trac ticket #2045.
>
> Hmm...#2045 doesn't show up when I check Trac, so I have to ask:
>
> What error messages? For me (2.10 on Mac OS X 10.4.11 (Core 2
> Duo) :-}), I don't see errors. I see .pngs with only axes displayed,
> or in the case of "(1-x^2)^(0.5)", I get a JMOL picture with the
> number 8.9442*I in the center of a 3x3x3 box :-}
William just closed 2045 as a duplicate of 2038, which has the same
types of error messages.
Here are the error messages I get (2.10.1 on Ubuntu 7.10, Pentium 4):
sage: plot((1-x^2)^(0.5),(x,1,10))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/grout/.sage/sage_notebook/worksheets/admin/9/code/22.py",
line 4, in <module>
plot((Integer(1)-x**Integer(2))**(RealNumber(\u00270.5\u0027)),(x,Integer(1),Integer(10)))
File
"/home/grout/sage/local/lib/python2.5/site-packages/sympy/plotting/",
line 1, in <module>
File
"/home/grout/sage/local/lib/python2.5/site-packages/sympy/plotting/plot.py",
line 3336, in __call__
File
"/home/grout/download/sage-2.10.1/local/lib/python2.5/site-packages/sage/calculus/calculus.py",
line 669, in plot
File
"/home/grout/sage/local/lib/python2.5/site-packages/sympy/plotting/plot.py",
line 3336, in __call__
File
"/home/grout/download/sage-2.10.1/local/lib/python2.5/site-packages/sage/calculus/calculus.py",
line 669, in plot
File
"/home/grout/sage/local/lib/python2.5/site-packages/sympy/plotting/plot.py",
line 3345, in __call__
File
"/home/grout/sage/local/lib/python2.5/site-packages/sympy/plotting/plot.py",
line 3421, in _call
TypeError: 'float' object is unsubscriptable
The above error was with the notebook.
An interesting but hopefully unrelated error is obtained from the
command line (see below). I originally built sage 2.10.1 (from source)
in the ~/download/sage-2.10.1/ directory, but subsequently moved it to
~/sage/ directory. However, the error below still seems to have some
things pointing to the download directory. Is there something I have to
do to safely move the sage directory after building?
sage: plot((1-x^2)^(0.5),(x,1,10))
ERROR: Internal Python error in the inspect module.
Below is the traceback from this internal error.
Traceback (most recent call last):
File
"/home/grout/download/sage-2.10.1/local/lib/python2.5/site-packages/IPython/ultraTB.py",
line 491, in text
File
"/home/grout/download/sage-2.10.1/local/lib/python2.5/site-packages/IPython/ultraTB.py",
line 124, in _fixed_getinnerframes
File
"/home/grout/download/sage-2.10.1/local/lib/python2.5/inspect.py", line
877, in getinnerframes
framelist.append((tb.tb_frame,) + getframeinfo(tb, context))
File
"/home/grout/download/sage-2.10.1/local/lib/python2.5/inspect.py", line
841, in getframeinfo
lines, lnum = findsource(frame)
File
"/home/grout/download/sage-2.10.1/local/lib/python2.5/inspect.py", line
510, in findsource
if pat.match(lines[lnum]): break
IndexError: list index out of range
Unfortunately, your original traceback can not be constructed.
Thanks,
Jason
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---