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

Comment (by nthiery):

 After blasting away my `_sage_` notebooks:

 {{{
 sagenb-export --list
 Unique ID       | Notebook Name
 -------------------------------------------------------------------------------
 admin:3         | Running the sage -combinat script
 admin:11        | Sage Intro - Hagenberg
 admin:12        | Sorting monoids and algebras on Coxeter groups
 admin:15        | Crystal pictures and view
 admin:21        | Root systems
 admin:22        | Alain Maumejean
 Traceback (most recent call last):
   File "/opt/sage-git/local/bin/sagenb-export", line 9, in <module>
     load_entry_point('sagenb-export==1.0', 'console_scripts', 'sagenb-
 export')()
   File "/opt/ExportSageNB/sagenb_export/cmdline.py", line 49, in main
     action_list(dot_sage)
   File "/opt/ExportSageNB/sagenb_export/actions.py", line 18, in
 action_list
     tr(notebook.unique_id, notebook.name)
   File "/opt/ExportSageNB/sagenb_export/actions.py", line 9, in tr
     print('{0:<15} | {1}'.format(unique_id, name))
 UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in
 position 16: ordinal not in range(128)
 }}}

 This is presumably coming from a worksheet of mine whose name includes an
 accent. Most likely this is an utf-8 accent. I can investigate further if
 useful.

 Cheers,

--
Ticket URL: <https://trac.sagemath.org/ticket/19877#comment:19>
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