Coder Social home page Coder Social logo

Comments (6)

alexander-gr avatar alexander-gr commented on June 29, 2024 4

I've just installed python-magic:
pip install python-magic

from eml_parser.

sim0nx avatar sim0nx commented on June 29, 2024 1

Hi,

I must admit that I have never tried eml_parser on windows. My guess is that you don't have the "magic" library installed (in addition to the python lib).

See the windows dependencies on https://github.com/ahupp/python-magic (not the library required for eml_parser but same windows deps).

Let me know if this works for you.

from eml_parser.

Foxdelmar avatar Foxdelmar commented on June 29, 2024

I have the same error. Windows 10, Python 3.6.3
I installed magic using: pip install libmagic

I found a few threads that discuss similar errors. For example pymedusa/Medusa#1843
This and other threads refer to the following bug: http://bugs.python.org/issue29082 which exists for more then one year. But with my knowledge I can not find a solution to solve this issue.

Do you have any clue?

from eml_parser.

sim0nx avatar sim0nx commented on June 29, 2024

I'm sorry but I can't really help you with Windows problems here besides the link I posted earlier :-/
If you don't necessarily need mime parsing support, give it a try without the mime library.

from eml_parser.

sal-git avatar sal-git commented on June 29, 2024

I submitted a pull request with the fix. It works on my machine now.

Check if it is a windows machine and if it is, use libmagic

from eml_parser.

sim0nx avatar sim0nx commented on June 29, 2024

Unfortunately as noted in the PR #16 , that is not a valid fix.
You must either remove the file-magic python library or properly install libmagic DLL.

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.