[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1061271: reportbug: Please make "Selected mail user agent cannot be found" more user friendly



Package: reportbug
Version: 12.0.0
Severity: wishlist

Today I've tried to run reportbug after a pretty long time of not using
it, and it turned out that it did nothing, but printing something like:
"Selected mail user agent cannot be found, exiting".

It took me a few minutes to discover that I have ~/.reportbugrc from
2012 containing a "mutt" line, but mutt package was no longer installed
on my system (most likely it got removed some time ago by mistake).
After reinstalling mutt, reportbug started working fine.

But I wish the message printed by reportbug in such cases would be more
helpful. It would be nice if it could at least include the name of the
selected mua, for example: "Selected mail user agent 'mutt' cannot be
found". (It would be even greater if it could print the name of the
config file as well, e.g. "Mail user agent 'mutt' selected in
~/.reportbugrc cannot be found").

Regards,
robert

-- Package-specific info:
** Environment settings:
EDITOR="vim"
DEBEMAIL="robert@debian.org"
DEBFULLNAME="Robert Luberda"
INTERFACE="text"

** /home/robert/.reportbugrc:
reportbug_version "1.99.29"
mode advanced
ui text
realname "Robert Luberda"
email "robert@debian.org"
no-cc
offline
mutt

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (990, 'unstable-debug'), (990, 'stable-updates'), (990, 'stable-security'), (990, 'unstable'), (990, 'stable'), (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.6.11-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages reportbug depends on:
ii  apt                2.7.10
ii  python3            3.11.6-1
ii  python3-reportbug  12.0.0
ii  sensible-utils     0.0.20

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                      <none>
ii  debconf                         1.5.83
ii  debsums                         3.0.2.1
ii  dlocate                         1.12
pn  emacs-bin-common                <none>
ii  file                            1:5.45-2+b1
ii  gnupg                           2.2.40-1.1
ii  postfix [mail-transport-agent]  3.8.4-1
pn  python3-urwid                   <none>
pn  reportbug-gtk                   <none>
ii  xdg-utils                       1.1.3-4.1

Versions of packages python3-reportbug depends on:
ii  apt                2.7.10
ii  file               1:5.45-2+b1
ii  python3            3.11.6-1
ii  python3-apt        2.7.5
ii  python3-debian     0.1.49
ii  python3-debianbts  4.0.2
ii  python3-requests   2.31.0+dfsg-1
ii  sensible-utils     0.0.20

python3-reportbug suggests no packages.

-- no debconf information


Reply to: