Hi

A One Time Error with Work Around...

On Ubuntu 11.04, sage 4.6.2, plus python-2.6.4.p10.spkg 
to fix the crypt module, I start sage -notebook while firefox
is NOT running, and get this:

administration@aims-ethiopia-laptop:~$ sage -notebook
----------------------------------------------------------------------
| Sage Version 4.6.2, Release Date: 2011-02-25                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

Please wait while the Sage Notebook server starts...
...
The notebook files are stored in: sage_notebook.sagenb
**************************************************
*                                                *
* Open your web browser to http://localhost:8000 *
*                                                *
**************************************************
2011-05-11 09:37:11+0200 [-] Log opened.
2011-05-11 09:37:11+0200 [-] twistd 9.0.0 
(/usr/local/src/sage-4.6.2/local/bin/python 2.6.4) starting up.
2011-05-11 09:37:11+0200 [-] reactor class: 
twisted.internet.selectreactor.SelectReactor.
2011-05-11 09:37:11+0200 [-] twisted.web2.channel.http.HTTPFactory starting on 
8000
2011-05-11 09:37:11+0200 [-] Starting factory 
<twisted.web2.channel.http.HTTPFactory instance at 0x43ef518>
Traceback (most recent call last):
File "/usr/lib/firefox-4.0.1/xulapp-profilemigrator", line 22, in <module>
import glib
ImportError: No module named glib
2011-05-11 09:37:40+0200 [-] Quitting all running worksheets...
2011-05-11 09:37:40+0200 [-] Saving notebook...
2011-05-11 09:37:40+0200 [-] Notebook cleanly saved.
2011-05-11 09:37:40+0200 [-] (Port 8000 Closed)
2011-05-11 09:37:40+0200 [-] Stopping factory 
<twisted.web2.channel.http.HTTPFactory instance at 0x43ef518>
2011-05-11 09:37:40+0200 [-] Main loop terminated.
2011-05-11 09:37:40+0200 [-] Server Shut Down.
administration@aims-ethiopia-laptop:~$

Then I open firefox separately, and run sage -notebook 
and it opens without error. This has to be done only once,
thereafter sage -notebook will open firefox and the notebook
without error. This has happened on four new laptops.

Regards,
Jan
-- 
   .~. 
   /V\     Jan Groenewald
  /( )\    www.aims.ac.za
  ^^-^^ 

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

Reply via email to