Skip to content
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

Give the mimetype / extension source separately (ErrCode 3088) #315

Closed
Taluu opened this issue Jan 19, 2016 · 5 comments
Closed

Give the mimetype / extension source separately (ErrCode 3088) #315

Taluu opened this issue Jan 19, 2016 · 5 comments

Comments

@Taluu
Copy link

Taluu commented Jan 19, 2016

I am currently running into a 3088 error when trying to convert ppt(x) documents to images (using the html format, then using only the images).

I found out why, it was because my file had a pattern like a hash sha1, without any extensions. When I appended an extension on the filename, it worked as expected.

As this filename format is the one we're using for all other converters mecanisms (such as ghostscript for pdfs), but as I have the extension (And even the mimetype) available, would it be possible to set those on separate options on unoconv ?

Thanks.

@dagwieers
Copy link
Member

I am willing to accept patches that make this use-case possible, if and only if it doesn't break the old use-cases. But if you suggested change would make it work better out-of-the-box, I don't see why we wouldn't merge this !

Thanks for the feedback. This may actually help other people having 3088 errors !

@dagwieers dagwieers added this to the Release 0.8 milestone Jan 19, 2016
@dagwieers dagwieers changed the title Give the mimetype / extension source separately Give the mimetype / extension source separately - ErrCode 3088 Jan 19, 2016
@Taluu
Copy link
Author

Taluu commented Jan 19, 2016

The thing is, I'm wondering if it is not a limitation from soffice ? Or do you think it could be handled here ?

@dagwieers
Copy link
Member

That's what we have to find out. Or maybe check with the LibreOffice developers.
Maybe check how LibreOffice handles files with incorrect/missing extensions ?

@dagwieers dagwieers changed the title Give the mimetype / extension source separately - ErrCode 3088 Give the mimetype / extension source separately (ErrCode 3088) Jan 19, 2016
@MartijnVdS
Copy link
Contributor

I've made an option to specify the "import filter name" (#343).

It allows you to set the name of the filter to use for importing the file (most useful if the file doesn't have an extension or comes in from stdin)

@regebro
Copy link
Member

regebro commented Feb 19, 2019

The import filter name seems to have solved the issue.

@regebro regebro closed this as completed Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants