Skip to content

Instantly share code, notes, and snippets.

Created August 1, 2013 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6134117 to your computer and use it in GitHub Desktop.
Save anonymous/6134117 to your computer and use it in GitHub Desktop.
127.0.0.1 - - [01/Aug/2013 11:49:26] "GET /testdb HTTP/1.1" 500 -
Error on request:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\werkzeug\serving.py", line 177, in run_wsg
i
execute(self.server.app)
File "C:\Python27\lib\site-packages\werkzeug\serving.py", line 167, in execute
for data in application_iter:
File "C:\Python27\lib\site-packages\werkzeug\debug\__init__.py", line 121, in
debug_application
secret=self.secret) \
File "C:\Python27\lib\site-packages\werkzeug\debug\tbtools.py", line 339, in r
ender_full
'summary': self.render_summary(include_title=False),
File "C:\Python27\lib\site-packages\werkzeug\debug\tbtools.py", line 315, in r
ender_summary
frame.render()
File "C:\Python27\lib\site-packages\werkzeug\debug\tbtools.py", line 402, in r
ender
'current_line': escape(self.current_line.strip())
File "C:\Python27\lib\site-packages\werkzeug\debug\tbtools.py", line 500, in c
urrent_line
return self.sourcelines[self.lineno - 1]
File "C:\Python27\lib\site-packages\werkzeug\utils.py", line 71, in __get__
value = self.func(obj)
File "C:\Python27\lib\site-packages\werkzeug\debug\tbtools.py", line 491, in s
ourcelines
codecs.lookup(charset)
TypeError: must be string without null bytes, not str
127.0.0.1 - - [01/Aug/2013 11:49:26] "GET /favicon.ico HTTP/1.1" 404 -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment