Hello, i am using the latex's breqn package to show long outputs(in
notebook). System is debian squeeze, version of Sage is 4.7.
I typed

%latex
\begin{dmath*}
\sage{latex(numDet)}
\end{dmath*}

and Sage returned:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_10.py", line 10, in <module>
    exec compile(u"print _support_.syseval(latex, u'\\\\begin{dmath*}\
\n\\\\sage{latex(numDet)}\\n\\\\end{dmath*}', __SAGE_TMP_DIR__)" +
'\n', '', 'single')
  File "", line 1, in <module>

  File "/home/ya/sage-4.7/devel/sagenb/sagenb/misc/support.py", line
473, in syseval
    return system.eval(cmd, sage_globals, locals = sage_globals)
  File "/home/ya/sage-4.7/local/lib/python2.6/site-packages/sage/misc/
latex.py", line 859, in eval
    os.path.join(orig_base, filename + ".png"))
  File "/home/ya/sage-4.7/local/lib/python/shutil.py", line 88, in
copy
    copyfile(src, dst)
  File "/home/ya/sage-4.7/local/lib/python/shutil.py", line 52, in
copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: '/home/ya/.sage/temp/
debian/4608/dir_1/sage76.png'

Here is the output of the ls command:
ya@debian:~$ ls  /home/ya/.sage/temp/debian/4608/dir_1
sage76-0.png  sage76.aux  sage76.log  sage76.tex
sage76-1.png  sage76.dvi  sage76.ps
ya@debian:~$

In my case the numDet expression is long, in case of a short output
all work properly.
But the same example, that returns this error on my machine, does not
return any errors at the sagenb.org (   http://sagenb.org/home/pub/3000/
)

What is wrong with my system?
P.S. sorry for my rough english.

-- 
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

Reply via email to