-
Notifications
You must be signed in to change notification settings - Fork 289
Problems finding MIME type of .pptx #312
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
What version of libmagic are you using? I'd try updating that first of all.
…On Fri, Feb 23, 2024, 6:32 PM xXxNIKIxXx ***@***.***> wrote:
I have the problem, that normal pptx files are recognized as zip MIME
type. I tried exporting the Presentation as an Image Presentation, and it
works fine. The MIME type is recognized as
application/vnd.openxmlformats-officedocument.presentationml.presentation.
Is this intended, or is it an error?
Normal presentation.pptx
<https://github.com/ahupp/python-magic/files/14391489/Normal.presentation.pptx>
Image Presentation.pptx
<https://github.com/ahupp/python-magic/files/14391491/Image.Presentation.pptx>
—
Reply to this email directly, view it on GitHub
<#312>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAJ5EW7LGI3XDXNQZ2HUITYVFGM7AVCNFSM6AAAAABDXUM43KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2TEMBWGAYTCNY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
As far as i'm concerned i am using the newest version. Or is the newest version not available on pip? |
python-magic is an interface to the system's libmagic library, so you
(currently) would need to update that. If you are using python-magic-bin,
that packages an extremely old copy of the library and you should install
one more recent. I have some PRs to review that will add the binary but
it's not available yet.
…On Tue, Feb 27, 2024 at 1:26 AM xXxNIKIxXx ***@***.***> wrote:
As far as i'm concerned i am using the newest version. Or is the newest
version not available on pip?
—
Reply to this email directly, view it on GitHub
<#312 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAJ5EU4QENGKOE5GFSVWOLYVWRDTAVCNFSM6AAAAABDXUM43KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRWGEZDGNRRGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Adam Hupp | http://hupp.org/adam/
|
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
I have the problem, that normal pptx files are recognized as zip MIME type. I tried exporting the Presentation as an Image Presentation, and it works fine. The MIME type is recognized as
application/vnd.openxmlformats-officedocument.presentationml.presentation
. Is this intended, or is it an error?Normal presentation.pptx
Image Presentation.pptx
The text was updated successfully, but these errors were encountered: