-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unoconv gets stuck converting one HTML into PDF #191
Comments
Exactly the same here when trying to convert an PS: just found an older related issue, #13 has the same error message. There @dagwieers suggested it might be a size limit of some kind concerning the output format. I'm just trying some other output formats meanwhile ( Some interesting side effects:
I've started the first conversion try in the morning before leaving for work, it still hung like that when I returned ~10h later. |
Hi! No luck, a couple of days ago I study the same issue again (but now with the latest version of Unoconv, 0.6), and the result is the same. I stop using unoconv (at least for this conversion), and I start exploring another alternatives. Good luck! |
@mauricioblur Same for me. I've ended up with an adventure, but was able to get the document fixed that way. Just in case, as it might be helpful to others stuck in the same path: Apache OO seems to be a little more forgiving here. It took quite long (a few hours), but it was able to load the document. As it turned out later, simply saving it again doesn't solve the issue (the "corrupt part" stays corrupt). "Luckily" I was anticipating something like that. and also generated a "Master Document" (File → Send → Create Master Document), slitting at the "top-level" of the headlines used. That generates as many Tried opening the resulting Luckily I had an older version of the same document from 2 days earlier. Splitted that up the very same way, copy-pasted the changes from the still readable "page 1", then replaced the resulting piece in the "broken document" by the updated one from the old version. As I obviously didn't want to continue working with that "split document", final steps where then "merging up" the parts (File → Export lets you do that, converting a "Master Document" with all its "split files" into a single |
@IzzySoft We have seen various problems with the (fragile) way unoconv converst documents (using an office listener and communicating with it). In most of the cases the cause is in LibreOffice/OpenOffice. If you cannot reproduce it using the graphical interface and/or using the native LibreOffice conversion options, it maybe be specific to unoconv itself. Using the latest LibreOffice/OpenOffice and/or trying older versions could be useful to find regressions and identify when it stopped working correctly. Or it might as well show the latest version fixes it. PS If you can send me such a document I can test it on my laptop (which has every LibreOffice installed since v3.3 up to v4.3). |
@dagwieers After having finally resolved the issue on my end (with my document), my conclusion is it's not a bug with reading the document – the document was definitely broken. How I conclude that? Literally all software I used for reading had trouble at the same page: unoconv, OO, LO, even the MS Word Viewer. So there must be a problem in the document itself. My comment above shows how I broke that down, and finally figured how to (hopefully) avoid it in the future: The document-in-question is using a lot of "frames" (mostly for graphics/pictures with their captions). It's a book I'm author of: I use LO to write it, convert it to Long story short: It's in my case obviously not a specific unoconv issue. But if you think it might be helpful, I still have the "borked document", so I could send it to you. |
It may be useful to test this document again with a recent LibreOffice and in case it still has difficulties, report this to the LibreOffice project. They may be able to improve their support for broken documents. I will close this issue. Thanks again for the feedback ! |
I seem to have hit this issue. In my case, I did open the offending document and convert to text manually. The error message I get, after hitting control C, is: unoconv: SystemError during import phase: No output file is created. This is on Debian 8.9, jessie. Libreoffice version is A quick examination in LibreOffice's Navigator indicates that there are no frames in the document. |
I'm trying to convert one HTML file into one PDF file. Usually, the process works fine with an important part of the HTML files. The command looks like:
unoconv -f pdf -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv search_003.html
The output is:
But for a few files, the process gets stuck on "Input file":
If I press CTRL + C, then:
My unoconv version is:
Any idea or suggestion of how to manage this problem?
Thank you very much!
The text was updated successfully, but these errors were encountered: