help command in cli interface is broken
Operating system: Arch Linux
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
Steps to reproduce:
- Run
rvlcorvlc -I cli. - In the vlc console enter the
helpcommand. - A list of available commands is not output, an error occurs instead.
$ rvlc -vvv
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000000c6c158] core libvlc debug: VLC media player - 2.2.1 Terry Pratchett (Weatherwax)
[0000000000c6c158] core libvlc debug: Copyright © 1996-2015 the VideoLAN team
[0000000000c6c158] core libvlc debug: revision 2.2.1-0-ga425c42
[0000000000c6c158] core libvlc debug: configured with ./configure '--prefix=/usr' '--sysconfdir=/etc' '--disable-rpath' '--enable-faad' '--enable-nls' '--enable-lirc' '--enable-ncurses' '--enable-realrtsp' '--enable-aa' '--enable-vcdx' '--enable-upnp' '--enable-opus' '--enable-sftp' 'LUAC=/usr/bin/luac' 'LUA_LIBS=-llua -lm' 'RCC=/usr/bin/rcc-qt4' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -I/usr/include/samba-4.0' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2 -I/usr/include/samba-4.0' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong'
[0000000000c6c158] core libvlc debug: searching plug-in modules
[0000000000c6c158] core libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[0000000000c6c158] core libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0000000000c6c158] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/visualization/libgoom_plugin.so' (libgoom2.so.0: cannot open shared object file: No such file or directory)
[0000000000c6c158] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/visualization/libprojectm_plugin.so' (libprojectM.so.2: cannot open shared object file: No such file or directory)
[0000000000c6c158] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libvcdx_plugin.so' (libvcdinfo.so.0: cannot open shared object file: No such file or directory)
[0000000000c6c158] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libdc1394_plugin.so' (libdc1394.so.22: cannot open shared object file: No such file or directory)
[0000000000c6c158] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libgnomevfs_plugin.so' (libgnomevfs-2.so.0: cannot open shared object file: No such file or directory)
[0000000000c6c158] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libaccess_mtp_plugin.so' (libmtp.so.9: cannot open shared object file: No such file or directory)
[0000000000c6c158] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libsmb_plugin.so' (libsmbclient.so.0: cannot open shared object file: No such file or directory)
[0000000000c6c158] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/demux/libgme_plugin.so' (libgme.so.0: cannot open shared object file: No such file or directory)
[0000000000c6c158] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/control/liblirc_plugin.so' (liblirc_client.so.0: cannot open shared object file: No such file or directory)
[0000000000c6c158] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec/libtwolame_plugin.so' (libtwolame.so.0: cannot open shared object file: No such file or directory)
[0000000000c6c158] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/services_discovery/libmtp_plugin.so' (libmtp.so.9: cannot open shared object file: No such file or directory)
[0000000000c6c158] core libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat
[0000000000c6c158] core libvlc debug: plug-ins loaded: 448 modules
[0000000000c6c158] core libvlc debug: opening config file (/home/stanislav/.config/vlc/vlcrc)
[0000000000c6c158] core libvlc debug: translation test: code is "C"
[0000000000c6c158] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX FPU
[0000000000d38fc8] core input debug: Creating an input for 'Media Library'
[0000000000d38fc8] core input debug: Input is a meta file: disabling unneeded options
[0000000000d38fc8] core input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0000000000d38fc8] core input debug: `file/xspf-open:///home/stanislav/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/stanislav/.local/share/vlc/ml.xspf'
[0000000000d38fc8] core input debug: creating demux: access='file' demux='xspf-open' location='/home/stanislav/.local/share/vlc/ml.xspf' file='/home/stanislav/.local/share/vlc/ml.xspf'
[0000000000d3dbb8] core demux debug: looking for access_demux module matching "file": 18 candidates
[0000000000d3dbb8] core demux debug: no access_demux modules matched
[0000000000d38fc8] core input debug: creating access 'file' location='/home/stanislav/.local/share/vlc/ml.xspf', path='/home/stanislav/.local/share/vlc/ml.xspf'
[0000000000d3dbb8] core access debug: looking for access module matching "file": 22 candidates
[0000000000d3dbb8] filesystem access debug: opening file `/home/stanislav/.local/share/vlc/ml.xspf'
[0000000000d3dbb8] core access debug: using access module "filesystem"
[0000000000d45868] core stream debug: Using stream method for AStream*
[0000000000d45868] core stream debug: starting pre-buffering
[0000000000d45868] core stream debug: received first data after 0 ms
[0000000000d45868] core stream debug: pre-buffering done 296 bytes in 0s - 12567 KiB/s
[0000000000d57c88] core stream debug: looking for stream_filter module matching "any": 9 candidates
[0000000000d57c88] core stream debug: no stream_filter modules matched
[0000000000d57c88] core stream debug: looking for stream_filter module matching "record": 9 candidates
[0000000000d57c88] core stream debug: using stream_filter module "record"
[0000000000d38fc8] core input debug: creating demux: access='file' demux='xspf-open' location='/home/stanislav/.local/share/vlc/ml.xspf' file='/home/stanislav/.local/share/vlc/ml.xspf'
[0000000000d6e858] core demux debug: looking for demux module matching "xspf-open": 64 candidates
[0000000000d6e858] xspf demux debug: using XSPF playlist reader
[0000000000d6e858] core demux debug: using demux module "playlist"
[0000000000d6f268] core demux meta debug: looking for meta reader module matching "any": 2 candidates
[0000000000d6f268] lua demux meta debug: Trying Lua scripts in /home/stanislav/.local/share/vlc/lua/meta/reader
[0000000000d6f268] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
[0000000000d6f268] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
[0000000000d6f268] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0000000000d6f268] core demux meta debug: no meta reader modules matched
[0000000000d38fc8] core input debug: `file/xspf-open:///home/stanislav/.local/share/vlc/ml.xspf' successfully opened
[0000000000d77228] core xml reader debug: looking for xml reader module matching "any": 1 candidates
[0000000000d77228] core xml reader debug: using xml reader module "xml"
[0000000000d6e858] xspf demux debug: parsed 0 tracks successfully
[0000000000d38fc8] core input debug: EOF reached
[0000000000d6e858] core demux debug: removing module "playlist"
[0000000000d57c88] core stream debug: removing module "record"
[0000000000d3dbb8] core access debug: removing module "filesystem"
[0000000000c7fef8] core playlist debug: creating audio output
[0000000000d7d6c8] core audio output debug: looking for audio output module matching "any": 6 candidates
[0000000000d7d6c8] pulse audio output debug: using library version 7.1.0
[0000000000d7d6c8] pulse audio output debug: (compiled with version 7.0.0, protocol 30)
[0000000000d7d6c8] pulse audio output debug: connected locally to /run/user/2001/pulse/native as client [#22](https://code.videolan.org/videolan/vlc/-/issues/22)
[0000000000d7d6c8] pulse audio output debug: using protocol 30, server protocol 30
[0000000000d7d6c8] pulse audio output debug: adding sink 0: alsa_output.pci-0000_00_03.0.hdmi-stereo (Built-in Audio Digital Stereo (HDMI))
[0000000000d7d6c8] pulse audio output debug: adding sink 1: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo)
[0000000000d7d6c8] core audio output debug: using audio output module "pulse"
[0000000000c7fef8] core playlist debug: keeping audio output
[0000000000da5258] core interface debug: looking for interface module matching "hotkeys,none": 18 candidates
[0000000000da5258] core interface debug: using interface module "hotkeys"
[0000000000da5c28] core interface debug: looking for interface module matching "globalhotkeys,none": 18 candidates
[0000000000da5c28] core interface debug: using interface module "xcb_hotkeys"
[0000000000da7788] core interface debug: looking for interface module matching "dbus,none": 18 candidates
[0000000000da7788] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[0000000000da7788] core interface debug: using interface module "dbus"
[0000000000daa9e8] core interface debug: looking for interface module matching "rc": 18 candidates
[0000000000daa9e8] [cli] lua interface debug: Found lua interface script: /usr/lib/vlc/lua/intf/cli.luac
[0000000000daa9e8] [cli] core interface debug: using interface module "lua"
[0000000000daa9e8] [cli] lua interface: Listening on host "*console".
VLC media player 2.2.1 Terry Pratchett (Weatherwax)
Command Line Interface initialized. Type `help' for help.
> help
+----[ CLI commands ]
| add XYZ . . . . . . . . . . . . . . . . . . . . add XYZ to playlist
| enqueue XYZ . . . . . . . . . . . . . . . . . queue XYZ to playlist
Error in `help' lua/intf/cli.lua:346: bad argument [#2](https://code.videolan.org/videolan/vlc/-/issues/2) to 'rep' (number has no integer representation)
>