Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Immediate crash due to mutagen failing to import #97

Open
Quacklick opened this issue Aug 1, 2023 · 2 comments
Open

Immediate crash due to mutagen failing to import #97

Quacklick opened this issue Aug 1, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Quacklick
Copy link

Describe the bug
The program is entirely failing to run because it can't import from mutagen.

To Reproduce
Download the 2023-7-24 CLI release and attempt to run it. Any arguments can be added, or none at all, as the issue occurs before anything is processed.

Expected behavior
The program should attempt to download a Twitter Space.

Output

Traceback (most recent call last):
  File "twspace_dl\__main__.py", line 10, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "twspace_dl\__init__.py", line 4, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "twspace_dl\twspace_dl.py", line 10, in <module>
ModuleNotFoundError: No module named 'mutagen'
[13912] Failed to execute script '__main__' due to unhandled exception!

Desktop (please complete the following information):

  • OS: Windows 10
  • Version: 22H2 (build 19045.3208)
  • Installation method: Portable CLI Binary

Additional context
I have tried the following troubleshooting steps:

  • Closing all open programs
  • Redownloading the binary
  • Running the program from an admin shell
  • Upgrading, downgrading, uninstalling, and reinstalling Python
  • Updating, uninstalling, and reinstalling mutagen
  • Placing the binary in various places near or inside a manually-downloaded copy of mutagen
  • Restarting my computer many times
@Quacklick Quacklick added the bug Something isn't working label Aug 1, 2023
@mikelei8291
Copy link
Contributor

Cannot reproduce, try install with pip and make sure your PYTHONPATH environment is set to the Lib directory inside your Python installation.

@tunaflsh
Copy link

tunaflsh commented Nov 1, 2023

I have the same problem with the GUI portable release.

$ ./twspace-dl-GUI.exe
Traceback (most recent call last):
  File "twspace_dl\__main__.py", line 12, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "twspace_dl\__init__.py", line 4, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
  File "twspace_dl\twspace_dl.py", line 10, in <module>
ModuleNotFoundError: No module named 'mutagen'
[62356] Failed to execute script '__main__' due to unhandled exception!

No problems when installing CLI version with pip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants