Comments (4)
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.
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.
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.
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)
- module 'eml_parser' has no attribute 'EmlParser' HOT 2
- 'NoneType' object has no attribute 'group' HOT 1
- Distinguishing the body of attached emails from the main email body HOT 7
- Message ID parsing fails if no new line exists after value HOT 3
- KeyError when parsing subject HOT 7
- Infinite loop in regex searching for URL ending with unicode characters HOT 4
- Enhancement: Match HTML Anchor href and Image src HOT 2
- Email body parsing HOT 2
- Сonstantly different conclusion HOT 1
- can not install the latest version HOT 3
- How to solve email with pic HOT 2
- Domain Parser parsing out incorrect CSS/HTML Values HOT 3
- Unable to parse via stdin HOT 3
- "To", "From" or "Subject" sometimes None while analyzing the enron E-Mails HOT 1
- Parsing Fails on Malformed Address Parts HOT 1
- Handle invalid message-id format
- Documentation on expected output structures HOT 1
- Trouble installing HOT 1
- TypeError on load HOT 4
- Email address with special characters HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eml_parser.