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
Converting filenames with non-ascii characters (ErrCode 2074) #18
Comments
I wonder if you get the same problem when converting this DOC to PDF ? The LibreOffice (and OpenOffice) error-codes are ciphered inside this document:
Which means:
Looking for the combination of 2074 and ERRCODE_IO_INVALIDPARAMETER gives some hints to what the cause(s) could be. It might be caused by unoconv, or by the input file. Is there a way to reproduce this ? |
Still not sure what 2074 means in this case, but I noticed I couldn't convert an ODT or a DOC directly to JPG either, but it does work by first converting to PDF and then converting to JPG. Same for PNG, which is weird as I remember this use-case to have worked before ? The error is caused by document.storeToURL() and does not seem influenced by the output properties. Fails both on OpenOffice 3.2.1 as well as LibreOffice 3.4.4 :-/ |
Hello Dag, I can convert doc to pdf, but cannot convert them to jpg directly as in your case. But still I cannot convert ppt / pptx to pdf as middle step to convert them to jpg as target. Any idea on how to solve? Thanks! |
Not really, the issue is the 2074 ErrCode, if we know what the cause is of that we know how to fix it. Unfortunately the error is not very specific and only one of the developers can help understand what is going on. |
Should I investigate what the errCode means, or will you ? We're planning to use UnoConv on a corporate and daily basis, so it would be important to have this fix asap. Thanks anyway |
The problem is that I am afraid that this ErrCode can have more than one cause. I don't know how to find the real cause in this case. I think you have to turn to the LibreOffice developers, however I don't know who would be able to help with this :-/ I have reported this before on the list. |
I have tried JODConverter as our developers are using this tool on a Windows box and this resolves in the same issue. Is this a *UNIX OO specific problem? |
Have you tried unoconv on Windows ? Just to make sure this is not a unoconv induced problem afterall ? |
I have no access to a windows host, so I cannot try this. |
Any news? |
Not really. Yesterday we made some fixes for unoconv on Windows and I discovered that 2074 also can happen when you are trying to convert using an export filter that does not exist (e.g. try doing fodt on OpenOffice 3.2). Maybe I am using an incorrect filter somewhere. Time to investigate JODConverter ! |
I ran this today on EL5 and experienced the same error while converting odt to xhtml. The thing was that I was missing package: openoffice.org-xsltfilter.x86_64. After installing everything ran smoothly. Just remember that if running headleass, make sure to kill openoffice daemon after installing the missing package Hope this helps. Cheers. |
I have updated the documentation to reflect that killing existing instances may fix problems. I should also add that installing more libreoffice sub-packages might be necessary too. Thanks for reporting ! |
Sorry. But I find that filename with no extension may raise 2074 Error just now. env:
Everything is OK.
Then I create a symbolic link.
Everything is OK again. The filename of input file may effect LibreOffice/OpenOffice.org uno converter. If the file path of input file has un-ASCII characters 2074 Error may raise too. Hope this helps. Thanks for unoconv! |
Let's track this problem ! Thanks for reporting back the details. I am going to modify the issue's title ! |
I can no longer reproduce this with recent LibreOffice versions. So I assume this is fixed upstream. Can you please try again with the latest unoconv version from the master branch and a recent LibreOffice ? If you still have a problem, feel free to reopen this issue. |
As I am trying to export doc files to jpeg I get the following error.
I have restarted all my instances of openoffice, reinstalled everything, but still the same issue.
Any idea what the reason is as I am on a dead end
The text was updated successfully, but these errors were encountered: