Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

[Web] Config editor errors for non-ascii configs #27

Open
rakiru opened this issue Jul 1, 2015 · 0 comments
Open

[Web] Config editor errors for non-ascii configs #27

rakiru opened this issue Jul 1, 2015 · 0 comments
Assignees
Labels

Comments

@rakiru
Copy link
Member

rakiru commented Jul 1, 2015

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/cyclone/web.py", line 1067, in _execute
    callbackArgs=(args, kwargs))
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 295, in addCallbacks
    self._runCallbacks()
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 577, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/cyclone/web.py", line 1102, in _execute_handler
    d = self._deferred_handler(function, *args, **kwargs)
--- <exception caught here> ---
  File "/usr/local/lib/python2.7/dist-packages/cyclone/web.py", line 1073, in _deferred_handler
    result = function(*args, **kwargs)
  File "/nope/Ultros/plugins/web/routes/admin/file.py", line 91, in get
    success=False
  File "/nope/Ultros/plugins/web/request_handler.py", line 98, in render
    self.finish(self.render_string(template_name, **kwargs))
  File "/nope/Ultros/plugins/web/request_handler.py", line 121, in render_string
    return template.render(**namespace)
  File "/usr/lib/python2.7/dist-packages/mako/template.py", line 397, in render
    return runtime._render(self, self.callable_, args, data)
  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 764, in _render
    **_kwargs_for_callable(callable_, data))
  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 796, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 822, in _exec_template
    callable_(context, *args, **kwargs)
  File "admin____base_html", line 87, in render_body

  File "admin_file_html", line 69, in render_body

exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2376: ordinal not in range(128)
Jul 01 2015 - 22:31:29 |                       Web | ERROR    | [81.131.121.78] GET /admin/files/config/plugins/triggers.yml -> HTTP 500

@rakiru rakiru added the Bug label Jul 1, 2015
@gdude2002 gdude2002 self-assigned this Jul 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants