Letractively / sagenb

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

TypeError: expected string or buffer #65

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is a traceback from sagenb.org:

2011-10-19 14:35:13-0700 [-] WSGI application error
        Traceback (most recent call last):
          File "/sagenb/sage_install/sage-4.7.1/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.1/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.1/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.1/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.1/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.1/local/lib/python2.6/site-packages/Flask-0.7.2-py2.6.egg/flask/app.py", line 1306, in __call__
            return self.wsgi_app(environ, start_response)
          File "/sagenb/sage_install/sage-4.7.1/local/lib/python2.6/site-packages/Flask-0.7.2-py2.6.egg/flask/app.py", line 1294, in wsgi_app
            response = self.make_response(self.handle_exception(e))
          File "/sagenb/sage_install/sage-4.7.1/local/lib/python2.6/site-packages/Flask-0.7.2-py2.6.egg/flask/app.py", line 1292, in wsgi_app
            response = self.full_dispatch_request()
          File "/sagenb/sage_install/sage-4.7.1/local/lib/python2.6/site-packages/Flask-0.7.2-py2.6.egg/flask/app.py", line 1062, in full_dispatch_request
            rv = self.handle_user_exception(e)
          File "/sagenb/sage_install/sage-4.7.1/local/lib/python2.6/site-packages/Flask-0.7.2-py2.6.egg/flask/app.py", line 1060, in full_dispatch_request
            rv = self.dispatch_request()
          File "/sagenb/sage_install/sage-4.7.1/local/lib/python2.6/site-packages/Flask-0.7.2-py2.6.egg/flask/app.py", line 1047, in dispatch_request
            return self.view_functions[rule.endpoint](**req.view_args)
          File "/sagenb/sage_install/sage-4.7.1/devel/sagenb/flask_version/base.py", line 235, in set_profiles
            openid_resp.fullname = re.sub(re_invalid_username_chars, '_', openid_resp.fullname)          File "/sagenb/sage_install/sage-4.7.1/local/lib/python/re.py", line 151, in sub
            return _compile(pattern, 0).sub(repl, string, count)        exceptions.TypeError: expected string or buffer

Here are the last three entries of hg log:

changeset:   649:04ebbe1a83a5
tag:         google_analytics.patch
tag:         qtip
tag:         tip
user:        Mike Hansen <mhansen@gmail.com>
date:        Wed Oct 19 00:13:00 2011 -0700
summary:     imported patch google_analytics.patch

changeset:   648:fca36adf4ca1
tag:         qbase
tag:         twisted11.patch
user:        Rado Kirov <rkirov@gmail.com>
date:        Fri Aug 26 01:17:50 2011 +0800
summary:     Finish updating to Twisted 11 and throw an error message if the 
subnets parameter is used.

changeset:   647:1768ef46a843
tag:         qparent
user:        Jason Grout <jason.grout@drake.edu>
date:        Wed Oct 19 02:11:26 2011 -0500
summary:     Add url_for to the flask template globals

Original issue reported on code.google.com by jason-go...@creativetrax.com on 19 Oct 2011 at 9:50

GoogleCodeExporter commented 8 years ago
This is (hopefully) fixed in e76e7541dbdb 
(http://code.google.com/r/jasongrout-flask-sagenb/source/detail?r=e76e7541dbdb07
ee74a4b08acd82953ae7e0fc58)

Original comment by jason-go...@creativetrax.com on 3 Nov 2011 at 3:39

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