Thanks for the report. I have opened an issue in sagenb [1]. It's puzzling since I didn't see this during the 6.1.beta* versions.

[1] https://github.com/sagemath/sagenb/issues/195

On 02/01/2014 10:14 PM, Eric Gourgoulhon wrote:
Hi,

I've just made a fresh install of Sage 6.1 from the sources (via git
clone) and noticed that LaTeX formulas in the notebook are not rendered
by Mathjax: they remain between $ symbols, as they have been typed. This
regards LaTeX formulas typed as comments in the text between the cells,
not the output cells (in the latter, the LaTeX display is OK, except for
a color problem: there is some mix of blue and dark green). There are
some error messages displayed in the console, which I copy below.

I tried with two different browsers (Firefox and Chromium). With Sage
6.0 everything was OK.
Do others have the same problem ?

Eric.

Error messages:

2014-02-01 14:50:14+0100 [-] WSGI application error
     Traceback (most recent call last):
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Twisted-13.1.0-py2.7-linux-x86_64.egg/twisted/python/threadpool.py",
line 212, in _worker
         o = self.q.get()
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Twisted-13.1.0-py2.7-linux-x86_64.egg/twisted/python/context.py",
line 118, in callWithContext
         return self.currentContext().callWithContext(ctx, func, *args,
**kw)
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Twisted-13.1.0-py2.7-linux-x86_64.egg/twisted/python/context.py",
line 83, in callWithContext
         self.contexts.pop()
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Twisted-13.1.0-py2.7-linux-x86_64.egg/twisted/web/wsgi.py",
line 340, in run
         self.started = True
     --- <exception caught here> ---
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Twisted-13.1.0-py2.7-linux-x86_64.egg/twisted/web/wsgi.py",
line 315, in run
         appIterator = self.application(self.environ, self.startResponse)
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py",
line 1836, in __call__
         return self.wsgi_app(environ, start_response)
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py",
line 1820, in wsgi_app
         response = self.make_response(self.handle_exception(e))
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py",
line 1403, in handle_exception
         reraise(exc_type, exc_value, tb)
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py",
line 1817, in wsgi_app
         response = self.full_dispatch_request()
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py",
line 1477, in full_dispatch_request
         rv = self.handle_user_exception(e)
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py",
line 1381, in handle_user_exception
         reraise(exc_type, exc_value, tb)
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py",
line 1475, in full_dispatch_request
         rv = self.dispatch_request()
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py",
line 1461, in dispatch_request
         return self.view_functions[rule.endpoint](**req.view_args)
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/sagenb-0.10.7.2-py2.7.egg/sagenb/flask_version/base.py",
line 144, in mathjax_js
         data = render_template('js/mathjax_sage.js',
theme_mathjax_macros=mathjax_macros)
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/templating.py",
line 128, in render_template
         context, ctx.app)
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/templating.py",
line 110, in _render
         rv = template.render(context)
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Jinja2-2.5.5-py2.7.egg/jinja2/environment.py",
line 891, in render
         return self.environment.handle_exception(exc_info, True)
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/sagenb-0.10.7.2-py2.7.egg/sagenb/data/sage/js/mathjax_sage.js",
line 30, in top-level template code
         {{ theme_mathjax_macros|join(',\n') }}
       File
"/home/eric/sage-git/sage-6.1/sage/local/lib/python2.7/site-packages/Jinja2-2.5.5-py2.7.egg/jinja2/filters.py",
line 241, in do_join
         return unicode(d).join(imap(unicode, value))
     exceptions.TypeError: 'function' object is not iterable



--
You received this message because you are subscribed to the Google
Groups "sage-devel" 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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" 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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to