Letractively / sagenb

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

ValueError: View function did not return a response #78

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
With the new server on sagenb.org:

2011-12-13 10:01:54-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/threadpo
ol.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", l
ine 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 1265, in full_dispatch_request
            response = self.make_response(rv)
          File "/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/flask/app.py", line 1332, in make_response
            raise ValueError('View function did not return a response')        exceptions.ValueError: View function did not return a response

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

GoogleCodeExporter commented 8 years ago
This probably came from some function that didn't actually return anything.  
For example, if an error happened, the function may just print and exit.

Finding such a function is a bit harder, though.

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

GoogleCodeExporter commented 8 years ago
This was fixed in 
http://code.google.com/r/jasongrout-flask-sagenb/source/detail?r=7f698a83bc16c16
b1b1fa7e66fbdd5c1631c5c0b

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

GoogleCodeExporter commented 8 years ago
This was fixed in 
http://code.google.com/r/jasongrout-flask-sagenb/source/detail?r=7f698a83bc16c16
b1b1fa7e66fbdd5c1631c5c0b

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

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