Coder Social home page Coder Social logo

Comments (4)

sim0nx avatar sim0nx commented on June 29, 2024

Hi
Can you confirm that you have successfully installed the python module file-magic>=0.4.0 as well as the file magic DLL ?

from eml_parser.

sim0nx avatar sim0nx commented on June 29, 2024

The windows section at:
https://github.com/ahupp/python-magic

might help. Note: python-magic != file-magic, they share the same DLL though which is why I point you there.

from eml_parser.

DayDotMe avatar DayDotMe commented on June 29, 2024

Module file-magic installed well but indeed, it was apparently a missing DLL issue. To solve this I installed https://pypi.org/project/python-magic-bin/0.4.14/ which contains this file and now everything works fine. Thank you !

Edit: However, I get this error message: You are using python-magic, though this module requires file-magic. Disabling magic usage due to incompatibilities. I dont know how problematic it can be.

from eml_parser.

sim0nx avatar sim0nx commented on June 29, 2024

You installed python-magic along with the DLL. python-magic and file-magic use the same module name which is why their installation is mutually exclusive.
In your case this was detected and magic usage was disabled. What this means is that mime-types are not resolved dynamically and as such are missing from the output.

To fix this, you would need to uninstall python-magic-bin, re-install file-magic, and only download / build the "file magic" DLL from the before mentioned URL.

from eml_parser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.