Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

![ScreenShot](screenshot.png?raw=true) #51

Closed
alexandre-mbm opened this issue Apr 3, 2014 · 1 comment
Closed

![ScreenShot](screenshot.png?raw=true) #51

alexandre-mbm opened this issue Apr 3, 2014 · 1 comment
Labels
Milestone

Comments

@alexandre-mbm
Copy link
Contributor

alexandre$ grip --gfm
 * Running on http://localhost:5000/
127.0.0.1 - - [02/Apr/2014 22:19:18] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [02/Apr/2014 22:19:19] "GET /screenshot.png?raw=true HTTP/1.1" 500 -
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1701, in __call__
    return self.wsgi_app(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1689, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1687, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1360, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1358, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1344, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/lib/python2.7/dist-packages/grip/server.py", line 59, in render
    return render_page(text, filename, gfm, context, app.config['STYLE_URLS'])
  File "/usr/local/lib/python2.7/dist-packages/grip/renderer.py", line 37, in render_page
    return index_template.render(content=render_content(text, gfm, context), filename=filename, style_urls=style_urls)
  File "/usr/local/lib/python2.7/dist-packages/grip/renderer.py", line 26, in render_content
    data = json.dumps(data)
  File "/usr/share/pyshared/simplejson/__init__.py", line 286, in dumps
    return _default_encoder.encode(obj)
  File "/usr/share/pyshared/simplejson/encoder.py", line 226, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/share/pyshared/simplejson/encoder.py", line 296, in iterencode
    return _iterencode(o, 0)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x89 in position 0: invalid start byte
127.0.0.1 - - [02/Apr/2014 22:19:19] "GET /screenshot.png?raw=true HTTP/1.1" 500 -
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1701, in __call__

See /alexandre-mbm/osm/blob/ubuntu+i18n/README.md.

@joeyespo joeyespo added the bug label Jun 14, 2014
@joeyespo joeyespo added this to the 2.1 milestone Jun 14, 2014
@joeyespo
Copy link
Owner

Just tested this locally. Seems to be working now.

Try pulling the latest (or upgrading to grip 2.1 once it's released), and let me know if you're still having problems with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants