Ask Your Question
0

notebook with directory

asked 2013-03-01 05:49:32 +0100

czsan gravatar image

updated 2013-03-01 05:52:11 +0100

ppurka gravatar image

I tried to use another directory for notebook, but got the folowing :

sage: notebook("Chebyshev")
The notebook files are stored in: Chebyshev.sagenb



Please choose a new password for the Sage Notebook 'admin' user.
Do _not_ choose a stupid password, since anybody who could guess your password
and connect to your machine could access or delete your files.
NOTE: Only the hash of the password you type is stored by Sage.
You can change your password by typing notebook(reset=True).



Enter new password: 
Retype new password: 
Please login to the notebook with the username 'admin' and the above password.
User admin created with the password you specified.



**********************************************************************


**************************************************
*                                                *
* Open your web browser to http://localhost:8080 *
*                                                *
**************************************************
Executing twistd  --pidfile="Chebyshev/sagenb.pid" -ny "Chebyshev.sagenb/twistedconf.tac"
2013-03-01 11:32:10+0100 [-] Log opened.
2013-03-01 11:32:10+0100 [-] twistd 12.3.0 (/usr/lib/sagemath/local/bin/python 2.7.3) starting up.
2013-03-01 11:32:10+0100 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2013-03-01 11:32:10+0100 [-] Traceback (most recent call last):
2013-03-01 11:32:10+0100 [-]   File "/usr/lib/sagemath/local/bin/twistd", line 5, in <module>
2013-03-01 11:32:10+0100 [-]     pkg_resources.run_script('Twisted==12.3.0', 'twistd')
2013-03-01 11:32:10+0100 [-]   File "/usr/lib/sagemath/local/lib/python2.7/site-packages/distribute-0.6.16-py2.7.egg/pkg_resources.py", line 468, in run_script
2013-03-01 11:32:10+0100 [-]     self.require(requires)[0].run_script(script_name, ns)
2013-03-01 11:32:10+0100 [-]   File "/usr/lib/sagemath/local/lib/python2.7/site-packages/distribute-0.6.16-py2.7.egg/pkg_resources.py", line 1201, in run_script
2013-03-01 11:32:10+0100 [-]     execfile(script_filename, namespace, namespace)
2013-03-01 11:32:10+0100 [-]   File "/usr/lib/sagemath/local/lib/python2.7/site-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/EGG-INFO/scripts/twistd", line 14, in <module>
2013-03-01 11:32:10+0100 [-]     run()
2013-03-01 11:32:10+0100 [-]   File "/usr/lib/sagemath/local/lib/python2.7/site-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/scripts/twistd.py", line 27, in run
2013-03-01 11:32:10+0100 [-]     app.run(runApp, ServerOptions)
2013-03-01 11:32:10+0100 [-]   File "/usr/lib/sagemath/local/lib/python2.7/site-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/application/app.py", line 652, in run
2013-03-01 11:32:10+0100 [-]     runApp(config)
2013-03-01 11:32:10+0100 [-]   File "/usr/lib/sagemath/local/lib/python2.7/site-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/scripts/twistd.py", line 23, in runApp
2013-03-01 11:32:10+0100 [-]     _SomeApplicationRunner(config).run()
2013-03-01 11:32:10+0100 [-]   File "/usr/lib/sagemath/local/lib/python2.7/site-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/application/app.py", line 390, in run
2013-03-01 11:32:10+0100 [-]     self.postApplication()
2013-03-01 11:32:10+0100 [-]   File "/usr/lib/sagemath/local/lib/python2.7/site-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/scripts/_twistd_unix.py", line 230, in postApplication
2013-03-01 11:32:10+0100 [-]     self.startApplication(self.application)
2013-03-01 11:32:10+0100 [-]   File "/usr/lib/sagemath/local/lib/python2.7/site-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2013-03-01 05:53:43 +0100

ppurka gravatar image

There has been a recent regression in the notebook. Try to provide the .sagenb extension while launching the notebook on a particular directory. In your case, the command should be

sage: notebook('Chebyshev.sagenb')
edit flag offensive delete link more

Comments

Thank you, it solves the problem.

czsan gravatar imageczsan ( 2013-03-01 06:58:28 +0100 )edit

Feel free to accept ppurka's answer :)

kcrisman gravatar imagekcrisman ( 2013-03-01 08:55:43 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-03-01 05:49:32 +0100

Seen: 799 times

Last updated: Mar 01 '13