Package: libwww-mediawiki-client-perl Version: 0.31-2+wuth5 Severity: important Tags: patch
Dear Maintainer, mvs fails to operate under Debian Stretch / perl 5.24, in that any commands after the initial "mvs login" fails with the error message: Could not read config file: .mediawiki. The config file is correctly saved in the the current directory by "mvs login". However subsequent commands fail to read the config file, because with perl 5.24, the current directory is no longer in the search path used by the "do" command. The fix proposed by the attached patch is to explicitly make the current directory part of the path to the config file. Regards. -- System Information: Debian Release: 9.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE= (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libwww-mediawiki-client-perl depends on: ii libexception-class-perl 1.42-1 ii libvcs-lite-perl 0.10-1 ii libwww-perl 6.15-1 ii libxml-libxml-perl 2.0128+dfsg-1+b1 ii perl 5.24.1-3+deb9u2 libwww-mediawiki-client-perl recommends no packages. libwww-mediawiki-client-perl suggests no packages. -- no debconf information
--- a/lib/WWW/Mediawiki/Client.pm +++ b/lib/WWW/Mediawiki/Client.pm @@ -292,7 +292,7 @@ =cut -use constant CONFIG_FILE => '.mediawiki'; +use constant CONFIG_FILE => './.mediawiki'; use constant COOKIE_FILE => '.mediawiki_cookies.dat'; use constant SAVED_ATTRIBUTES => ( qw(site_url host protocol language_code space_substitute username