On Jan 11, 5:15 am, "Luis Finotti" <[EMAIL PROTECTED]> wrote:
> Dear all,
Hi Luis,
> I've been having problems running Sage 2.9 in my home computer: Athlon
> XP 2800+, running Debian Etch, with kernel 2.6.18-4-k7.
>
> I tried the pre-compiled versions, but they game many errors when
> testing, which I assumed it was due to an old CPU (as I've seen
> mentioned before). So, I compiled 2.9.3 from the source (which took a
> long, long time, also as mentioned by someone else before).
>
> Then, "make test" fails for "sage -t
> devel/sage-main/sage/interfaces/sage0.py" (only).
>
> Here is the error:
>
> ------------------
> **********************************************************************
> File "sage0.py", line 47:
> sage: a^3
> Expected:
> 8
> Got:
> <BLANKLINE>
> **********************************************************************
> File "sage0.py", line 52:
> sage: V.gens()
> Expected:
> ((1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1))
> Got:
>
> **********************************************************************
> File "sage0.py", line 62:
> sage: g = V.0; g
> Expected:
> (1, 0, 0, 0)
> Got:
>
> **********************************************************************
> File "sage0.py", line 69:
> sage: s('%s.parent()'%g.name())
> Expected:
> Vector space of dimension 4 over Rational Field
> Got:
>
> **********************************************************************
> File "sage0.py", line 74:
> sage: s('x = 5')
> Expected:
> 5
> Got:
>
> **********************************************************************
> File "sage0.py", line 78:
> sage: s('x')
> Expected:
> 5
> Got:
>
> **********************************************************************
> File "sage0.py", line 85:
> sage: a
> Expected:
> 10
> Got:
>
> **********************************************************************
> File "sage0.py", line 91:
> sage: s3('"x"')
> Expected:
> 8
> Got:
>
> **********************************************************************
> File "sage0.py", line 93:
> sage: s('x')
> Expected:
> 5
> Got:
>
> **********************************************************************
> 1 items had failures:
> 9 of 21 in __main__.example_1
> ***Test Failed*** 9 failures.
> For whitespace errors, see the file .doctest_sage0.py
> [3.9 s]
> exit code: 256
>
> ----------------------------------------------------------------------
> The following tests failed:
>
> sage -t devel/sage-main/sage/interfaces/sage0.py
> Total time for all tests: 3.9 seconds
> --------------------
Hmm, is that the only error? Could you post the exact output from gcc -
v please?
> I am not sure what this affects, but many of my old computations still work.
>
> Then I tried to check the new 3D plots. (It worked in my office
> computer, and it looks great! Kudos!) When evaluating the Moebius
> band sent by D. Joyner, I get a empty rectangle where the graph should
> appear, and the lower left (status) bar of Firefox shows "Downloading
> JmolApplet..." But nothing happens. Opening the Java Console (by
> right clicking at the space for the plot), I get:
>
> --------------------
> Java Plug-in 1.5.0_02
> Using JRE version 1.5.0_02 Java HotSpot(TM) Client VM
> User home directory = /home/finotti
>
> ----------------------------------------------------
> c: clear console window
> f: finalize objects on finalization queue
> g: garbage collect
> h: display this help message
> l: dump classloader list
> m: print memory usage
> o: trigger logging
> p: reload proxy configuration
> q: hide console
> r: reload policy configuration
> s: dump system and deployment properties
> t: dump thread list
> v: dump thread stack
> x: clear classloader cache
> 0-5: set trace level to <n>
> ----------------------------------------------------
>
> load: class JmolApplet not found.
> java.lang.ClassNotFoundException: JmolApplet
> at sun.applet.AppletClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.applet.AppletClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.applet.AppletClassLoader.loadCode(Unknown Source)
> at sun.applet.AppletPanel.createApplet(Unknown Source)
> at sun.plugin.AppletViewer.createApplet(Unknown Source)
> at sun.applet.AppletPanel.runLoader(Unknown Source)
> at sun.applet.AppletPanel.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.io.IOException: open HTTP connection failed.
> at sun.applet.AppletClassLoader.getBytes(Unknown Source)
> at sun.applet.AppletClassLoader.access$100(Unknown Source)
> at sun.applet.AppletClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> ... 10 more
> load: class JmolApplet not found.
> java.lang.ClassNotFoundException: JmolApplet
> at sun.applet.AppletClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.applet.AppletClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.applet.AppletClassLoader.loadCode(Unknown Source)
> at sun.applet.AppletPanel.createApplet(Unknown Source)
> at sun.plugin.AppletViewer.createApplet(Unknown Source)
> at sun.applet.AppletPanel.runLoader(Unknown Source)
> at sun.applet.AppletPanel.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.io.IOException: open HTTP connection failed.
> at sun.applet.AppletClassLoader.getBytes(Unknown Source)
> at sun.applet.AppletClassLoader.access$100(Unknown Source)
> at sun.applet.AppletClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> ... 10 more
> ------------------
>
> (Maybe related to the error from "make test" above??)
>
> Any ideas?
I have no idea about jmol, somebody else needs to figure that one out.
A shot in the dark: Which java do you have installed? I believe the
version from gcc causes trouble, so installing a "proper" JDK 1.5 or
1.6 from Sun *might* solve the problem.
> Finally, (and this has been a "problem" for a long time, also in my
> laptop, running Debian Etch again), I have jsMath fonts installed, but
> sage (or Firefox) does not find it...
>
> debian[~]$ wajig status jsmath
> Package Installed Previous Now State
> =======================-===============-===============-===============-=====
> jsmath 3.3g-4 3.3g-4 3.3g-4
> install
> debian[~]$ wajig status jsmath-fonts
> Package Installed Previous Now State
> =======================-===============-===============-===============-=====
> jsmath-fonts 1.3-1 1.3-1 1.3-1
> install
> debian[~]$ wajig status jsmath-fonts
> jsmath-fonts jsmath-fonts-sprite
> debian[~]$ wajig status jsmath-fonts-sprite
> Package Installed Previous Now State
> =======================-===============-===============-===============-=====
> jsmath-fonts-sprite 1.0-1 1.0-1 1.0-1
> install
>
> I always get the "No jsMath TeX fonts found " box, and the fonts are
> not as nice.
>
> This is not a big deal, but it does look nicer when it works.
I believe the current version of jsmath is 3.4, so that might be the
cause.
> Any help would be appreciated.
>
> Best to all,
>
> Luis
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
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://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---