Skip to content

Immediate crash due to mutagen failing to import #97

Description

@Quacklick

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions