JNRowe/hubugs — Issue #17: Unicode Problems
Author: sorin-ionescu
Created: 2011-12-25 23:01:20+00:00
State: open

`hubugs -p robbyrussell/oh-my-zsh show -f -p 627`

Traceback (most recent call last):
File "/Users/sorin/Library/Python/2.7/bin/hubugs", line 8, in
load_entry_point('hubugs==0.11.0', 'console_scripts', 'hubugs')()
File "/Users/sorin/Library/Python/2.7/lib/python/site-packages/hubugs-0.11.0-py2.7.egg/hubugs/__init__.py", line 340, in main
parser.dispatch(pre_call=utils.set_api)
File "/Users/sorin/Library/Python/2.7/lib/python/site-packages/argh/helpers.py", line 300, in dispatch
return dispatch(self, *args, **kwargs)
File "/Users/sorin/Library/Python/2.7/lib/python/site-packages/argh/helpers.py", line 200, in dispatch
for line in lines:
File "/Users/sorin/Library/Python/2.7/lib/python/site-packages/argh/helpers.py", line 277, in _execute_command
for line in result:
File "/Users/sorin/Library/Python/2.7/lib/python/site-packages/argh/helpers.py", line 265, in _call
for line in result:
File "/Users/sorin/Library/Python/2.7/lib/python/site-packages/hubugs-0.11.0-py2.7.egg/hubugs/__init__.py", line 162, in show
yield tmpl.render(bug=bug, comments=comments, full=True, patch=patch)
File "/Users/sorin/Library/Python/2.7/lib/python/site-packages/Jinja2-2.6-py2.7.egg/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "/Users/sorin/Library/Python/2.7/lib/python/site-packages/hubugs-0.11.0-py2.7.egg/hubugs/templates/default/view/issue.txt", line 19, in top-level template code
{% block patch %}
File "/Users/sorin/Library/Python/2.7/lib/python/site-packages/hubugs-0.11.0-py2.7.egg/hubugs/templates/default/view/issue.txt", line 21, in block "patch"
{{ patch | highlight }}
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1800: ordinal not in range(128)