Skip to content

Instantly share code, notes, and snippets.

@alexanderjulo
Created May 20, 2012 11:12
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 alexanderjulo/2757677 to your computer and use it in GitHub Desktop.
Save alexanderjulo/2757677 to your computer and use it in GitHub Desktop.
127.0.0.1 - - [20/May/2012 13:11:36] "GET /blog/ HTTP/1.1" 500 -
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/flask/app.py", line 1518, in __call__
return self.wsgi_app(environ, start_response)
File "/Library/Python/2.7/site-packages/flask/app.py", line 1506, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/Library/Python/2.7/site-packages/flask/app.py", line 1504, in wsgi_app
response = self.full_dispatch_request()
File "/Library/Python/2.7/site-packages/flask/app.py", line 1264, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Library/Python/2.7/site-packages/flask/app.py", line 1262, in full_dispatch_request
rv = self.dispatch_request()
File "/Library/Python/2.7/site-packages/flask/app.py", line 1248, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/Users/alexander/Projekte/blogen/blogen.py", line 123, in postindex
return render_theme_template(gen.config['THEME'], 'index.html', pagination=paginate(posts, page=1))
File "/Users/alexander/Projekte/blogen/blogen.py", line 97, in paginate
return Pagination(objects, page, gen.config['PER_PAGE'])
File "/Users/alexander/Projekte/blogen/blogen.py", line 65, in __init__
for element in objects:
File "/Library/Python/2.7/site-packages/flaskext/flatpages/__init__.py", line 141, in __iter__
return self._pages.itervalues()
File "/Library/Python/2.7/site-packages/werkzeug/utils.py", line 77, in __get__
value = self.func(obj)
File "/Library/Python/2.7/site-packages/flaskext/flatpages/__init__.py", line 192, in _pages
_walk(self.root)
File "/Library/Python/2.7/site-packages/flaskext/flatpages/__init__.py", line 187, in _walk
path = u'/'.join(path_prefix + (name_without_extension,))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 26: ordinal not in range(128)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment