Bug#991187: libfile-mimeinfo-perl: Use of uninitialized value $file in open at /usr/share/perl5/File/MimeInfo/Applications.pm line 140
Felix Lechner
felix.lechner at lease-up.com
Fri Jul 16 20:12:04 BST 2021
Package: libfile-mimeinfo-perl
Version: 0.30-1
Severity: minor
Hi,
Under the Wayland compositor Sway (with Gnome 3 installed) I followed this
advice [1] to make evince the default application for PDFs once again. When I
invoked 'mimeopen -d XYZ.pdf' the program worked fine but also produced the
following warnings:
Use of uninitialized value $file in open at
/usr/share/perl5/File/MimeInfo/Applications.pm line 140.
Use of uninitialized value $file in open at
/usr/share/perl5/File/MimeInfo/Applications.pm line 140.
Use of uninitialized value $file in open at
/usr/share/perl5/File/MimeInfo/Applications.pm line 140.
Use of uninitialized value $file in open at
/usr/share/perl5/File/MimeInfo/Applications.pm line 140.
Based on my Perl experience, I assume that the messages are probably
unintended.
At the same time, the program's functionality was not affected. Also, mimeopen
is rarely invoked in a terminal and probably more often via a graphical
application with output redirected. Therefore, this bug is not urgent at all.
Thank you for maintaining this software in Debian!
Kind regards,
Felix Lechner
[1] https://unix.stackexchange.com/q/350103
-- System Information:
Debian Release: 11.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing-debug'), (500,
'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-7-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libfile-mimeinfo-perl depends on:
ii libencode-locale-perl 1.05-1.1
ii libfile-basedir-perl 0.08-1
ii libfile-desktopentry-perl 0.22-2
ii perl 5.32.1-4
ii shared-mime-info 2.0-1
Versions of packages libfile-mimeinfo-perl recommends:
ii libio-stringy-perl 2.111-3
libfile-mimeinfo-perl suggests no packages.
More information about the pkg-perl-maintainers
mailing list