Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#5335 closed defect (duplicate)

Particular PDF not uploading

Reported by: anongoblin Owned by:
Priority: trivial Milestone:
Component: programming Keywords:
Cc: Parent Tickets:

Description

Well, I have all sorts of PDFs being uploaded properly on the server. This one we will annex is simply not working.

This comes from paster log:

Error: Failed to load processor bash
No macro or processor named 'bash' found

Nothing useful shows up in media processing panel apart from upload failed.

We get the message of "whoa submitted" after uploading.

Change History (4)

comment:1 by anongoblin, 9 years ago

comment:2 by ayleph, 9 years ago

This may be caused by the issue reported in #5348 dealing with non-ASCII characters in the PDF metadata fields.

comment:3 by Loic Dachary, 9 years ago

Resolution: duplicate
Status: newclosed

There is not enough information in this issue (the offending PDF is not attached) to figure out exactly what happened. Marking as duplicate, assuming ayleph assertion is correct.

comment:4 by Loic Dachary, 9 years ago

FWIW, when uploading with 0.8.1 I see in the logs

2016-01-14 10:12:09,176 INFO    [mediagoblin.media_types] No plugins handled extension .pdf
2016-01-14 10:12:09,176 INFO    [mediagoblin.media_types] No plugins using two-step checking found

although the PDF shows up as it should. The plugin was configured with

RUN apt-get install -y poppler-utils
RUN cd /srv/mediagoblin.example.org/mediagoblin && echo '[[mediagoblin.media_types.pdf]]' | sudo -u mediagoblin tee -a mediagoblin_local.ini
RUN cd /srv/mediagoblin.example.org/mediagoblin && sudo -u mediagoblin bin/gmg dbupdate
Note: See TracTickets for help on using tickets.