Bug 388514 - Printing djvu to pdf doesn't work
Summary: Printing djvu to pdf doesn't work
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: DjVu backend (show other bugs)
Version: 1.3.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-04 06:44 UTC by Kishore Gopalakrishnan
Modified: 2018-01-11 19:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2018-01-04 06:44:32 UTC
When I try to print a djvu file to a pdf file, I get a window with the following error message.

"Could not print the document. Unknown error. Please report to bugs.kde.org"

I could not figure out how to get debug information etc., but I would be happy to provide any additional information. I found this bug report (https://bugs.kde.org/show_bug.cgi?id=183895), but I have djvulibre installed.
Comment 1 Albert Astals Cid 2018-01-11 19:51:12 UTC
Git commit dcf544f8264967ac4cee90452714afa58dfd8a53 by Albert Astals Cid.
Committed on 11/01/2018 at 19:50.
Pushed by aacid into branch 'Applications/17.12'.

djvu: Fix printing

Seems this is a Qt regression? I had to move the tf.fileName() call earlier
because otherwise i was getting an empty string as name

M  +1    -1    generators/djvu/generator_djvu.cpp

https://commits.kde.org/okular/dcf544f8264967ac4cee90452714afa58dfd8a53