Last modified: 2013-05-29 12:33:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50178, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48178 - Error creating thumbnail: "Warning: File has insufficient data for an image."
Error creating thumbnail: "Warning: File has insufficient data for an image."
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
PdfHandler (Other open bugs)
unspecified
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 41371
  Show dependency treegraph
 
Reported: 2013-05-06 20:32 UTC by seth
Modified: 2013-05-29 12:33 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
pdf file that can't be previewed by pdfhandler extension (3.04 MB, application/pdf)
2013-05-21 18:40 UTC, seth
Details

Description seth 2013-05-06 20:32:26 UTC
After uploading a particular pdf file (of size 4MB) the message

"Error creating thumbnail:
**** Warning: File has insufficient data for an image."

appears, where the "warning" line is repeated 5 times. The message closes with "convert: missing an image filename `[...]/images/tmp/transform_[...]-1.jpg'."
However, if I click on "Full resolution", the pdf file can be displayed by firefox/acroread. But there is no thumbnail/preview.

What could be the reason for this? (What do I have to do to isolate the problem?)

Other pdf files don't make such problems.
Comment 1 Sam Reed (reedy) 2013-05-06 20:35:47 UTC
Can you provide a copy of the file for testing? Otherwise it's somewhat stabbing in the dark
Comment 2 seth 2013-05-06 20:56:22 UTC
I understand that, but unfortunately I'm not allowed to do that. Maybe I can ask the user to generate a similar pdf but filled with whitespace.

pdfinfo said:
Creator:        Adobe InDesign CS5.5 (7.5)
Producer:       Adobe PDF Library 9.9
CreationDate:   Fri Jan  4 15:44:24 2013
ModDate:        Fri Jan  4 15:44:37 2013
Tagged:         yes
Pages:          1
Encrypted:      no
Page size:      1683.78 x 2383.94 pts
File size:      4229845 bytes
Optimized:      yes
PDF version:    1.4
Comment 3 Sam Reed (reedy) 2013-05-06 21:30:21 UTC
(In reply to comment #2)
> I understand that, but unfortunately I'm not allowed to do that. Maybe I can
> ask the user to generate a similar pdf but filled with whitespace.

If you can still duplicate the error on that file, that would be fine
Comment 4 seth 2013-05-21 18:40:22 UTC
Created attachment 12365 [details]
pdf file that can't be previewed by pdfhandler extension

ok, here's an example file that leads to such an error.
Comment 5 Andre Klapper 2013-05-24 14:06:41 UTC
seth: Which MediaWiki version is this about?
Comment 6 seth 2013-05-26 10:09:05 UTC
MediaWiki 1.20.2
PHP 5.3.3 (apache2handler)
Comment 7 Andre Klapper 2013-05-26 10:11:52 UTC
(In reply to comment #6)
> MediaWiki 1.20.2

Unrelated to this specific bug but I highly recommend upgrading to the latest 1.20.x.
Comment 8 Andre Klapper 2013-05-29 12:33:41 UTC
Problem is reproducible with testcase in comment 4 on http://commons.wikimedia.beta.wmflabs.org/wiki/Special:UploadWizard

Message: "The upload succeeded, but the server could not get a preview thumbnail"

Same message in bug 48700 comment 3.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links