Letractively / sagenb

Automatically exported from code.google.com/p/sagenb
0 stars 0 forks source link

ascii decoding error #86

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
From sagenb.org:

2011-12-15 08:10:33-0800 [-] WSGI application error
        Traceback (most recent call last):
          File "/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/python/threadpool.py", line 230, in _worker
            o = self.q.get()
          File "/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args, **kw)
          File "/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/python/context.py", line 83, in callWithContext
            self.contexts.pop()
          File "/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/web/wsgi.py", line 338, in run
            self.started = True
        --- <exception caught here> ---
          File "/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/web/wsgi.py", line 313, in run
            appIterator = self.application(self.environ, self.startResponse)
          File "/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/flask/app.py", line 1518, in __call__
            return self.wsgi_app(environ, start_response)
          File "/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/flask/app.py", line 1506, in wsgi_app
            response = self.make_response(self.handle_exception(e))
          File "/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/flask/app.py", line 1504, in wsgi_app
            response = self.full_dispatch_request()
          File "/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/flask/app.py", line 1264, in full_dispatch_request
            rv = self.handle_user_exception(e)
          File "/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/flask/app.py", line 1262, in full_dispatch_request
            rv = self.dispatch_request()
          File "/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/flask/app.py", line 1248, in dispatch_request
            return self.view_functions[rule.endpoint](**req.view_args)
          File "/sagenb/sage_install/sage-4.7.2/devel/sagenb/flask_version/decorators.py", line 27, in wrapper
            return f(*args, **kwds)
          File "/sagenb/sage_install/sage-4.7.2/devel/sagenb/flask_version/worksheet_listing.py", line 213, in download_worksheets
            g.notebook.export_worksheet(worksheet.filename(), sws_filename)
          File "/sagenb/sage_install/sage-4.7.2/devel/sagenb-flask/sagenb/notebook/notebook.py", line 698, in export_worksheet
            S.export_worksheet(username, id_number, output_filename, title=title)
          File "/sagenb/sage_install/sage-4.7.2/devel/sagenb-flask/sagenb/storage/filesystem_storage.py", line 432, in export_worksheet
            f.write(old_heading + g.read())
        exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2259: ordinal not in range(128)

Original issue reported on code.google.com by jason-go...@creativetrax.com on 15 Dec 2011 at 10:14

GoogleCodeExporter commented 8 years ago
Fixed in ec8eafd1a568

Original comment by jason-go...@creativetrax.com on 17 Dec 2011 at 2:41

GoogleCodeExporter commented 8 years ago
William reviewed the latest git notebook.

Original comment by jason-go...@creativetrax.com on 10 Jan 2012 at 4:14