-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opusscript_native._free is not a function #214
Comments
Thanks for the issue. I'll try to reproduce. |
Hi, this seems to stem from abalabahaha/opusscript#24. |
Just in case - a similar log from me:
It seems to also trigger when joining a voice channel (/summon), not only while trying to play something. |
I'm not really sure how to do it, but i'll give it a try |
Hi, sorry for my late reply on this topic. As long as abalabahaha/opusscript#23 doesn't get merged, I'm afraid that I can't build a test image with the bug fix. Copying the source files directly is often janky. @abalabahaha can you help us out? |
@manuel-rw abalabahaha updated opusscript a few hours ago, could you try now? |
Done. Github auto-closed the issue. Please let me know if it works now |
Any update @sssionek ? |
Yeah, I'm still having issues with crashes but they seem like a completely different issue - reported as #238.
Thank you for getting this fix in, while it doesn't solve the issue fully for me, it's at least a step closer ;) |
Describe the bug
ERROR [DiscordVoiceService] TypeError: opusscript_native._free is not a function
To Reproduce
Steps to reproduce the behavior:
1.Start the bot
2.Play any song
3.Disconnect the bot
4.Play another song and the bot will enter the chat but no sound is produced
LOG
yarn run v1.22.15
$ node dist/main
(node:28) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use
node --trace-warnings ...
to show where the warning was created)[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [NestFactory] Starting Nest application...
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] AppModule dependencies initialized +39ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] DiscordModule dependencies initialized +1ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] DiscoveryModule dependencies initialized +0ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] PlaybackModule dependencies initialized +0ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] ConfigHostModule dependencies initialized +1ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] ServeStaticModule dependencies initialized +1ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] TerminusModule dependencies initialized +0ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] ScheduleModule dependencies initialized +50ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] EventEmitterModule dependencies initialized +0ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] ConfigModule dependencies initialized +0ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] DiscordHostModule dependencies initialized +2ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] UpdatesModule dependencies initialized +1ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] JellyfinClientModule dependencies initialized +0ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] DiscordModule dependencies initialized +0ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] DiscordModule dependencies initialized +1ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] HealthModule dependencies initialized +0ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] DiscordClientModule dependencies initialized +1ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [InstanceLoader] CommandModule dependencies initialized +0ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [RoutesResolver] HealthController {/health}: +19ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [RouterExplorer] Mapped {/health, GET} route +2ms
[Nest] 28 - 08/06/2023, 11:06:00 PM LOG [PlayItemCommand] Subscribe to event(on): interactionCreate
(node:28) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 interactionCreate listeners added to [Client]. Use emitter.setMaxListeners() to increase limit
[Nest] 28 - 08/06/2023, 11:06:01 PM LOG [NestApplication] Nest application successfully started +688ms
[Nest] 28 - 08/06/2023, 11:06:42 PM LOG [RegisterCommandService] All global commands are registered!
[Nest] 28 - 08/06/2023, 11:09:37 PM WARN [JellyfinWebSocketService] Received a package from the socket of unknown type: UserDataChanged
[Nest] 28 - 08/06/2023, 11:12:05 PM ERROR [DiscordVoiceService] TypeError: opusscript_native._free is not a function
[Nest] 28 - 08/06/2023, 11:12:05 PM WARN [JellyfinWebSocketService] Received a package from the socket of unknown type: UserDataChanged
[Nest] 28 - 08/06/2023, 11:12:33 PM WARN [JellyfinWebSocketService] Received a package from the socket of unknown type: UserDataChanged
[Nest] 28 - 08/06/2023, 11:14:53 PM ERROR [DiscordVoiceService] TypeError: opusscript_native._free is not a function
[Nest] 28 - 08/06/2023, 11:14:54 PM WARN [JellyfinWebSocketService] Received a package from the socket of unknown type: UserDataChanged
[Nest] 28 - 08/06/2023, 11:16:00 PM WARN [JellyfinWebSocketService] Received a package from the socket of unknown type: UserDataChanged
[Nest] 28 - 08/06/2023, 11:17:35 PM WARN [JellyfinWebSocketService] Received a package from the socket of unknown type: UserDataChanged
[Nest] 28 - 08/06/2023, 11:18:06 PM WARN [JellyfinWebSocketService] Received a package from the socket of unknown type: UserDataChanged
[Nest] 28 - 08/06/2023, 11:20:43 PM ERROR [DiscordVoiceService] TypeError: opusscript_native._free is not a function
[Nest] 28 - 08/06/2023, 11:20:43 PM WARN [JellyfinWebSocketService] Received a package from the socket of unknown type: UserDataChanged
The text was updated successfully, but these errors were encountered: