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
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
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 ..
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
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
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
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
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
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
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
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
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044
Gilles Dubuc changed:
What|Removed |Added
CC||gdu...@wikimedia.org
--- Comment #13 fr
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044
Andre Klapper changed:
What|Removed |Added
CC||mr...@trash-mail.com
--- Comment #12 f
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044
Andre Klapper changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
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
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044
Andre Klapper changed:
What|Removed |Added
Priority|Unprioritized |Normal
--
You are receiving this mail
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
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
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
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.
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_
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
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
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
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
https://bugzilla.wikimedia.org/show_bug.cgi?id=72044
Tisza Gergő changed:
What|Removed |Added
See Also||https://bugzilla.wikimedia.
26 matches
Mail list logo