Letractively / sagenb

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

AttributeError: 'Worksheet' object has no attribute '_Worksheet__sage' #81

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We're seeing this error in the sagenb.org error logs:

2011-12-14 09:33:44-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.py", line 45, in wrapper            return f(username, id, **kwds)
          File "/sagenb/sage_install/sage-4.7.2/devel/sagenb/flask_version/worksheet.py", line 123, in wrapper
            return f(*args, **kwds)
          File "/sagenb/sage_install/sage-4.7.2/devel/sagenb/flask_version/worksheet.py", line 440, in worksheet_cell_update            worksheet.check_comp()
          File "/sagenb/sage_install/sage-4.7.2/devel/sagenb-flask/sagenb/notebook/worksheet.py", line 3206, in check_comp
            C.set_output_text(out, html, sage=self.sage())
          File "/sagenb/sage_install/sage-4.7.2/devel/sagenb-flask/sagenb/notebook/worksheet.py", line 2962, in sage
            return self.__sage
        exceptions.AttributeError: 'Worksheet' object has no attribute '_Worksheet__sage'

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

GoogleCodeExporter commented 9 years ago
I added some diagnostic code here: 
http://code.google.com/r/jasongrout-flask-sagenb/source/detail?r=c7f1391c90d20cc
29c9fee6eeb53414a6882cfc4

Original comment by jason-go...@creativetrax.com on 14 Dec 2011 at 8:02