Opened 9 years ago

Closed 9 years ago

#5423 closed defect (fixed)

moderation media panel doesn't work

Reported by: Boris Bobrov Owned by:
Priority: major Milestone: 0.9.0
Component: programming Keywords:
Cc: Parent Tickets:

Description

2016-02-23 03:36:42,148 ERROR   [waitress] Exception when serving /mod/media/
Traceback (most recent call last):
  File "/home/mediagoblin/mediagoblin/lib/python3.4/site-packages/waitress-0.8.10-py3.4.egg/waitress/channel.py", line 336, in service
    task.service()
  File "/home/mediagoblin/mediagoblin/lib/python3.4/site-packages/waitress-0.8.10-py3.4.egg/waitress/task.py", line 169, in service
    self.execute()
  File "/home/mediagoblin/mediagoblin/lib/python3.4/site-packages/waitress-0.8.10-py3.4.egg/waitress/task.py", line 388, in execute
    app_iter = self.channel.server.application(env, start_response)
  File "/home/mediagoblin/mediagoblin/mediagoblin/app.py", line 342, in __call__
    return self.call_backend(environ, start_response)
  File "/home/mediagoblin/mediagoblin/lib/python3.4/site-packages/Werkzeug-0.11.4-py3.4.egg/werkzeug/wsgi.py", line 599, in __call__
    return self.app(environ, start_response)
  File "/home/mediagoblin/mediagoblin/mediagoblin/app.py", line 276, in call_backend
    return self._finish_call_backend(request, environ, start_response)
  File "/home/mediagoblin/mediagoblin/mediagoblin/app.py", line 318, in _finish_call_backend
    response = controller(request)
  File "/home/mediagoblin/mediagoblin/mediagoblin/decorators.py", line 391, in new_controller_func
    return controller(request, *args, **kwargs)
  File "/home/mediagoblin/mediagoblin/mediagoblin/moderation/views.py", line 51, in moderation_media_processing_panel
    'processed_entries': processed_entries})
  File "/home/mediagoblin/mediagoblin/mediagoblin/tools/response.py", line 36, in render_to_response
    render_template(request, template, context),
  File "/home/mediagoblin/mediagoblin/mediagoblin/tools/template.py", line 144, in render_template
    rendered = template.render(context)
  File "/home/mediagoblin/mediagoblin/lib/python3.4/site-packages/Jinja2-2.8-py3.4.egg/jinja2/environment.py", line 989, in render
    return self.environment.handle_exception(exc_info, True)
  File "/home/mediagoblin/mediagoblin/lib/python3.4/site-packages/Jinja2-2.8-py3.4.egg/jinja2/environment.py", line 754, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/home/mediagoblin/mediagoblin/lib/python3.4/site-packages/Jinja2-2.8-py3.4.egg/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File "/home/mediagoblin/mediagoblin/mediagoblin/templates/mediagoblin/moderation/media_panel.html", line 18, in top-level template code
    {% extends "mediagoblin/base.html" %}
  File "/home/mediagoblin/mediagoblin/mediagoblin/templates/mediagoblin/base.html", line 67, in top-level template code
    {% block mediagoblin_body %}
  File "/home/mediagoblin/mediagoblin/mediagoblin/templates/mediagoblin/base.html", line 195, in block "mediagoblin_body"
    {% block mediagoblin_content %}
  File "/home/mediagoblin/mediagoblin/mediagoblin/templates/mediagoblin/moderation/media_panel.html", line 90, in block "mediagoblin_content"
    {% if media_entry.get_fail_exception() %}
  File "/home/mediagoblin/mediagoblin/mediagoblin/db/mixin.py", line 333, in get_fail_exception
    return common.import_component(self.fail_error)
  File "/home/mediagoblin/mediagoblin/mediagoblin/tools/common.py", line 34, in import_component
    __import__(module_name)
ImportError: No module named 'Unhandled exception'

Change History (1)

comment:1 by Boris Bobrov, 9 years ago

Keywords: python3 removed
Resolution: fixed
Status: newclosed
Summary: moderation media panel doesn't work in python3moderation media panel doesn't work

fixed in 7dcdc2d and 5eaf6c1, unrelated to python3

Note: See TracTickets for help on using tickets.