museofficial / muse

🎧 a self-hosted midwestern Discord music bot that doesn't suck
MIT License
914 stars 242 forks source link

Missing catch or finally after try #936

Open USAMcDoanldsUSA opened 1 year ago

USAMcDoanldsUSA commented 1 year ago

I installed version 2.2.4 using docker in a free tier oracle compute session. It was working flawlessly for about 3 days. Today whenever I try to play music it will not work. As for the cloud host, it has not reached any cap for bandwidth, memory, or storage usage.

I have tried playing: Youtube search Youtube direct link Spotify search Spotify direct link

When running docker logs I do not see any errors in the container. The only error I receive is from the bot on discord:

🚫 ope: Missing catch or finally after try

Other bot commands like disconnect and config work fine.

I have tried every combination of kicking the bot from the discord server, deleting the database, and trying different versions of the docker image.

The only thing I have not tried is using different api keys for spotify/youtube.

If there is another location to look for logs I am happy to post them here.

gamer228 commented 1 year ago

No need, we just need to wait for another fix for ytdl-core (as far as I suspect, this is the problem)

fathonyfath commented 1 year ago

I tried to rebuild the apps using updated libs from this comment: https://github.com/fent/node-ytdl-core/issues/1216#issuecomment-1525777869 and its working 😄

Paullitsch commented 1 year ago

I tried to rebuild the apps using updated libs from this comment: fent/node-ytdl-core#1216 (comment) and its working 😄

can you offer a branch?

USAMcDoanldsUSA commented 1 year ago

Looks like using ytdl 4.11.4 patch 1 is the better solution. But I was able to get it working by downgrading to 4.10.0. Allegedly its slower but I cant notice a difference and it works.

rainx0r commented 1 year ago

I tried to rebuild the apps using updated libs from this comment: fent/node-ytdl-core#1216 (comment) and its working 😄

I pushed an image to docker hub incorporating these fixes until this gets fixed on this repository.

Image is evangelosch2811/muse, corresponding repo is here,

codetheweb commented 1 year ago

Just tried and bot seems to be working for me with the current version of ytdl-core (4.11.4).

ahatdude commented 1 year ago

Just tried and bot seems to be working for me with the current version of ytdl-core (4.11.4).

Has it been pushed to docker? Sorry, can't seem to find it.

Thanks :-)

RedrootDEV commented 1 year ago

Just tried and bot seems to be working for me with the current version of ytdl-core (4.11.4).

Has it been pushed to docker? Sorry, can't seem to find it.

Thanks :-)

https://hub.docker.com/r/redr00t/muse