I'm running kubuntu 8.04 and firefox 3 beta 5.  Using inotebook in 3.0
worked fine.
sage: inotebook()
The notebook files are stored in: /home/thomas/.sage//sage_notebook
WARNING: Running the notebook insecurely may be dangerous.
Make sure you know what you are doing.
"/home/thomas/.sage/
sage_notebook",address="localhost",port=8000,secure=False
**************************************************
*                                                *
* Open your web browser to http://localhost:8000 *
*                                                *
**************************************************
Removing stale pidfile /home/thomas/.sage/sage_notebook/twistd.pd
2008-05-07 12:41:48-0500 [-] Log opened.
2008-05-07 12:41:48-0500 [-] twistd 8.0.1 (/home/thomas/sage-3.0-
ubuntu32-intel-i686-Linux/local/bin/python 2.5.2) starting up
2008-05-07 12:41:48-0500 [-] reactor class: <class
'twisted.internet.selectreactor.SelectReactor'>
2008-05-07 12:41:48-0500 [-] twisted.web2.channel.http.HTTPFactory
starting on 8000
2008-05-07 12:41:48-0500 [-] Starting factory
<twisted.web2.channel.http.HTTPFactory instance at 0xb6bdef4c>
kfmclient(12578) ClientApp::doIt: Creating ClientApp
<unknown program name>(12580)/ ClientApp::doIt: Creating ClientApp
kioclient(12580) ClientApp::kde_open: KUrl("http://localhost:8000/";)

In contrast, running notebook or inotebook in 3.0.1 fails to open,
creating an internal server error.  It seems to be tied to the
addition of the "?startuptoken=stuff" added to the kde_open call. If I
manually open a page to http://localhost:8000/ I can log in and go
about business as normal.  Is there something obvious I'm flubbing
up?  The error message follows.

sage: notebook()
The notebook files are stored in: /home/thomas/.sage//sage_notebook
**************************************************
*                                                *
* Open your web browser to http://localhost:8000 *
*                                                *
**************************************************
Removing stale pidfile /home/thomas/.sage/sage_notebook/twistd.pd
2008-05-07 12:44:53-0500 [-] Log opened.
2008-05-07 12:44:53-0500 [-] twistd 8.0.1 (/home/thomas/sage-3.0.1-
ubuntu32-intel-sse2-i686-Linux/local/bin/python 2.5.2) starting up
2008-05-07 12:44:53-0500 [-] reactor class: <class
'twisted.internet.selectreactor.SelectReactor'>
2008-05-07 12:44:53-0500 [-] twisted.web2.channel.http.HTTPFactory
starting on 8000
2008-05-07 12:44:53-0500 [-] Starting factory
<twisted.web2.channel.http.HTTPFactory instance at 0xb6c0bf6c>
kfmclient(12886) ClientApp::doIt: Creating ClientApp
<unknown program name>(12888)/ ClientApp::doIt: Creating ClientApp
kioclient(12888) ClientApp::kde_open: KUrl("http://localhost:8000/?
startup_token=c7e37e02fffce90eedeb6907feab3045")
2008-05-07 12:44:54-0500 [HTTPChannel,1,127.0.0.1] /home/thomas/
sage-3.0.1-ubuntu32-intel-sse2-i686-Linux/local/lib/python2.5/site-
packages/twisted/internet/defer.py:262: exceptions.DeprecationWarning:
Don't pass strings (like 'Bad token') to failure.Failure (replacing
with a DefaultException).
2008-05-07 12:44:54-0500 [HTTPChannel,1,127.0.0.1] Exception
rendering:
2008-05-07 12:44:54-0500 [HTTPChannel,1,127.0.0.1] Unhandled Error
        Traceback (most recent call last):
        Failure: twisted.python.failure.DefaultException: Bad token

Thanks in advance for any insight.

Thomas Keller

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to