Bug#765788: clive: "illegal backslash escape sequence in string" error if video title contains '\'
Alex 'AdUser' Z
ad_user at runbox.com
Sat Oct 18 04:56:50 UTC 2014
Package: clive
Version: 2.3.3-2
Severity: normal
Hi all! Found a bug with downloading some videos (described below).
Full error text:
--------------
alex ~ $ clive 'https://www.youtube.com/watch?v=EClmR8DPdaQ'
Checking ...done.
illegal backslash escape sequence in string, at character offset 72 (before "\\\x{41f}_\x{41f}/",...") at /usr/bin/clive line 284, <OPT> line 38.
--------------
Reproducible: always with this video.
Quick hack (don't use for a long time!):
--------------
sub process_queue
{
<...>
$o =~ tr|\\| |; # <- add this line
$media = JSON::XS::decode_json($o);
($r, $fpath) = get_media();
--------------
-- System Information:
Debian Release: 7.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages clive depends on:
ii curl 7.26.0-1+wheezy10
ii dpkg 1.16.15
ii libgetopt-argvfile-perl 1.11-1
ii libjson-xs-perl 2.320-1+b1
ii perl 5.14.2-21+deb7u1
ii quvi 0.4.2-1
clive recommends no packages.
Versions of packages clive suggests:
pn ffmpeg <none>
-- no debconf information
More information about the pkg-perl-maintainers
mailing list