#19877: Add SageNB exporter, Jupyter extension
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-7.0
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  Volker Braun       |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  ce071e56f7263b80900dae00a5fc2ce7ee07a34d
  u/vbraun/add_sagenb_exporter__jupyter_extension|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by egourgoulhon):

 I've installed the package atop sage 7.3.beta2 on Ubuntu 14.04 LTS with
 {{{
 git pull trac u/vbraun/add_sagenb_exporter__jupyter_extension
 make
 }}}
 Everything seemed OK, but when I run
 {{{
 ./sage --notebook=export --list
 }}}
 I get the error message
 {{{
 [C 14:58:52.386 NotebookApp] Bad config encountered during initialization:
 [C 14:58:52.386 NotebookApp] Unrecognized flag: '--list'
 }}}
 Maybe unrelated, but running the command without the flad `--list` (i.e.
 just `./sage --notebook=export`) yields
 {{{
 [W 14:59:48.618 NotebookApp] Error loading server extension
 sagenb_export.nbextension
     Traceback (most recent call last):
       File "/home/eric/sage-git/beta8/local/lib/python2.7/site-
 packages/notebook/notebookapp.py", line 1042, in init_server_extensions
         mod = importlib.import_module(modulename)
       File "/home/eric/sage-
 git/beta8/local/lib/python/importlib/__init__.py", line 37, in
 import_module
         __import__(name)
       File "/home/eric/sage-git/beta8/local/lib/python2.7/site-
 packages/sagenb_export-1.0-py2.7.egg/sagenb_export/nbextension/__init__.py",
 line 6, in <module>
         from sagenb_export.nbextension.list_handler import
 ListSageNBHandler
       File "/home/eric/sage-git/beta8/local/lib/python2.7/site-
 
packages/sagenb_export-1.0-py2.7.egg/sagenb_export/nbextension/list_handler.py",
 line 7, in <module>
         from sagenb_export.sagenb_reader import NotebookSageNB
       File "/home/eric/sage-git/beta8/local/lib/python2.7/site-
 packages/sagenb_export-1.0-py2.7.egg/sagenb_export/sagenb_reader.py", line
 7, in <module>
         from sagenb_export.unescape import unescape
       File "/home/eric/sage-git/beta8/local/lib/python2.7/site-
 packages/sagenb_export-1.0-py2.7.egg/sagenb_export/unescape.py", line 16,
 in <module>
         unescape = html.unescape
     AttributeError: 'module' object has no attribute 'unescape'
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19877#comment:15>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to