(I talked with Steve today at the Joint meetings and he mentioned this
unanswered message)
On 12/16/11 3:41 PM, Steven McKay wrote:
Hi,
I have been writing a large set of notes for Differential Equations,
and have come across an annoying problem (that is probably my fault.)
After adding enough sage constructions to my latex file, I started
getting errors like:
Code block begin...Traceback (most recent call last):
File "/usr/local/share/sage/local/lib/python2.6/site-packages/sage/
calculus/desolvers.py", line 1526, in func
return [dec(*v) for dec in desc]
File "wrapper_rdf.pyx", line 78, in
sage.ext.interpreters.wrapper_rdf.Wrapper_rdf.__call__ (sage/ext/
interpreters/wrapper_rdf.c:1347)
File "expression.pyx", line 984, in
sage.symbolic.expression.Expression.__float__ (sage/symbolic/
expression.cpp:5596)
TypeError: unable to simplify to float approximation
odepack.error: Error occured while calling the Python function named
func
Which repeats over and over many times. This is only for
constructions using desolve_odeint, and only for the later sage
constructions, not the earlier ones. *However*, the same sage code in
a notebook runs as expected without errors. So I know I don't have
any errors in my code that is doing this. In fact, I took the sections
with the "offending code" and compiled them separately in a smaller
document, and the sage code ran correctly.
So, it seems as if I am overloading sage with too many calculations.
This confuses me, however, because I thought sage did each calculation
separately.
This is either a bug in sage (possible, not probable), a known
limitation (probable) or something else.
Dan, have you ever seen something with these symptoms?
Steve, I think the best thing is to look at your file so that we can
reproduce this problem. You can send it to me off-list, if you like.
Dan may want a copy as well (Dan Drake wrote SageTeX, so he'd probably
be better to debug this).
Thanks,
Jason
I am looking for advice as to how this can be fixed. Note that I do
not really want to freeze the earlier calculations, because this is a
work in progress, and I am likely to go back and rework things. It is
possible I could rearrange my workflow in some way as to avoid this.
Any suggestions would be welcome.
Thanks,
S.M.
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org