Description of problem: Pdf2djvu complaint about not finding csepdjvu. It didn't work without it. The pdf file was created with Libre Office Writer. Version-Release number of selected component (if applicable): pdf2djvu 0.9.12 DjVuLibre 3.5.27 How reproducible: I just tried it once. Steps to Reproduce: + Install pdf2djvu with the command... urpmi pdf2djvu + Try to convert a pdf file into djvu , and read the output. Example: pdf2djvu -o 001.djvu -v 001.pdf 001.pdf: - page #1 -> #1 - image size: 2480x3508 External command "/usr/bin/csepdjvu ..." failed: No such file or directory + Failure. The file was not converted. + The csepdjvu was found in the djvulibre rpm + Install djvulibre-3.5.27-5.1.mga7.x86_64.rpm + Try once again to convert the file. Example: pdf2djvu -o 001.djvu -v 001.pdf 001.pdf: - page #1 -> #1 - image size: 2480x3508 - 4857 bytes out - page #2 -> #2 - image size: 2480x3508 - 3900 bytes out - page #3 -> #3 - image size: 2480x3508 - 3937 bytes out - page #4 -> #4 - image size: 2480x3508 - 4150 bytes out - page #5 -> #5 - image size: 2480x3508 - 3429 bytes out + Success!
Assigning to QA now, Advisory: ======================== There's a missing required dependency on the pdf2djvu package from Mageia 7. If no other packages pulling 'djvulibre' are installed on the computer, pdf2djvu can't convert a file without csepdjvu. This update adds this missing dependency. ======================== Packages in 7/core/updates_testing: ======================== pdf2djvu-0.9.12-3.1.mga7.x86_64.rpm pdf2djvu-0.9.12-3.1.mga7.i586.rpm Source RPM: ======================== pdf2djvu-0.9.12-3.1.mga7.src.rpm
CC: (none) => geiger.david68210Assignee: bugsquad => qa-bugs
mga7, x86_64 Removed djvulibre and tried: $ pdf2djvu -o test.djv UsingDocker.pdf UsingDocker.pdf: - page #1 -> #1 PDF syntax warning: Invalid Font Weight PDF syntax warning: Invalid Font Weight External command "/usr/bin/csepdjvu ..." failed: No such file or directory Updated pdf2djvu. $ sudo urpmi pdf2djvu To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Updates (distrib3)") djvulibre 3.5.27 5.1.mga7 x86_64 (medium "Core Updates Testing (distrib5)") pdf2djvu 0.9.12 3.1.mga7 x86_64 $ pdf2djvu -o test.djv UsingDocker.pdf - page #1 -> #1 PDF syntax warning: Invalid Font Weight PDF syntax warning: Invalid Font Weight - page #2 -> #2 [...] - page #355 -> #355 0.016 bits/pixel; 2.135:1, 53.16% saved, 8551169 bytes in, 4005297 bytes out $ djview4 test.djv The converted file displayed fine in the PDF viewer. $ pdf2djvu -o python.djv --hyperlinks=#f1ccd8 ProfessionalPython.pdf [...] - page #290 -> #290 0.011 bits/pixel; 2.064:1, 51.54% saved, 5227754 bytes in, 2533181 bytes out The output looked fine in djview4 but during the conversion there were numerous messages of this kind: - Warning: Unable to convert link with a JavaScript action. Running the command as a straight conversion also showed the warnings. Going back to first test PDF... $ pdf2djvu -o test2.djv --hyperlinks=#118800 UsingDocker.pdf worked fine, no errors, and the hyperlinks were highlighted in dark green when the mouse hovered over them, which helped to distinguish them from some of the red text highlights. Leaving the other options for the curious. Giving this the OK because the error quoted above is probably not relevant to the update.
Whiteboard: (none) => MGA7-64-OKCC: (none) => tarazed25
Validating. Advisory in Comment 1.
Keywords: (none) => validated_updateCC: (none) => andrewsfarm, sysadmin-bugs
Keywords: (none) => advisoryCC: (none) => davidwhodgins
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2020-0087.html
Status: NEW => RESOLVEDResolution: (none) => FIXED