[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-11-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #24 from carcha...@arcor.de --- I tested some more. This php error from Comment #17 doesnot come from pdf-handler. It is a problem with all reuploads of deletetd files , also jpg and so on. So take that out. -- You are receiving th

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-11-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #23 from Tisza Gergő --- That makes sense, wfShellExec() uses proc_get_status(). Thanks for getting to the bottom of that! If you think a clearer warning would have been useful, I can open a new bug for that. Maybe wfShellExecDisab

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-11-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #22 from Rob Kam --- I think it's not $wgPdfHandlerDpi = '150'; - I've removed that from LocalSettings,php and uploaded a pdf. It's dimensions are then given as 0 × 0 (533 KB), re-uploading the same file gets the same result, but ..

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-11-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #21 from Tisza Gergő --- And if you remove that line from LocalSettings.php, PDF uploads break again? Also, could you test what happens if you set it as a number and not as a string (that is, $wgPdfHandlerDpi = 150; )? -- You are

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-11-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #20 from Rob Kam --- LocalSettings.php: require_once "$IP/extensions/PdfHandler/PdfHandler.php"; $wgPdfPostProcessor = $wgImageMagickConvertCommand; // defined via ImageMagick $wgPdfHandlerDpi = '150'; PdfHandler.image.php:65: glob

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-11-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #19 from Tisza Gergő --- I'm not convinced this is fixed. $wgPdfHandlerDpi has 150 as its default value (and that default has been added seven years ago), setting that again should have no effect, unless there is some deeper bug pre

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-11-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #18 from Tisza Gergő --- Carchaias, sounds like a permission problem. The directory is presumably your system default directory for temporary files. (See [[mw:Manual:$wgTmpDirectory]] for configuring that.) You should verify whether

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-11-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #17 from carcha...@arcor.de --- I tried the same (adding $wgPdfHandlerDpi = '150'; to LocalSettings.php, reupload a file). But when delete a file and reupload in Wiki I get a php error [19-Nov-2014 12:53:14 UTC] PHP Warning: COPY

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-11-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #16 from Rob Kam --- Thanks for your help. With $wgPdfHandlerDpi = '150'; it's now working fine. I'll delete the old files and re-upload them afresh. -- You are receiving this mail because: You are the assignee for the bug. You ar

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-11-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #15 from Gilles Dubuc --- I think that the only way to fix the first version is to manually edit the database entry for the file's metadata. Since it was uploaded before you had the shell stuff configured correctly, it probably reco

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-11-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #14 from Rob Kam --- LocalSettings.php now has the line $wgPdfHandlerDpi = '150'; Strangely if I go to the file page and do Upload a new version of this file - using the original file for the upload, it then works, displaying thumb

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-11-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 Gilles Dubuc changed: What|Removed |Added CC||gdu...@wikimedia.org --- Comment #13 fr

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-11-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 Andre Klapper changed: What|Removed |Added CC||mr...@trash-mail.com --- Comment #12 f

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-11-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 Andre Klapper changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-10-27 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #11 from Rob Kam --- I've done both refreshImageMetadata.php -f and rebuildImages.php -f but the pdf still doesn't display. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the b

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-10-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 Andre Klapper changed: What|Removed |Added Priority|Unprioritized |Normal -- You are receiving this mail

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-10-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #10 from Rob Kam --- pdfinfo HRM_OSC_SUB_flowchart.pdf Fontconfig error: Cannot load default config file Title: HRM_OSC_SUB_flowchart.eps Author: Rob Hordijk Creator:CorelDRAW Producer: Acrobat Distill

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-10-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #9 from Rob Kam --- Created attachment 16771 --> https://bugzilla.wikimedia.org/attachment.cgi?id=16771&action=edit Another pdf that fails to render. -- You are receiving this mail because: You are the assignee for the bug. You

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-10-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #8 from Tisza Gergő --- Can you test the pdf with the pdfinfo version you have on the server and see if it correctly extracts something like "Page size"? -- You are receiving this mail because: You are the assignee for the bug. Yo

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-10-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #7 from Rob Kam --- The problem is with the pdf, it's working fine with other pdfs. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-10-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #6 from Tisza Gergő --- You normally get "does not allow inline display" if the media handler cannot figure out the size of the image, which probably means that calling pdfinfo fails. Try to enable debug logging ([[mw:Manual:How_to_

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-10-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #5 from Rob Kam --- Image thumbnailing is fixed now but still getting "Linker::makeImageLink: File:Lorem.pdf does not allow inline display". -- You are receiving this mail because: You are the assignee for the bug. You are on the

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-10-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #4 from Rob Kam --- Sorry ... I think I've found there is a problem with the config - perhaps because of the way the shell is restricted aka jailshell. A newly uploaded png also doesn't get thumbnailed. In php.ini there is: disabl

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-10-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #3 from Rob Kam --- I've had a look at 70083. showJobs.php gives 0. runjobs.php --type createPdfThumbnailsJob ran okay. gs convert pdfinfo pdftotext all run okay from the command line, although I've not tried any interactively with

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-10-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 --- Comment #2 from Rob Kam --- Created attachment 16767 --> https://bugzilla.wikimedia.org/attachment.cgi?id=16767&action=edit Polyester_capacitor.pdf -- You are receiving this mail because: You are the assignee for the bug. You are on the

[Bug 72044] Linker::makeImageLink: File: .... .pdf does not allow inline display

2014-10-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044 Tisza Gergő changed: What|Removed |Added See Also||https://bugzilla.wikimedia.