Closed Kinkyboo closed 1 year ago
Yeah I get this too
Running off PM2, same thing.
I'm also starting to get this issue on all videos, bot is completely broken for us. I have no logs though. It's only the standard bootup.
I get the same error no matter which version I try, tested 2.2.3, 2.2.2. 2.2.0, 2.1.9 So probably some old code that is breaking or related to a package
Same issue, running npm on a bisect server
same
Same issue even after running "npm install ytdl-core@latest" and rebuilding Docker image
I'm observing the same error message, here's the relevant portion of the logs when I use /play
:
2023-04-05T22:11:16.651Z prisma:client:libraryEngine sending request, this.libraryStarted: true
2023-04-05T22:11:16.652Z muse evalmachine.<anonymous>:25
[])||(0,c[2])((0,c[45])((0,c[25])(c[21],c[55],(0,c[11])()),c[2],(0,c[86])(c[55],c[53]),c[13],c[77],c[27]),c[52],c[62],c[74]),1==c[43]&&((0,c[45])((0,c[2])((0,c[13])(c[65+Math.pow(3,2)%391],c[85]),c[78],c[35],c[68]),c[2],((0,c[76])(c[3],c[77]),c[40])(c[77]),c[40],c[87]),1)||(((((0,c[13])(c[87],c[65]),c[52])(c[46],c[Math.pow(5,3)%149+-51]),c[47])(c[63],c[1]),c[62])(c[50],c[18]),c[28])(c[56],c[50])};lma(ncode);
^
SyntaxError: Missing catch or finally after try
at new Script (node:vm:100:7)
at Object.exports.decipherFormats (/usr/app/node_modules/ytdl-core/lib/sig.js:116:51)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)
at exports.getInfo (/usr/app/node_modules/ytdl-core/lib/info.js:401:17)
The output of the bot is the same as what OP observes.
Same Issue here
WARNING: ytdl-core is out of date! Update with "npm install ytdl-core@latest".
Issue in ytdl-core being tracked here: https://github.com/fent/node-ytdl-core/issues/1197
I tried downgrading ytdl-core to the version specified in the above thread, but still wasn't able to get it to work. I think we just have to sit tight and wait for a fix.
temporary workaround: https://hub.docker.com/r/redr00t/muse
Works very well with downgraded ytdl-core
temporary workaround: https://hub.docker.com/r/redr00t/muse
Works very well with downgraded ytdl-core
Thanks! This one works for the time being. My fellow gamers on my discord and me are a happy bunch! :)
This bot is the best ever made! (you got my gratitude for the hard work you put into it @codetheweb)
temporary workaround: https://hub.docker.com/r/redr00t/muse
Works very well with downgraded ytdl-core
+1 - Spun up a Docker machine on Vultr and pulled and worked immediately.
docker run -it -v "$(pwd)/data":/data -e DISCORD_TOKEN='APIKEY' -e SPOTIFY_CLIENT_ID='APIKEY' -e SPOTIFY_CLIENT_SECRET='APIKEY' -e YOUTUBE_API_KEY='APIKEY' docker.io/redr00t/muse:latest
temporary workaround: https://hub.docker.com/r/redr00t/muse Works very well with downgraded ytdl-core
+1 - Spun up a Docker machine on Vultr and pulled and worked immediately.
docker run -it -v "$(pwd)/data":/data -e DISCORD_TOKEN='APIKEY' -e SPOTIFY_CLIENT_ID='APIKEY' -e SPOTIFY_CLIENT_SECRET='APIKEY' -e YOUTUBE_API_KEY='APIKEY' docker.io/redr00t/muse:latest
temporary workaround: https://hub.docker.com/r/redr00t/muse Works very well with downgraded ytdl-core
Thanks! This one works for the time being. My fellow gamers on my discord and me are a happy bunch! :)
This bot is the best ever made! (you got my gratitude for the hard work you put into it @codetheweb)
I'm glad it worked for you guys!! I just uploaded an updated and stable image to fix some annoying bugs on the console. Fork: https://github.com/redr00t/muse-experimental Docker: https://hub.docker.com/r/redr00t/muse
temporary workaround: https://hub.docker.com/r/redr00t/muse Works very well with downgraded ytdl-core
+1 - Spun up a Docker machine on Vultr and pulled and worked immediately.
docker run -it -v "$(pwd)/data":/data -e DISCORD_TOKEN='APIKEY' -e SPOTIFY_CLIENT_ID='APIKEY' -e SPOTIFY_CLIENT_SECRET='APIKEY' -e YOUTUBE_API_KEY='APIKEY' docker.io/redr00t/muse:latest
I got WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested exec /usr/local/bin/docker-entrypoint.sh: exec format error but can run perfectly from the original one
Please be careful with all these forks / docker images.
temporary workaround: https://hub.docker.com/r/redr00t/muse Works very well with downgraded ytdl-core
+1 - Spun up a Docker machine on Vultr and pulled and worked immediately. docker run -it -v "$(pwd)/data":/data -e DISCORD_TOKEN='APIKEY' -e SPOTIFY_CLIENT_ID='APIKEY' -e SPOTIFY_CLIENT_SECRET='APIKEY' -e YOUTUBE_API_KEY='APIKEY' docker.io/redr00t/muse:latest
I got WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested exec /usr/local/bin/docker-entrypoint.sh: exec format error but can run perfectly from the original one
the error is clear, my image is compiled for AMD64 and your server is ARM64, you have the link of my github to compile it yourself, btw I will try to compile it for arm64 now ^^
EDIT: ready for amd64 and arm64
Please be careful with all these forks / docker images.
the source is public
https://github.com/fent/node-ytdl-core/issues/1197#issuecomment-1507693036
root ytdl bug has been fixed ^
Fixed in v2.2.4.
I'm still facing this issue on 2.2.4 - anyone else or is it just me?
Issue re-appeared today. Hard install back to ytdl-core 4.9.1 seems to work.
Likely needs to be fixed with an upstream patch.
What's happening? Error on /play
Logs
Screenshots
Additional context
Runtime I'm running Muse:
Versions