Bug 18464 - cclive crashes with a lua exception on a YouTube URL.
Summary: cclive crashes with a lua exception on a YouTube URL.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-15 23:36 CEST by Shlomi Fish
Modified: 2019-06-07 22:58 CEST (History)
0 users

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Shlomi Fish 2016-05-15 23:36:23 CEST
shlomif@telaviv1:~$ cclive 'https://www.youtube.com/watch?v=n6KAGqjdmsk'

** (process:13167): CRITICAL **: [_chk_script_ident] /usr/share/libquvi-scripts/0.9/common/quvi/youtube.lua:109: module 'socket.url' not found:
        no field package.preload['socket.url']
        no file '/usr/share/lua/5.2/socket/url.lua'
        no file '/usr/share/lua/5.2/socket/url/init.lua'
        no file '/usr/lib/lua/5.2/socket/url.lua'
        no file '/usr/lib/lua/5.2/socket/url/init.lua'
        no file '/usr/lib64/lua/5.2/socket/url.lua'
        no file '/usr/lib64/lua/5.2/socket/url/init.lua'
        no file './socket/url.lua'
        no file '/usr/share/libquvi-scripts/0.9/common/socket/url.lua'
        no file '/usr/lib/lua/5.2/socket/url.so'
        no file '/usr/lib/lua/5.2/loadall.so'
        no file '/usr/lib64/lua/5.2/socket/url.so'
        no file '/usr/lib64/lua/5.2/loadall.so'
        no file './socket/url.so'
        no file '/usr/lib/lua/5.2/socket.so'
        no file '/usr/lib/lua/5.2/loadall.so'
        no file '/usr/lib64/lua/5.2/socket.so'
        no file '/usr/lib64/lua/5.2/loadall.so'
        no file './socket.so'
libquvi: error: Could not find any subtitle scripts in the path
shlomif@telaviv1:~$ 

Should we obsolete "cclive"? There's also youtube-dl.
Comment 1 Rémi Verschelde 2016-05-17 11:24:00 CEST
Assigning to all packagers collectively as cclive has no registered maintainer.

Assignee: bugsquad => pkg-bugs

Comment 2 Keith Bowes 2018-08-04 00:26:54 CEST
I'm all for obsoleting cclive/quvi. libquvi doesn't work with lua5.1+, which are the only versions that Mageia includes.  Plus, the scripts haven't been updated since 2013, so I doubt it would actually download the videos even if you used it with old Lua versions.  I know I reluctantly switched over to youtube-dl years ago, but things have progressed and youtube-dl+mpv is now better than clive/cclive/quvi+mplayer was.

Though, this bug itself would be easy to fix.  Just add lua-socket as a requirement in libquvi-scripts.spec.

CC: (none) => zooplah

Keith Bowes 2018-08-04 00:31:52 CEST

CC: zooplah => (none)

Comment 3 Shlomi Fish 2019-06-07 22:58:37 CEST
added obsoletes: to the next version of youtube-dl.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.