Package: reportbug
Version: 6.6.4
Severity: normal

Dear Maintainer,

I wanted to report a bug from within emacs so I ran `M-x debian-bug`, answered
the questions and was presented with a mail buffer containing a backtrace.

  ----- 8< -----
  To: Debian Bug Tracking System <>
  Subject: reportbug: Produces backtrace when invoked from emacs
  X-Debbugs-CC: Olaf Meeuwissen <olaf.meeuwissen _at_>
  From: Olaf Meeuwissen <olaf.meeuwissen _at_>
  --text follows this line--
  Severity: normal
    File "/usr/bin/reportbug", line 1002, in main
      (options, args) = parser.parse_args()
    File "/usr/lib/python2.7/", line 1400, in parse_args
      stop = self._process_args(largs, rargs, values)
    File "/usr/lib/python2.7/", line 1444, in _process_args
      self._process_short_opts(rargs, values)
    File "/usr/lib/python2.7/", line 1551, in _process_short_opts
      option.process(opt, value, values, self)
    File "/usr/lib/python2.7/", line 789, in process
      self.action, self.dest, opt, value, values, parser)
    File "/usr/lib/python2.7/", line 809, in take_action
      self.callback(self, opt, value, parser, *args, **kwargs)
    File "/usr/bin/reportbug", line 760, in verify_append_option
      elif value in valid:
  TypeError: argument of type 'function' is not iterable
  -- Package-specific info:
  <#part type="text/plain" disposition=attachment description="Bug script 
  Olaf Meeuwissen, LPIC-2     EPSON FLOSS Engineer -- AVASYS CORPORATION
  FSF Associate Member #1962               Help support software freedom
  ----- >8 -----

I removed the backtrace and went on to write and submit a bugreport.  I promptly
got a message that my report could not be processed because it was missing a few
of the fields expected in the body (Package: and probably others).

-- Package-specific info:
** Environment settings:

** /home/olaf/.reportbugrc:
reportbug_version "6.6.4"
mode standard
ui text
email ""
http_proxy "";

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-updates'), (500, 
'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages reportbug depends on:
ii  apt     
ii  python            2.7.9-1
ii  python-reportbug  6.6.4
pn  python:any        <none>

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                  <none>
pn  debconf-utils               <none>
pn  debsums                     <none>
pn  dlocate                     <none>
ii  dma [mail-transport-agent]  0.9-1
ii  emacs24-bin-common          24.5+1-1
ii  file                        1:5.22+15-2
ii  gnupg                       1.4.19-5
ii  python-gtk2                 2.24.0-4
pn  python-gtkspell             <none>
pn  python-urwid                <none>
ii  python-vte                  1:0.28.2-5
ii  xdg-utils                   1.1.0~rc3+git20150907-1

Versions of packages python-reportbug depends on:
ii  apt     
ii  python-debian     0.1.27
ii  python-debianbts  1.14
pn  python:any        <none>

python-reportbug suggests no packages.

-- no debconf information
Olaf Meeuwissen, LPIC-2     EPSON FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962               Help support software freedom

Reportbug-maint mailing list

Reply via email to