-
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
Failure to convert when specifying a non-existing output directory (ErrCode 283) #133
Comments
#133 fix export to non existent directory
Everything worked in 0.6 and libreoffice 4.1. I DID know where the output file would be, but now I have to do some weird magic to figure out the path. |
Agreed, unfortunately this patch breaks the "unoconv 0.6" behaviour to specify with
the exact absolute path to the output file. It tries now to create
and fails:
|
I tried fixing the bug vpa said.
My environment is:
And I chacked:
|
This should be fixed now. Feel free to reopen this issue if you still experience unexpected behavior. |
Hi Guys,
I noticed from 0.5 onwards there was a change in the way --output & --outputpath are used. It's entirely possible that the problem below is just me misunderstanding the available options :)
In the application I support, we specify a custom output directory for the exported document. This directory does not exist at the point of execution. It is created on the fly.
This process works with v0.4, but fails in 0.5 & 0.6.
In 0.5 the conversion starts, but LibreOffice dies when writing the export to disk, and leaves behind the ominous .lock file.
I've noticed I can fix the problem by altering unoconv:
In version 0.5, line 824, change
to
This seems to mimic the behavior of 0.4... but my python is not so great!
For reference here is the command I'm running:
And the software:
And the output:
**edit, included the wrong output message
The text was updated successfully, but these errors were encountered: