Booplicate / MAS-Submods-YouTubeMusic

A submod for MAS which allows you to listen to music from youtube
9 stars 9 forks source link

Crashes upon launch #29

Closed BrandiBlitz closed 2 years ago

BrandiBlitz commented 2 years ago

YouTube-Music submod does not support/work on MAS v0.12.8 and crashes upon launch

Booplicate commented 2 years ago

Can you send your traceback?

BrandiBlitz commented 2 years ago

Can you send your traceback?

[code] I'm sorry, but an uncaught exception occurred.

While running game code: File "game/Submods/YouTube Music/game/Submods/YouTube Music/ytm_utils.rpy", line 164, in script init python in ytm_utils: File "game/Submods/YouTube Music/game/Submods/YouTube Music/ytm_utils.rpy", line 171, in import youtube_dl ImportError: No module named youtube_dl

-- Full Traceback ------------------------------------------------------------

Full traceback: File "game/Submods/YouTube Music/game/Submods/YouTube Music/ytm_utils.rpy", line 164, in script init python in ytm_utils: File "C:\Users\brand\OneDrive\Desktop\Monika After Story\renpy\ast.py", line 814, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "C:\Users\brand\OneDrive\Desktop\Monika After Story\renpy\python.py", line 1719, in py_exec_bytecode exec bytecode in globals, locals File "game/Submods/YouTube Music/game/Submods/YouTube Music/ytm_utils.rpy", line 171, in import youtube_dl ImportError: No module named youtube_dl

Windows-8-6.2.9200 Ren'Py 6.99.12.4.2187 Monika After Story 0.12.8 [/code]

Booplicate commented 2 years ago

Looks like you didn't install it correctly - some files are missing.

BrandiBlitz commented 2 years ago

Looks like you didn't install it correctly - some files are missing.

i downloaded it directly from your repository though

Booplicate commented 2 years ago

Part of the problem might be because of that. You should use the latest release. But even if you did download the correct files, it doesn't mean you correctly extracted them. The only way why the game wouldn't be able to find youtube_dl is if you didn't add it.

That said, I'm currently reworking the submod updating it for Python 3 and fixing some other issues. You may want to wait a week or two and then try the new release.

BrandiBlitz commented 2 years ago

Part of the problem might be because of that. You should use the latest release. But even if you did download the correct files, it doesn't mean you correctly extracted them. The only way why the game wouldn't be able to find youtube_dl is if you didn't add it.

does that mean i have to download that youtube_dl separately?

okie, I can wait

Booplicate commented 2 years ago

No, I'm including youtube_dl, that's why I said you'd have it if you extracted properly.