Closed jhhcs closed 1 year ago
Your installation is corrupted (you are now the second person who is experiencing an issue with their install not working correctly, so maybe I need to look at the package on pypi and see if something weird happened). I can tell because the file structure changed, and the file throwing errors shouldn't even exist in your installation. Try uninstalling and the reinstalling the module.
Additionally, the structure of the module has changed, and extract_msg.message
is no longer a valid import. The Message class is an export of the extract_msg module directly, but it's source module is now extract_msg.msg_classes.message
Aha, I see the issue. The source distribution is fine but the wheel has files that shouldn't exist. I'm guessing my build system is missing a cleanup step that I didn't notice. I'll see what I can do to fix future packages. In theory these shouldn't cause problems unless you are trying to use the module with outdated code.
Edit: Correction, a step did exist, but somehow got removed? I'm guessing maybe I transferred over the wrong version of a file when redoing my release build system? Nothing I can really do about the existing releases, but I'll try to release the current version I'm working on soon to fix this. For now, you can uninstall the package and reinstall with the option --no-binary :all:
added to the end to ignore the corrupted wheel.
Alright, I've fixed this in the 0.45.0 release. The old files are no longer part of the .whl files that are distributed through pypi.
Bug Metadata
Describe the bug After installing the latest version via pip, the following import fails:
This indicates that the
chardet
dependency is missing fromsetup.py
. After installingchardet
, the following error occurs:This looks more serious; some functions in
message_base
do raiseBadHtmlError
, but this symbol is indeed not defined in theexceptions
module.