Closed MrKrucible closed 10 years ago
Hi!
Have you checked to make sure that the channel you are telling the bot to enter exists in your Mumble server? The channel that the bot starts in can be changed in config.lua
, and the default channel is "Music". If the channel does not exist piepan throws that error message. I'm planning on making the bot default to the root channel if this happens, just haven't gotten around to it quite yet.
@MrKrucible Were you able to figure out what the problem was?
First off sorry I couldn't reply sooner, busy weekend! Alright, did some "looking up" and found the proper way to tell the bot what channel to go to. That didn't fix the freezing problem though.
I'm still having issues with the bot freezing when entering the !add command. Currently running Debian 7 over here and it's a fresh install, and terminal doesn't give an error after the freeze. It's hard to tell where to start debugging myself, so any ideas on where to possibly begin?
I do though, have another box with Arch on it I'd prefer to use. Could you expand briefly on the Arch setup so I can just get the bot operational?
I just wanted to mention that piepan is single threaded. Any blocking calls you do in Lua will result in the entire thread being blocked. piepan.Thread
should be used to keep your bot responsive when doing background processing (example).
Alright, got the bot working on Arch. I needed vim & gvim to make piepan (thanks again bantibon). Everything is working smoothly now, except on the Debian machine.
Cool, so it is working on Arch but not Debian? I haven't tried Debian myself.
I will work on getting MumbleDJ threaded up. It has been on my to do list but I've been a bit busy.
Fixed with 193394caf1ee216092ed02b15665ba890a824375.
Output from terminal: $ botmaster@debian-swirl:~/mumbledj/mumbledj$ ./piepan -u Jukebot -s myipaddress mumbledj.lua $ Jukebot has connected to the server! $ Error: src/piepan_impl.lua:351: channel must be a piepan.Channel $ MrKrucible has told the bot to add the following URL to the queue: https://www.youtube.com/watch?v=mAFvaKAMAPg.
!kill does not disconnect the bot AFTER !add is entered, then the bot disconnects after a few seconds. Is this related to the piepan.Channel error or is there something I could me missing from the Setup?