#5176: notebook chokes horribly on Umlautes
----------------------+-----------------------------------------------------
 Reporter:  malb      |       Owner:  boothby 
     Type:  defect    |      Status:  new     
 Priority:  blocker   |   Milestone:  sage-3.3
Component:  notebook  |    Keywords:          
----------------------+-----------------------------------------------------
 I have worksheet with the word "Gröbner" in it which prevents me from
 using the notebook at all because the listing of worksheets crashes.

 {{{
         Traceback (most recent call last):
           File ".../twisted/internet/defer.py", line 186, in addCallbacks
             self._runCallbacks()
           File ".../twisted/internet/defer.py", line 328, in _runCallbacks
             self.result = callback(self.result, *args, **kw)
           File ".../twisted/internet/defer.py", line 289, in _continue
             self.unpause()
           File ".../twisted/internet/defer.py", line 285, in unpause
             self._runCallbacks()
         --- <exception caught here> ---
           File ".../twisted/internet/defer.py", line 328, in _runCallbacks
             self.result = callback(self.result, *args, **kw)
           File ".../twisted/web2/server.py", line 296, in <lambda>
             d.addCallback(lambda res, req: res.renderHTTP(req), self)
           File ".../twisted/web2/resource.py", line 85, in renderHTTP
             return method(request)
           File ".../twisted/web2/resource.py", line 202, in http_GET
             return super(Resource, self).http_GET(request)
           File ".../twisted/web2/resource.py", line 128, in http_GET
             return self.render(request)
           File ".../sage/server/notebook/twist.py", line 1408, in render
             return self.render_list(ctx)
           File ".../sage/server/notebook/twist.py", line 1403, in
 render_list
             s = render_worksheet_list(ctx.args, pub=False,
 username=self.user)
           File ".../sage/server/notebook/twist.py", line 1390, in
 render_worksheet_list
             return template('worksheet_listing.html', **locals())
           File ".../sage/server/notebook/template.py", line 70, in
 template
             return str(tmpl.render(**context))
         exceptions.UnicodeEncodeError: 'ascii' codec can't encode
 character u'\xf6' in position 4445: ordinal not in range(128)
 }}}

 Before umlauts where displayed wrong but at least they didn't crash the
 server.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5176>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to