Custom Query (1173 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (112 - 114 of 1173)

Ticket Resolution Summary Owner Reporter
#5423 fixed moderation media panel doesn't work Boris Bobrov
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'

#5338 fixed mock requires setuptools>=17.1 ayleph
Description

Lately we've had a couple of users complain that make fails because the python2 install requires mock, and latest mock now requires a more recent version of setuptools than their distribution provides.

mock: mock requires setuptools>=17.1

Can we pin mock at a lower version to prevent this issue?

#5498 duplicate misleading messages uploading PDFs: No plugins using two-step checking found (0.9.0) Jorge
Description

Looks like the pdf plugin can't handle PDF files.

  1. Setup production environment:
  2. Enable PDF support: https://mediagoblin.readthedocs.io/en/latest/siteadmin/media-types.html#pdf-and-document

sudo apt-get install -y poppler-utils echo "mediagoblin.media_types.pdf" >> mediagoblin_local.ini git submodule init && git submodule update ./bin/gmg dbupdate sudo service mediagoblin-paster restart

  1. try to upload attached sample PDF
2017-02-10 00:49:20,798 INFO    [mediagoblin.init.plugins] Importing plugin module: mediagoblin.media_types.pdf
2017-02-10 01:20:43,799 INFO    [mediagoblin.media_types] No plugins handled extension .pdf
2017-02-10 01:20:43,800 INFO    [mediagoblin.media_types] No plugins using two-step checking found

From mediagoblin/media_types/init.py

def sniff_media(media_file, filename):
    '''
    Iterate through the enabled media types and find those suited
    for a certain file.
    '''
    # copy the contents to a .name-enabled temporary file for further checks
    # TODO: there are cases when copying is not required
    tmp_media_file = tempfile.NamedTemporaryFile()
    shutil.copyfileobj(media_file, tmp_media_file)
    media_file.seek(0)
    tmp_media_file.seek(0)
    try:
        return type_match_handler(tmp_media_file, filename)
    except TypeNotFound as e:
        _log.info('No plugins using two-step checking found')

Log messages look similar to #5348.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.