Deprecated: Use of "parent" in callables is deprecated in /var/www/html/forum/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php on line 431
  • 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.

2017/08/22 18:44:07 9b139c88 INFO Could not read playlist: invalid character 'W' looking

Status
Not open for further replies.
Operating System: Debian GNU/Linux 8.9 (jessie) (OpenVZ)
SinusBot Version: SinusBot 0.9.21-87a90ce
TS3 Version: 3.0.11.1 on Linux

Problem Description
I am trying to add a playlist to the webinterface, the playlist gets created however no songs are added, I found this error in the console.

INFO Could not read playlist: invalid character 'W' looking for beginning of value


Would love to hear what peoples thoughts are on this, I tried to reinstall sinusbot and youtube-dl. even trying a purge of the youtube-dl which did nothing.


I have attempted the fixes from the following threads:
https://wiki.sinusbot.com/en:guides...id_character_w_looking_for_beginning_of_value
https://forum.sinusbot.com/threads/cant-add-youtube-playlist-w-error.3483/
https://forum.sinusbot.com/threads/how-import-a-playlist-via-youtube-dl.643/#post-3430
But none of these fixed the error.

Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
 - Operating System: Debian GNU/Linux 8.9 (jessie) (OpenVZ)
 - OS x64 check: OK
 - Kernel: Linux 2.6.32-042stab112.15 x86_64
 - Load Average: 0.16 0.18 0.18
 - Uptime: 214 days, 0 hours, 31 minutes, 0 seconds
 - OS Updates: 0 (well done!)
 - OS Missing Packages: None (v1)
 - OS APT Last Update: 22.08.2017 18:42:08 EDT -04:00:00
 - Bot Start Script: found at /etc/init.d/sinusbot [perms: 755]
 - DNS resolution check: sinusbot.com resolved to 104.18.40.220 -> OK
 - HTTPS check with IPv4 mode: SUCCESS [Connection was established to sinusbot.com]
 - HTTPS check with IPv6 mode: FAILED  [Failed connecting to sinusbot.com]
 - CPU:

 - RAM:  B/1.00 GB in use (%)
 - SWAP:  B/ B in use (%)
 - DISK: 32.64 GB/7.35 GB in use (443%)
 - Package versions:
  > libglib: 2.42.1-1+b1

BOT INFORMATION
 - Status: running (PIDs: 31278 31277, User: ts3bot)
 - Webinterface: port locally reachable (Port: 8087)
 - Binary: /opt/sinusbot/sinusbot (MD5 Hash: f62c677c697c99ee7c4e624ae8822887)
 - Version: 0.9.21-87a90ce
 - TS3 Plugin: installed (md5 hash match)
  - Bot Plugin: 8aa3378ad883893f4942540dafbc00f2
  - TS3 Client: 8aa3378ad883893f4942540dafbc00f2
 - Config:
  - LogLevel = 3
  - TS3Path = /opt/sinusbot/teamspeak3-client/ts3client_linux_amd64 (Version 3.0.19.4)
  - YoutubeDLPath = /opt/sinusbot/youtube-dl (does exist, version: 2017.08.18)
 - Installed scripts: Animated Nickname.js; Change Channelcodec And Quality Automaticly.js; Channel Description Changer.js; Last_Track_On_Chat.js; Next_Track_Please.js; Now Playing.js; ShowPlaylists.js; Skipper.js; Steam_Server_Information.js; Youtube_Search.js; advertising.js; aloneMode.js; badchan.js; bookmark.js; come.js; covatar.js; dev.js; dice.js; followme.js; idle.js; metadata.js; norecording.js; rememberChannel.js; showcase.js; sound.js; welcometext.js

OTHER INFORMATION
 - Report date: 22.08.2017 18:45:45 EDT -04:00:00 (timezone: America/New_York)
 - TeamSpeak 3 Version: 3.0.19.4
 - youtube-dl Version: 2017.08.18
 - DiagScript version: 0.5.1
==========================================================
 

mxschmitt

Moderator
Staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
Try to download a video manually by executing:
Code:
youtube-dl "https://www.youtube.com/watch?v=-3RH8PUPiDE"
and send us the output.
 
Try to download a video manually by executing:
Code:
youtube-dl "https://www.youtube.com/watch?v=-3RH8PUPiDE"
and send us the output.

Here you go
Code:
root@Lithium:~# youtube-dl "https://www.youtube.com/watch?v=-3RH8PUPiDE"
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
[youtube] -3RH8PUPiDE: Downloading webpage
[youtube] -3RH8PUPiDE: Downloading video info webpage
[youtube] -3RH8PUPiDE: Extracting video information
[youtube] -3RH8PUPiDE: Downloading MPD manifest
[download] Destination: Dr._Peacock_@_Masters_of_Hardcore_2017--3RH8PUPiDE.mp4
[download] 100% of 977.39MiB in 00:17
 

NayronFX

New Member
I already fixed it :D

I just had to reconfigure LC_ALL and restart my VPS (i am an Idiot because i didn't restarted xD)
 

NayronFX

New Member
Do dpkg-reconfigure locales

And select the first Option (All locales)

It should look like this

XsBM5fj.png


Now Press the spacebar to select the box, in the Box should now be a "X" press the TAB Button and select Ok.

If you have done it correctly your Server is now reconfiguring the Locales.

When it's done all you have to do is restarting your Server with reboot
 
Last edited:
Do dpkg-reconfigure locales

And select the first Option (All locales)

It should look like this

XsBM5fj.png


Now Press the spacebar to select the box, in the Box should now be a "X" press the TAB Button and select Ok.

If you have done it correctly your Server is now reconfiguring the Locales.

When it's done all you have to do is restarting your Server with reboot


Hello, I run Debian so there are probably some differences.

I can the command you said and this came up where I selected All locales, it then downloaded and generated those.
kDitFrHlhG.png


I then did a reboot with
shutdown -r now

However after booting up I still get the LC_ALL error when downloading something.
 

NayronFX

New Member
I'm using Debain 8 and for me that was the fix, you should update your youtube-dl now and try it again.
 
Here is some code when using -v
Code:
root@Lithium:~# youtube-dl "https://www.youtube.com/watch?v=-3RH8PUPiDE" -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.youtube.com/watch?v=-3RH8PUPiDE', u'-v                          ']
WARNING: Assuming --restrict-filenames since file system encoding cannot encode                           all characters. Set the LC_ALL environment variable to fix this.
[debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out ANSI_X3.4-1968,                           pref ANSI_X3.4-1968
[debug] youtube-dl version 2017.08.27.1
[debug] Python version 2.7.9 - Linux-2.6.32-042stab112.15-x86_64-with-debian-8.9
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] -3RH8PUPiDE: Downloading webpage
[youtube] -3RH8PUPiDE: Downloading video info webpage
[youtube] -3RH8PUPiDE: Extracting video information
[youtube] -3RH8PUPiDE: Downloading MPD manifest
[debug] Default format spec: best
[debug] Invoking downloader on u'https://r8---sn-oapm-guhl.googlevideo.com/video                          playback?ip=2a00%3Ad880%3A5%3A721%3A%3A7dba&mt=1503955726&sparams=dur%2Cei%2Cid%                          2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2C                          pl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&mv=m&ms=au&mm=31&mn=sn-oapm-guhl&                          id=o-AFkhZtwd1DWWS-LPRIcWhvqxmBo4g3iqQnamSrXtLrE4&key=yt6&source=youtube&pl=47&e                          i=XIukWd_6O9mJ1gLv9a3QBA&itag=22&lmt=1503396383742307&ipbits=0&dur=3613.094&expi                          re=1503977405&requiressl=yes&initcwndbps=15000&mime=video%2Fmp4&pcm2cms=yes&rate                          bypass=yes&signature=6EE80C7230B2E5CA866F02997231F38FC63A031B.6119F78715569EE5A4                          D2A1E265483C8170967133'
[download] Dr._Peacock_@_Masters_of_Hardcore_2017--3RH8PUPiDE.mp4 has already be                          en downloaded
[download] 100% of 977.39MiB



and locale version

Code:
root@Lithium:~# locale --version
locale (Debian GLIBC 2.19-18+deb8u10) 2.19
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ulrich Drepper.
 
Status
Not open for further replies.
Top