HoloArchivists / twspace-dl

A python module to download twitter spaces.
GNU General Public License v2.0
476 stars 78 forks source link

Immediate crash due to mutagen failing to import #97

Open Quacklick opened 1 year ago

Quacklick commented 1 year ago

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):

Additional context I have tried the following troubleshooting steps:

mikelei8291 commented 1 year ago

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

tunaflsh commented 1 year ago

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.