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

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

@rakiru

Description

@rakiru
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

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions