• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Bug Windows / Crash if start as service/in background

Status
Not open for further replies.

Citricio

Member
Hello everyone,

first, i found this TeamSpeak/Musicbot tonight and it is the best one i tested so far, great job on that!

I tried to run the executable as a service/in background, sadly it fails to start up, after checking the log/output of the executable it looks for me like it dont like that he can't create the windows notification, would it possible (if it is not already) to get a start up parameter to stop all desktop outputs, trayicon and other stuff, i tested it with the teamspeak client, that one does not have a problem with it, sadly your bot got a problem with it (i think).

Output:

Code:
 ___ ___ _  _ _   _ ___ ___  ___ _____  BETA
/ __|_ _| \| | | | / __| _ )/ _ \_   _|
\__ \| || .` | |_| \__ \ _ \ (_) || | 
|___/___|_|\_|\___/|___/___/\___/ |_| 

Version: 0.9.13-3609644
(C) 2013-2016 Michael Friese. All rights reserved.

2016/09/11 07:59:57 c9946800          INFO   Loading instances
2016/09/11 07:59:57 c9946800          INFO   Loading instance://0fae429f-2c9e-4753-b2ba-22d65c8800cd
2016/09/11 07:59:57 c9946800 0fae429f INFO   Initialization complete
2016/09/11 07:59:57 c9946800 0fae429f INFO   Auto-Starting c9946800-1a43-4d92-806b-28d47394a8ad/0fae429f-2c9e-4753-b2ba-22d65c8800cd in 500 ms...
2016/09/11 07:59:57 c9946800 0fae429f INFO   Last track was , will auto-play soon
2016/09/11 07:59:57 [GENERAL/FFMPEG ] INFO   FFmpeg/avcodec v3747941; license: LGPL version 3 or later; 572 codecs
2016/09/11 07:59:57 [GENERAL/FFMPEG ] INFO   FFmpeg/avformat v3746148; license: LGPL version 3 or later; 146 formats
2016/09/11 07:59:57 [GENERAL/YTDL   ] INFO   youtube-dl checking...
2016/09/11 07:59:58 c9946800 0fae429f INFO   Auto-Playing last track
2016/09/11 07:59:58 c9946800 0fae429f DEBUG  Reseeding PRNG
2016/09/11 07:59:58 c9946800 0fae429f DEBUG  Done playing
2016/09/11 07:59:58 c9946800 0fae429f DEBUG  > PrepareListener
2016/09/11 07:59:58 c9946800 0fae429f DEBUG  < PrepareListener
2016/09/11 07:59:58 c9946800 0fae429f DEBUG  New channel
2016/09/11 07:59:58 c9946800 0fae429f INFO   Playing next from playlist: track://87b80c8f-6b30-4c9a-9524-d7626d38c817
2016/09/11 07:59:58 c9946800 0fae429f INFO   Starting instance ts3server://127.0.0.1?port=9987&nickname=%E2%99%AA%E2%94%8F%28%C2%B0.%C2%B0%29%E2%94%93%E2%99%AA%E2%94%8F%28%C2%B0.%C2%B0%29%E2%94%9B%E2%99%AA&password=&cid=116&channelpassword=
2016/09/11 07:59:58 [GENERAL/YTDL   ] INFO   youtube-dl version compatible, support enabled
2016/09/11 07:59:58 [GENERAL/!!!!!!!] NOTICE You may now configure and launch the bots from the webinterface. http://0.0.0.0:8087
panic: shell notify create failed

goroutine 70 [running]:
¦S
DÊ0°—µ¡:çp(0xa9b9a0, 0xc04203a4b0)
    /usr/local/go/src/runtime/panic.go:500 +0x1af
θN „Õ)ñ!ú;¶ŒËN›Š¿ù"¯R”«ä XžÒÝL(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /Çs´EÍÏñRãô:218 +0x85
$؍–'µk,pUñì·PU^Ü«z˜f¯‚˜(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    @,i¢{!³10Þå:4 +0x5e
YPⶁú7¯B:ñÔä(0xc04237e180, 0xc04237e240)
    _~GQsó0›msé¥:975 +0x5c
 ‰X‡Êì”’²Å0P()
    /usr/local/go/src/runtime/asm_amd64.s:2086 +0x1
created by main.main
    _~GQsó0›msé¥:1032 +0x1e75
___ ___ _  _ _   _ ___ ___  ___ _____  BETA
/ __|_ _| \| | | | / __| _ )/ _ \_   _|
\__ \| || .` | |_| \__ \ _ \ (_) || | 
|___/___|_|\_|\___/|___/___/\___/ |_| 

Version: 0.9.13-3609644
(C) 2013-2016 Michael Friese. All rights reserved.

2016/09/11 08:00:01 c9946800          INFO   Loading instances
2016/09/11 08:00:01 c9946800          INFO   Loading instance://0fae429f-2c9e-4753-b2ba-22d65c8800cd
2016/09/11 08:00:01 c9946800 0fae429f INFO   Initialization complete
2016/09/11 08:00:01 c9946800 0fae429f INFO   Auto-Starting c9946800-1a43-4d92-806b-28d47394a8ad/0fae429f-2c9e-4753-b2ba-22d65c8800cd in 500 ms...
2016/09/11 08:00:01 c9946800 0fae429f INFO   Last track was , will auto-play soon
2016/09/11 08:00:01 [GENERAL/FFMPEG ] INFO   FFmpeg/avcodec v3747941; license: LGPL version 3 or later; 572 codecs
2016/09/11 08:00:01 [GENERAL/FFMPEG ] INFO   FFmpeg/avformat v3746148; license: LGPL version 3 or later; 146 formats
2016/09/11 08:00:01 [GENERAL/YTDL   ] INFO   youtube-dl checking...
2016/09/11 08:00:01 c9946800 0fae429f INFO   Auto-Playing last track
2016/09/11 08:00:01 c9946800 0fae429f DEBUG  Reseeding PRNG
2016/09/11 08:00:01 c9946800 0fae429f DEBUG  > PrepareListener
2016/09/11 08:00:01 c9946800 0fae429f DEBUG  < PrepareListener
2016/09/11 08:00:01 c9946800 0fae429f DEBUG  Done playing
2016/09/11 08:00:01 c9946800 0fae429f DEBUG  New channel
2016/09/11 08:00:01 c9946800 0fae429f INFO   Playing next from playlist: track://87b80c8f-6b30-4c9a-9524-d7626d38c817
2016/09/11 08:00:01 c9946800 0fae429f INFO   Starting instance ts3server://127.0.0.1?port=9987&nickname=%E2%99%AA%E2%94%8F%28%C2%B0.%C2%B0%29%E2%94%93%E2%99%AA%E2%94%8F%28%C2%B0.%C2%B0%29%E2%94%9B%E2%99%AA&password=&cid=116&channelpassword=
2016/09/11 08:00:02 c9946800 0fae429f DEBUG  TS>Crashdump ENABLED,  directory is: D:\SinusBot\data\/ts3/c9946800-1a43-4d92-806b-28d47394a8ad/0fae429f-2c9e-4753-b2ba-22d65c8800cd/\crashdumps
2016/09/11 08:00:02 c9946800 0fae429f DEBUG  TS>DUMP defined! Dumpdir is: D:\SinusBot\data\/ts3/c9946800-1a43-4d92-806b-28d47394a8ad/0fae429f-2c9e-4753-b2ba-22d65c8800cd/\crashdumps
2016/09/11 08:00:02 c9946800 0fae429f DEBUG  New channel
2016/09/11 08:00:02 c9946800 0fae429f DEBUG  Error on call #5
2016/09/11 08:00:02 c9946800 0fae429f WARN   Could not send description command: HTTP returned an error: Error; Code: 500; Message: Error
2016/09/11 08:00:02 c9946800 0fae429f WARN   Could not send config: HTTP returned an error: Error; Code: 500; Message: Error
2016/09/11 08:00:02 c9946800 0fae429f WARN   Could not send config: HTTP returned an error: Error; Code: 500; Message: Error
2016/09/11 08:00:02 [GENERAL/YTDL   ] INFO   youtube-dl version compatible, support enabled
2016/09/11 08:00:02 [GENERAL/!!!!!!!] NOTICE You may now configure and launch the bots from the webinterface. http://0.0.0.0:8087
panic: shell notify create failed

goroutine 27 [running]:
¦S
DÊ0°—µ¡:çp(0xa9b9a0, 0xc04239dac0)
    /usr/local/go/src/runtime/panic.go:500 +0x1af
θN „Õ)ñ!ú;¶ŒËN›Š¿ù"¯R”«ä XžÒÝL(0x0, 0x0, 0x0, 0x0, 0x0, 0xc042331e30)
    /Çs´EÍÏñRãô:218 +0x85
$؍–'µk,pUñì·PU^Ü«z˜f¯‚˜(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    @,i¢{!³10Þå:4 +0x5e
YPⶁú7¯B:ñÔä(0xc04233c600, 0xc04233c660)
    _~GQsó0›msé¥:975 +0x5c
 ‰X‡Êì”’²Å0P()
    /usr/local/go/src/runtime/asm_amd64.s:2086 +0x1
created by main.main
    _~GQsó0›msé¥:1032 +0x1e75
___ ___ _  _ _   _ ___ ___  ___ _____  BETA
/ __|_ _| \| | | | / __| _ )/ _ \_   _|
\__ \| || .` | |_| \__ \ _ \ (_) || | 
|___/___|_|\_|\___/|___/___/\___/ |_| 

Version: 0.9.13-3609644
(C) 2013-2016 Michael Friese. All rights reserved.

2016/09/11 08:00:02 c9946800          INFO   Loading instances
2016/09/11 08:00:02 c9946800          INFO   Loading instance://0fae429f-2c9e-4753-b2ba-22d65c8800cd
2016/09/11 08:00:02 c9946800 0fae429f INFO   Initialization complete
2016/09/11 08:00:02 c9946800 0fae429f INFO   Auto-Starting c9946800-1a43-4d92-806b-28d47394a8ad/0fae429f-2c9e-4753-b2ba-22d65c8800cd in 500 ms...
2016/09/11 08:00:02 c9946800 0fae429f INFO   Last track was , will auto-play soon
2016/09/11 08:00:02 [GENERAL/FFMPEG ] INFO   FFmpeg/avcodec v3747941; license: LGPL version 3 or later; 572 codecs
2016/09/11 08:00:02 [GENERAL/FFMPEG ] INFO   FFmpeg/avformat v3746148; license: LGPL version 3 or later; 146 formats
2016/09/11 08:00:02 [GENERAL/YTDL   ] INFO   youtube-dl checking...
2016/09/11 08:00:03 c9946800 0fae429f INFO   Auto-Playing last track
2016/09/11 08:00:03 c9946800 0fae429f DEBUG  Reseeding PRNG
2016/09/11 08:00:03 c9946800 0fae429f DEBUG  > PrepareListener
2016/09/11 08:00:03 c9946800 0fae429f DEBUG  Done playing
2016/09/11 08:00:03 c9946800 0fae429f DEBUG  < PrepareListener
2016/09/11 08:00:03 c9946800 0fae429f DEBUG  New channel
2016/09/11 08:00:03 c9946800 0fae429f INFO   Playing next from playlist: track://87b80c8f-6b30-4c9a-9524-d7626d38c817
2016/09/11 08:00:03 c9946800 0fae429f INFO   Starting instance ts3server://127.0.0.1?port=9987&nickname=%E2%99%AA%E2%94%8F%28%C2%B0.%C2%B0%29%E2%94%93%E2%99%AA%E2%94%8F%28%C2%B0.%C2%B0%29%E2%94%9B%E2%99%AA&password=&cid=116&channelpassword=
2016/09/11 08:00:03 [GENERAL/YTDL   ] INFO   youtube-dl version compatible, support enabled
2016/09/11 08:00:03 [GENERAL/!!!!!!!] NOTICE You may now configure and launch the bots from the webinterface. http://0.0.0.0:8087
panic: shell notify create failed

goroutine 56 [running]:
¦S
DÊ0°—µ¡:çp(0xa9b9a0, 0xc042414340)
    /usr/local/go/src/runtime/panic.go:500 +0x1af
θN „Õ)ñ!ú;¶ŒËN›Š¿ù"¯R”«ä XžÒÝL(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /Çs´EÍÏñRãô:218 +0x85
$؍–'µk,pUñì·PU^Ü«z˜f¯‚˜(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    @,i¢{!³10Þå:4 +0x5e
YPⶁú7¯B:ñÔä(0xc0424581e0, 0xc042458240)
    _~GQsó0›msé¥:975 +0x5c
 ‰X‡Êì”’²Å0P()
    /usr/local/go/src/runtime/asm_amd64.s:2086 +0x1
created by main.main
    _~GQsó0›msé¥:1032 +0x1e75
___ ___ _  _ _   _ ___ ___  ___ _____  BETA
/ __|_ _| \| | | | / __| _ )/ _ \_   _|
\__ \| || .` | |_| \__ \ _ \ (_) || | 
|___/___|_|\_|\___/|___/___/\___/ |_| 

Version: 0.9.13-3609644
(C) 2013-2016 Michael Friese. All rights reserved.

2016/09/11 08:00:04 c9946800          INFO   Loading instances
2016/09/11 08:00:04 c9946800          INFO   Loading instance://0fae429f-2c9e-4753-b2ba-22d65c8800cd
2016/09/11 08:00:04 c9946800 0fae429f INFO   Initialization complete
2016/09/11 08:00:04 c9946800 0fae429f INFO   Auto-Starting c9946800-1a43-4d92-806b-28d47394a8ad/0fae429f-2c9e-4753-b2ba-22d65c8800cd in 500 ms...
2016/09/11 08:00:04 c9946800 0fae429f INFO   Last track was , will auto-play soon
2016/09/11 08:00:04 [GENERAL/FFMPEG ] INFO   FFmpeg/avcodec v3747941; license: LGPL version 3 or later; 572 codecs
2016/09/11 08:00:04 [GENERAL/FFMPEG ] INFO   FFmpeg/avformat v3746148; license: LGPL version 3 or later; 146 formats
2016/09/11 08:00:04 [GENERAL/YTDL   ] INFO   youtube-dl checking...
2016/09/11 08:00:05 c9946800 0fae429f DEBUG  Reseeding PRNG
2016/09/11 08:00:05 c9946800 0fae429f INFO   Auto-Playing last track
2016/09/11 08:00:05 c9946800 0fae429f DEBUG  > PrepareListener
2016/09/11 08:00:05 c9946800 0fae429f DEBUG  < PrepareListener
2016/09/11 08:00:05 c9946800 0fae429f DEBUG  Done playing
2016/09/11 08:00:05 c9946800 0fae429f DEBUG  New channel
2016/09/11 08:00:05 c9946800 0fae429f INFO   Playing next from playlist: track://87b80c8f-6b30-4c9a-9524-d7626d38c817
2016/09/11 08:00:05 c9946800 0fae429f INFO   Starting instance ts3server://127.0.0.1?port=9987&nickname=%E2%99%AA%E2%94%8F%28%C2%B0.%C2%B0%29%E2%94%93%E2%99%AA%E2%94%8F%28%C2%B0.%C2%B0%29%E2%94%9B%E2%99%AA&password=&cid=116&channelpassword=
2016/09/11 08:00:05 [GENERAL/YTDL   ] INFO   youtube-dl version compatible, support enabled
2016/09/11 08:00:05 [GENERAL/!!!!!!!] NOTICE You may now configure and launch the bots from the webinterface. http://0.0.0.0:8087
panic: shell notify create failed

goroutine 71 [running]:
¦S
DÊ0°—µ¡:çp(0xa9b9a0, 0xc042410eb0)
    /usr/local/go/src/runtime/panic.go:500 +0x1af
θN „Õ)ñ!ú;¶ŒËN›Š¿ù"¯R”«ä XžÒÝL(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /Çs´EÍÏñRãô:218 +0x85
$؍–'µk,pUñì·PU^Ü«z˜f¯‚˜(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    @,i¢{!³10Þå:4 +0x5e
YPⶁú7¯B:ñÔä(0xc0420740c0, 0xc042074120)
    _~GQsó0›msé¥:975 +0x5c
 ‰X‡Êì”’²Å0P()
    /usr/local/go/src/runtime/asm_amd64.s:2086 +0x1
created by main.main
    _~GQsó0›msé¥:1032 +0x1e75
 

flyth

is reticulating splines
Staff member
Developer
Contributor
I will fix that, thanks. However, as the bot launches a TS instance, I'm not sure, if that would make it work at all - I haven't checked yet if the client is able to run as a service itself, but I somehow doubt that.
 
Status
Not open for further replies.
Top