Page MenuHomePhabricator

ddjvu doesn't work correctly with mediawiki
Closed, DeclinedPublic

Description

Author: barnabedumoulin

Description:
When you use $wgDjvuRenderer = 'ddjvu'; and upload a djvu file, MediaWiki fails almost the time to create thumbnails and gives the following message :

« terminate called after throwing an instance of 'DJVU::GException'
pnmtojpeg: EOF / read error reading magic number »

So it is impossible to use djvu with mediawiki. It fails with version 1.17, but with 1.16 too.


Version: 1.17.x
Severity: critical
OS: Linux
Platform: PC
Whiteboard: aklapper-moreinfo

Details

Reference
bz23954

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:05 PM
bzimport set Reference to bz23954.
bzimport added a subscriber: Unknown Object (MLST).

barnabedumoulin wrote:

still nothing...

barnabedumoulin wrote:

still doesn't work. Thank for the help....

butry wrote:

How many Do you see this inforamtion (In reply to comment #0)

When you use $wgDjvuRenderer = 'ddjvu'; and upload a djvu file, MediaWiki fails
almost the time to create thumbnails and gives the following message :

« terminate called after throwing an instance of 'DJVU::GException'
pnmtojpeg: EOF / read error reading magic number »

So it is impossible to use djvu with mediawiki. It fails with version 1.17, but
with 1.16 too.

How many memory you give to ddjvu?
Have you seen this [http://www.mediawiki.org/wiki/Manual:How_to_use_DjVu_with_MediaWiki#Problems_and_solutions information]?

Dédé: If you have time, could you please update to a recent supported version (see http://www.mediawiki.org/wiki/Version_lifecycle ) and tell us if this problem still happens?
If this still happens, please add a comment to this report and tell us either your exact software version in case that you know (by updating the "Version" field of this bug report), or on which wiki the problem can be seen. You can find out about your version by going to the Special:Version page, such as https://www.mediawiki.org/wiki/Special:Version .

If the problem does not happen anymore at all, please set the status of this report to RESOLVED > WORKSFORME. Thanks a lot for your help!

This bug was opened more than 2 years ago and is most definitely caused by a local configuration issue. I don't think there is anything we can do about it so I am closing the bug report.