It looks like texmacs launches "sage -python". There was a file named "stat.py" in my home directory that interfered with the imports "sage - python" did. I removed that file and now it works perfect.
BTW my 2d plots show correctly, perhaps I can help you check that bug... Thank you! Oscar. On Jan 5, 9:41 am, emil <emil.widm...@gmail.com> wrote: > > Sorry for the late answer, (and for reviving an old topic). I tried > > the steps you suggest, but with no success. The problem seems to be > > related to the way TexMacs called sage. I used to have sage added to > > my PATH by adding it in the ~/.bashrc file. > > Have you tried what happens if you put sage directory in your path? > > >Now I have removed it from > > there and put a symbolic link to /home/oscar/sage/sage-4.6/sage in / > > usr/bin. Now I do see the option to start a Sage session, but I get > > yet another error: > > >http://i55.tinypic.com/x579d.png > > Looks funny (not), I have never seen that before ... > > > > > I can't guess what's wrong... :( > > I guess we can only guess ... > > > > > Thank you! > > > Oscar > > looking into the sage-texmacs plugin, there is a python file and a > "scm" file (probably written in guile. > it says: > > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; > ;; > ;; MODULE : init-sage.scm > ;; DESCRIPTION : Initialize SAGE plugin > > ... Copyright stuff > > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; > > (plugin-configure sage > (:require (url-exists-in-path? "sage")) > (:require (url-exists-in-path? "tm_sage")) > (:launch "sage -python `which tm_sage`") > (:tab-completion #t) > (:session "SAGE")) > > thats the code, but I don't know exactly how it works and what "sage" > and "tm-sage" is. > > I had sage installed in /sage directory and made a symlink to it from / > usr/bin . So making a symlink can't be the real problem, but who knows > for sure. Unfortunantly I also have uninstalled my Texmacs build, so I > currently cant help you with testing :(. Maybe someone with more > knowledge about this interface is around ... > > Good luck > Emil -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org