Custom Query (1174 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (91 - 93 of 1174)

Ticket Resolution Summary Owner Reporter
#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.

#5497 duplicate 0.9.0 pdf fails: No plugins using two-step checking found 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.

#5496 fixed 413 Request Entity Too Large Jorge
Description

nginx/1.10.2 mediagoblin 0.9.0

  1. setup production environment using nginx and systemd
  2. enable audio: https://mediagoblin.readthedocs.io/en/latest/siteadmin/media-types.html#audio
[plugins]
[[mediagoblin.plugins.geolocation]]
[[mediagoblin.plugins.basic_auth]]
[[mediagoblin.plugins.processing_info]]
[[mediagoblin.media_types.image]]
[[mediagoblin.media_types.video]]
[[mediagoblin.media_types.audio]]
[[mediagoblin.media_types.pdf]]
  1. upload an audio file
  2. see "413 Request Entity Too Large"

No further info in /var/log/nginx/mediagoblin.error.log and /var/log/mediagoblin/paster.log.

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