Skip to content

Loading…

UnicodeEncodeError: 'ascii' codec can't encode character u'\u0424' in position 0: ordinal not in ... #7

Closed
Rydgel opened this Issue · 0 comments

1 participant

@Rydgel
Owner

Need to fix that.

Stacktrace (most recent call last):

  File "flask/app.py", line 1687, in wsgi_app
    response = self.full_dispatch_request()
  File "flask/app.py", line 1360, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "flask/app.py", line 1358, in full_dispatch_request
    rv = self.dispatch_request()
  File "flask/app.py", line 1344, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "newrelic/api/object_wrapper.py", line 220, in __call__
    self._nr_instance, args, kwargs)
  File "newrelic/api/function_trace.py", line 81, in literal_wrapper
    return wrapped(*args, **kwargs)
  File "newrelic/api/object_wrapper.py", line 220, in __call__
    self._nr_instance, args, kwargs)
  File "newrelic/api/transaction_name.py", line 51, in literal_wrapper
    return wrapped(*args, **kwargs)
  File "/app/app.py", line 57, in placeholder
    im = pil_image(width, height, bgd, fgd, txt, font)
  File "helpers/pil.py", line 19, in pil_image
    font = _choose_font(font_size, font)
  File "helpers/pil.py", line 45, in _choose_font
    font_path = '{0}/font/{1}.otf'.format(dirname(dirname(__file__)), font)
@Rydgel Rydgel was assigned
@Rydgel Rydgel added a commit that closed this issue
@Rydgel utf-8 encoding issues. fixes #7 2fe7608
@Rydgel Rydgel closed this in 2fe7608
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.