On Apr 20, 8:20 pm, "William Stein" <
wst...@gmail.com> wrote:
> On Sun, Apr 20, 2008 at 4:59 PM, gary <
gary.pa...@gmail.com> wrote:
>
> > I've installed sage 2.11 on Kubuntu 7.10, and I'm poking around.
>
> > In the tutorial, sec 2.9.2 (?) there are 3D graphics examples using
> > jmol. When I run these (adding show(P) to the scripts) jmol reports
> > that it is starting, but all I get is a black rectangle with the
> > letters "jmol" in the lower right corner. I've got a newly installed
> > java: 1.6.0_05, I think.
>
> > I *can* see the demos on the jmol website. Also, I've installed the
> > vmware version on the same machine (dual boot) and everything there
> > seems to work ok.
>
> > any ideas ??
>
> Which web browser are you using?
Thanks for responding ...
firefox 2.0.0.13
> What exact command are you using to start the notebook?
./sage at bash, then notebook()
>
> If notebook(), try using inotebook() instead.
sage starts, inotebook() seems to start, but
The browser spins and spins, but a page is never loaded.
However, I do now notice something that may or may not be an error
when notebook() is executed.
Here's what I see: (below this is the output from inotebook() )
-----------------------------------------------------------
gap@gap-laptop:~/bin/sage$ ./sage
----------------------------------------------------------------------
| SAGE Version 2.11, Release Date: 2008-03-30 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: notebook()
The notebook files are stored in: /home/gap/.sage//sage_notebook
****************************************************
* *
* Open your web browser to
https://localhost:8000 *
* *
****************************************************
There is an admin account. If you do not remember the password,
quit the notebook and type notebook(reset=True).
Removing stale pidfile /home/gap/.sage/sage_notebook/twistd.pd
2008/04/20 20:45 -0400 [-] Log opened.
2008/04/20 20:45 -0400 [-] twistd 2.5.0 (/home/gap/bin/sage/local/bin/
python 2.5.1) starting up
2008/04/20 20:45 -0400 [-] reactor class: <class
'twisted.internet.selectreactor.SelectReactor'>
2008/04/20 20:45 -0400 [-] Loading sage_notebook/twistedconf.tac...
2008/04/20 20:45 -0400 [-] Loaded.
2008/04/20 20:45 -0400 [-] twisted.web2.channel.http.HTTPFactory
starting on 8000
2008/04/20 20:45 -0400 [-] Starting factory
<twisted.web2.channel.http.HTTPFactory instance at 0x8a54ecc>
2008/04/20 20:45 -0400 [HTTPChannel,1,127.0.0.1] /home/gap/bin/sage/
local/lib/python2.5/site-packages/twisted/internet/defer.py:259:
exceptions.DeprecationWarning: Don't pass strings (like 'Bad token')
to failure.Failure (replacing with a DefaultException).
2008/04/20 20:45 -0400 [HTTPChannel,1,127.0.0.1] Exception rendering:
2008/04/20 20:45 -0400 [HTTPChannel,1,127.0.0.1] Unhandled Error
Traceback (most recent call last):
Failure: twisted.python.failure.DefaultException: Bad token
-----------------------------------------------------------------------------------------------------
sage: inotebook()
The notebook files are stored in: /home/gap/.sage//sage_notebook
WARNING: Running the notebook insecurely may be dangerous.
Make sure you know what you are doing.
**************************************************
* *
* Open your web browser to
http://localhost:8000 *
* *
**************************************************
Removing stale pidfile /home/gap/.sage/sage_notebook/twistd.pd
2008/04/20 20:42 -0400 [-] Log opened.
2008/04/20 20:42 -0400 [-] twistd 2.5.0 (/home/gap/bin/sage/local/bin/
python 2.5.1) starting up
2008/04/20 20:42 -0400 [-] reactor class: <class
'twisted.internet.selectreactor.SelectReactor'>
2008/04/20 20:42 -0400 [-] Loading sage_notebook/twistedconf.tac...
2008/04/20 20:42 -0400 [-] Loaded.
2008/04/20 20:42 -0400 [-] twisted.web2.channel.http.HTTPFactory
starting on 8000
2008/04/20 20:42 -0400 [-] Starting factory
<twisted.web2.channel.http.HTTPFactory instance at 0x8a53ecc>
2008/04/20 20:45 -0400 [-] (Notebook cleanly saved. Press control-C
again to exit.)
>
> William
-gary