Hello,

Fyi, it seems that the example from "sage: notebook?" for running your
own sage server does not seem to be working.

Any insight would be appreciated.

Usability suggestions: May I humbly suggest that the use case of "I
want to run a sage notebook (perhaps remotely)" be given higher
visibility, for example in the readme, perhaps as its own script, and
as a third line when running ./sage in text mode.

Thank you,
Mats

INPUT:
sage: notebook(address='', secure=True)

RESULT:
The notebook files are stored in: /home/mats/.sage//sage_notebook
In order to use an SECURE encrypted notebook, you must first run
notebook.setup().
Now running notebook.setup()
Using dsage certificates.
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call
last)

/home/mats/.sage/<ipython console> in <module>()

/home/mats/install/sage-3.0.2-suse-x86_64-bit-x86_64-Linux/local/lib/
python2.5/site-packages/sage/server/notebook/notebook_object.py in
__call__(self, *args, **kwds)
    141     """
    142     def __call__(self, *args, **kwds):
--> 143         return self.notebook(*args, **kwds)
    144
    145     notebook = run_notebook.notebook_twisted

/home/mats/install/sage-3.0.2-suse-x86_64-bit-x86_64-Linux/local/lib/
python2.5/site-packages/sage/server/notebook/run_notebook.py in
notebook_twisted(self, directory, port, address, port_tries, secure,
reset, accounts, require_login, server_pool, ulimit, timeout,
open_viewer, sagetex_path, start_path, fork, quiet)
    269     if open_viewer:
    270         "Open viewer automatically isn't fully implemented.
You have to manually open your web browser to the above URL."
--> 271     return run(port)
    272
    273

/home/mats/install/sage-3.0.2-suse-x86_64-bit-x86_64-Linux/local/lib/
python2.5/site-packages/sage/server/notebook/run_notebook.py in
run(port)
    141                 print "In order to use an SECURE encrypted
notebook, you must first run notebook.setup()."
    142                 print "Now running notebook.setup()"
--> 143                 notebook_setup()
    144             if not os.path.exists(private_pem) or not
os.path.exists(public_pem):
    145                 print "Failed to setup notebook.  Please try
notebook.setup() again manually."

/home/mats/install/sage-3.0.2-suse-x86_64-bit-x86_64-Linux/local/lib/
python2.5/site-packages/sage/server/notebook/run_notebook.py in
notebook_setup(self)
     37     dsage = os.path.join(DOT_SAGE, 'dsage')
     38     import sage.dsage.all
---> 39     sage.dsage.all.dsage.setup()
     40     shutil.copyfile(dsage + '/cacert.pem', private_pem)
     41     shutil.copyfile(dsage + '/pubcert.pem', public_pem)

/home/mats/install/sage-3.0.2-suse-x86_64-bit-x86_64-Linux/local/lib/
python2.5/site-packages/sage/dsage/dsage.py in setup(self, template)
    312         """
    313
--> 314         from sage.dsage.scripts.dsage_setup import setup
    315         setup(template=template)
    316

ImportError: No module named dsage_setup

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@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-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to