• 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 mc_server_info (fehler)

Status
Not open for further replies.

Jay

Member
Hallo zusammen wem geht es noch so bei mir läuft das mc_server_info nicht mehr
das script wollte ich heute mal wieder aktivieren leider kam diese meldung.

2016-07-28T23:01:28+02:00 TS/ERR 1541 e'invalid parameter size' x'' r'PR:{d949eb38-9f46-405e-9304-ee1a06c3c7ac}:121/CUPD'
2016-07-28T23:01:28+02:00 >> BREQ POST /api/v1/channels/update
2016-07-28T23:01:28+02:00 [mc_server_info] API Error: Connection Timed out.
2016-07-28T23:01:27+02:00 >> BREQ GET /api/v1/channels
2016-07-28T23:01:27+02:00 GEThttps://mcapi.ca/query/Ip-steht-hier/info<nil>
2016-07-28T23:01:27+02:00 Loading script mc_server_info


Das script lief anfangs ja ohne probleme , deswegen wäre es schön wenn es wieder funktonieren würde.
Eine bitte hätte ich aber noch könnte man es auch so bauen das man mehrere server eintragen kann.

Danke im vorraus

Mfg:
Jay
 

CuZiMPr0

Member
Hey,
Habe fast den gleichen Fehler :(

Code:
2016/08/01 03:49:15 12c3f0a4 6e8312b9 DEBUG  GEThttps://mcapi.ca/query/mc.soulforge.tk/info<nil>
2016/08/01 03:49:16 12c3f0a4 6e8312b9 DEBUG  >> BREQ POST /api/v1/channels/update
2016/08/01 03:49:16 12c3f0a4 6e8312b9 DEBUG  TS/ERR 1541 e'invalid parameter size' x'' r'PR:{20ea97af-9a87-4973-a451-ce43a5c54b1d}:56/CUPD'

Channel bleibt gleich auch bei einem Spacer!
Geht dies beides?

Bei weiteren Infos füge ich bei Bedarf hinzu :)
Bitte um Hilfe :D

LG

Code:
root@mail:~/sinusbot-tools/tools# ./diagSinusbot.sh

[2016-08-01 03:56:49] [WELCOME] ================================================
[2016-08-01 03:56:49] [WELCOME] = HELLO! Please invest some time to read this. =
[2016-08-01 03:56:49] [WELCOME] =                                              =
[2016-08-01 03:56:49] [WELCOME] =  Thanks  for  using  this diagnostic script! =
[2016-08-01 03:56:49] [WELCOME] =  The  more  information  you   provide,  the =
[2016-08-01 03:56:49] [WELCOME] =  better  we  can help to solve your problem. =
[2016-08-01 03:56:49] [WELCOME] =                                              =
[2016-08-01 03:56:49] [WELCOME] =  The  execution  may  take  some  moments to =
[2016-08-01 03:56:49] [WELCOME] =  collection  the most  important information =
[2016-08-01 03:56:49] [WELCOME] =  of your system  and  your bot installation. =
[2016-08-01 03:56:49] [WELCOME] =                                              =
[2016-08-01 03:56:49] [WELCOME] =  After  everything  is  done, you will get a =
[2016-08-01 03:56:49] [WELCOME] =  diagnostic output, ready for copy & pasting =
[2016-08-01 03:56:49] [WELCOME] =  it within a CODE-tag in the Sinusbot forum. =
[2016-08-01 03:56:49] [WELCOME] =  [Link: https://forum.sinusbot.com]          =
[2016-08-01 03:56:49] [WELCOME] =                                              =
[2016-08-01 03:56:49] [WELCOME] =  No  private  information  will be collected =
[2016-08-01 03:56:49] [WELCOME] =  nor  the  data  will  be  sent to anywhere. =
[2016-08-01 03:56:49] [WELCOME] =  This  just generates an example forum post. =
[2016-08-01 03:56:49] [WELCOME] =                                              =
[2016-08-01 03:56:49] [WELCOME] =  The script does perform a DNS resolution of =
[2016-08-01 03:56:49] [WELCOME] =  the  domain 'google.com'  to  determine  if =
[2016-08-01 03:56:49] [WELCOME] =  your  DNS settings are working as expected. =
[2016-08-01 03:56:49] [WELCOME] ================================================
[2016-08-01 03:56:49] [WELCOME] = I am thankful for any feedback. Please  also =
[2016-08-01 03:56:49] [WELCOME] = report any issues you may find either on the =
[2016-08-01 03:56:49] [WELCOME] = Sinusbot forum or via GitHub issues. Thanks! =
[2016-08-01 03:56:49] [WELCOME] =   -- Patrik Kernstock. =
[2016-08-01 03:56:49] [WELCOME] ================================================

[2016-08-01 03:56:49] [WAIT] Press [ENTER] to continue...

[2016-08-01 03:56:52] [INFO] Starting diagSinusbot v0.4.5 [28.04.2016 22:25]...
[2016-08-01 03:56:52] [INFO] Checking for new diagnostic script version...
[2016-08-01 03:56:52] [OKAY] You are using the latest version.
[2016-08-01 03:56:52] [INFO] Detected operating system: Debian GNU/Linux 8.5 (jessie)
[2016-08-01 03:56:52] [INFO] Searching bot binary...
[2016-08-01 03:56:52] [DEBUG] Searching in directory '/root/sinusbot-tools/tools'...
[2016-08-01 03:56:52] [DEBUG] Searching in directory '/opt/ts3bot/'...
[2016-08-01 03:56:52] [DEBUG] Searching in directory '/home/sinusbot/'...
[2016-08-01 03:56:52] [DEBUG] Binary 'sinusbot' found.
[2016-08-01 03:56:52] [INFO] Binary found.
[2016-08-01 03:56:52] [DEBUG] Collecting information...
[2016-08-01 03:56:52] [INFO] (Scan may take some moments...)
[2016-08-01 03:56:52] [INFO] Collecting system information...
[2016-08-01 03:56:52] [DEBUG] Getting operating system version...
[2016-08-01 03:56:52] [DEBUG] Getting processor information...
lscpu: failed to determine number of CPUs: /sys/devices/system/cpu/possible: No such file or directory
[2016-08-01 03:56:52] [DEBUG] Checking for available operating system updates...
[2016-08-01 03:56:52] [DEBUG] Getting RAM information...
./diagSinusbot.sh: line 1203: 8192000 - : syntax error: operand expected (error token is "- ")
[2016-08-01 03:56:52] [DEBUG] Getting DISK information...
[2016-08-01 03:56:52] [INFO] Collecting bot information...
[2016-08-01 03:56:52] [DEBUG] Trying to get sinusbot version using version parameter...
[2016-08-01 03:56:52] [DEBUG] Loading bot config file...
[2016-08-01 03:56:52] [DEBUG] Determining bot status...
[2016-08-01 03:56:52] [DEBUG] Reading ListenPort from bot configuration...
[2016-08-01 03:56:52] [DEBUG] Getting installed bot scripts...
basename: extra operand 'in'
Try 'basename --help' for more information.
[2016-08-01 03:56:52] [DEBUG] Reading LogLevel from bot configuration...
[2016-08-01 03:56:52] [DEBUG] Reading TS3Path from bot configuration...
[2016-08-01 03:56:52] [DEBUG] Trying to get ts3client version...
[2016-08-01 03:56:52] [WARNING] The TeamSpeak 3 client 3.0.19 and newer is not compatible with Debian 8 and older. Please switch back to an older TeamSpeak 3 version (for example 3.0.18.2) or upgrade to a newer operating system which has newer dependencies.
[2016-08-01 03:56:55] [DEBUG] Checking installation of bot plugin in ts3client...
[2016-08-01 03:56:55] [DEBUG] Checking for 'youtube-dl'...
[2016-08-01 03:56:56] [DEBUG] Generating output...
(standard_in) 1: syntax error
(standard_in) 1: syntax error
./diagSinusbot.sh: line 402: [: -gt: unary operator expected
(standard_in) 1: syntax error
(standard_in) 1: syntax error
./diagSinusbot.sh: line 402: [: -gt: unary operator expected
(standard_in) 1: syntax error
(standard_in) 1: syntax error
./diagSinusbot.sh: line 402: [: -gt: unary operator expected


Please attach this output to your forum post:

[CODE]
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Debian GNU/Linux 8.5 (jessie) (OpenVZ)
- OS x64 check: OK
- Kernel: Linux 2.6.32-042stab116.2 x86_64
- Load Average: 0.04 0.14 0.15
- Uptime: 0 days, 8 hours, 19 minutes, 45 seconds
- OS Updates: 0 (well done!)
- OS Missing Packages: None (v1)
- OS APT Last Update: 01.08.2016 03:49:03 CEST +02:00:00
- Bot Start Script: found at /etc/init.d/sinusbot [perms: 755]
- DNS resolution check: google.com -> OK
- CPU:

- RAM:  B/7.81 GB in use (%)
- SWAP:  B/ B in use (%)
- DISK: 22.71 GB/117.30 GB in use (19%)
- Package versions:
   > libglib: 2.42.1-1+b1

BOT INFORMATION
- Status: running (PIDs: 20856 20855, User: sinusbot)
- Webinterface: port locally reachable (Port: 8087)
- Binary: /home/sinusbot/sinusbot (Hash: f61a001d17bdaa6d74dc04652ef2fcec)
- Version: 0.9.12.3-5b7c0cd
- TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: 3b0269841baede0f8e72bc8063e5b05e
   - TS3 Client: 3b0269841baede0f8e72bc8063e5b05e
- Config:
   - LogLevel = 10 (debug log active)
   - TS3Path = /home/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.0.19.4)
   - YoutubeDLPath = /usr/local/bin/youtube-dl (does exist, version: 2016.07.17)
- Installed scripts: NowPlaying.js; advertising.js; aloneMode.js; animatedNick.js; badchan.js; bookmark.js; covatar.js; dev.js; followme.js; idle.js; mc_server_info.js; metadata.js; norecording.js; rememberChannel.js; showcase.js; sound.js; welcometext.js; youtube; youtube.js; youtube_LICENSE

OTHER INFORMATION
- Report date: 01.08.2016 03:56:52 CEST +02:00:00 (timezone: Europe/Berlin)
- TeamSpeak 3 Version: 3.0.19.4
- youtube-dl Version: 2016.07.17
- DiagScript version: 0.4.5
==========================================================

Notice: For a better overview, post this data
in the forum within a CODE-tag!


[2016-08-01 03:56:56] [DEBUG] Done.
 
Last edited:

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
Hi,

ich versuch mir das mal anzusehen, bin allerdings gerade im Urlaub und hab nicht durchgehend Internet ^^
Wäre cool wenn irgendwer ne Lösung findet. :)
Ich glaube das Problem liegt an der Api.

Und das mach ich im nächsten Update dann auch:
Eine bitte hätte ich aber noch könnte man es auch so bauen das man mehrere server eintragen kann.
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
und noch ne Frage @Jay hast du das Script mehrmals aktiv?
 

CuZiMPr0

Member
Ist der Channelname vielleicht zu lang?
Nein.
Channel Perms sind = 0
Musikbot hat ServerAdmin + ASQ(AdminServerQuerry (aus TestGründen..)
914e61e27b6a4e9e9db072b5a23fb523.jpeg
9d15af04af384c38aa4e95d639d270d3.jpeg
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
@CuZiMPr0 doch, "channel name" darf nur max 40 zeichen enthalten (nach dem ersetzen der Platzhalter!) "mc.soulforge.tk is online (??/??) | Ping: ??" sind 44 Zeichen. ^^
Btw, vor pmax fehlt das Prozent Zeichen.

Ich werd vielleicht ne Warnung in der Console ausgeben lassen, wenn der Name zu lang ist, aber TeamSpeak Beschränkungen kann ich nicht aufheben xD
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
Danke, dass ihr gleich alle Infos mitliefert, das macht das Leben einfacher ^^
Und noch was: Bug reports und so möglichst in den entsprechenden Ressource Thread Posten oder mich Taggen (@irgendwer), damit ich Benachrichtigt werde. Dankö :)
 

CuZiMPr0

Member
Danke, dass ihr gleich alle Infos mitliefert, das macht das Leben einfacher ^^
Und noch was: Bug reports und so möglichst in den entsprechenden Ressource Thread Posten oder mich Taggen (@irgendwer), damit ich Benachrichtigt werde. Dankö :)
Ja normal ^^
Eigl wollte ich das da posten aber unter ähnliche Post's gab es dieses Thema ^^

Die Lösung des Problems wurde gelöst :)
@CuZiMPr0 doch, "channel name" darf nur max 40 zeichen enthalten (nach dem ersetzen der Platzhalter!) "mc.soulforge.tk is online (??/??) | Ping: ??" sind 44 Zeichen. ^^
Btw, vor pmax fehlt das Prozent Zeichen.

Danke! @irgendwer
LG
 
Status
Not open for further replies.
Top