reportbug: Python exception occurs when submitting bug reports

Klaus Alexander Seistrup klaus at seistrup.dk
Mon Apr 11 13:48:32 UTC 2005


Package: reportbug
Version: 3.5ubuntu5
Severity: minor


When submitting a bug report to Ubuntu Bug Tracking System, reportbug
yields the following Python exception:

<snip>

Report will be sent to "Ubuntu Bug Tracking System"
<ubuntu-users at lists.ubuntu.com>
Submit this report on inn2 (e to edit) [Y|n|a|c|e|i|l|m|p|?]?
Sending message via /usr/sbin/sendmail...

Bug report submitted to: "Ubuntu Bug Tracking System"
<ubuntu-users at lists.ubuntu.com>
Copies sent to:
  "Klaus Alexander Seistrup" <klaus at seistrup.dk>
  
  Traceback (most recent call last):
    File "/usr/bin/reportbug", line 1656, in ?
        main()
	  File "/usr/bin/reportbug", line 1647, in main
	      smtphost, options.smtpuser, options.smtppasswd, options.paranoid)
	        File "/usr/share/reportbug/reportbug_submit.py", line 415,
in send_report
    (sysinfo['email'] % 'n'), (sysinfo['email'] % '999999'))
    TypeError: not all arguments converted during string formatting

</snip>

The report gets sent, though, so getting rid of the exception is rather
a cosmetic issue, I guess.

Cheers,

  // Klaus

-- Package-specific info:
** Environment settings:
EDITOR="jed"
VISUAL="jed"

** /home/klaus/.reportbugrc:
ui		 text
mode		 standard
email		"klaus at seistrup.dk"
reply-to	"klaus at seistrup.dk"
realname	"Klaus Alexander Seistrup"
editor		"/usr/bin/jed"
bts		ubuntu
header		"X-Habeas-SWE-1: winter into spring"
header		"X-Habeas-SWE-2: brightly anticipated"
header		"X-Habeas-SWE-3: like Habeas SWE (tm)"
header		"X-Habeas-SWE-4: Copyright 2002 Habeas (tm)"
header		"X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this"
header		"X-Habeas-SWE-6: email in exchange for a license for this Habeas"
header		"X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant"
header		"X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this"
header		"X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report/>."

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.10-4-k7
Locale: LANG=en_DK, LC_CTYPE=en_DK (charmap=ISO-8859-1)

Versions of packages reportbug depends on:
ii  python2.4                     2.4.1-0    An interactive high-level object-o

-- no debconf information




More information about the ubuntu-users mailing list