reportbug: string formatting error

Ryan Lovett ryan at ocf.berkeley.edu
Mon Nov 29 03:10:10 UTC 2004


Package: reportbug
Version: 3.2ubuntu1
Severity: normal


 spacecoaster:~$ reportbug update-manager
 Warning: no reportbug configuration found.  Proceeding in novice mode.
 Using 'Ryan Lovett <ryan at ocf.berkeley.edu>' as your from address.
 Detected character set: ISO-8859-1
 Please change your locale if this is incorrect.
 
 Getting status for update-manager...
 Will send report to Ubuntu (per request).
 Looking up dependencies of update-manager...
 Maintainer for update-manager is 'Michiel Sikkes <michiel at eyesopened.nl>'.
 
 Please briefly describe your problem (you can elaborate in a moment; an empty
 response will stop reportbug). This should be a concise summary of what is
 wrong with the package, for example, "fails to send email" or "does not start
 with -q option specified."
 > package requires lsb-release
 Rewriting subject to 'update-manager: package requires lsb-release'
 How would you rate the severity of this problem or report?
 
 1 critical        makes unrelated software on the system (or the whole system)
                   break, or causes serious data loss, or introduces a security
                   hole on systems where you install the package.
 2 grave           makes the package in question unusable by most or all users,
                   or causes data loss, or introduces a security hole allowing
                   access to the accounts of users who use the package.
 3 serious         is a severe violation of Debian policy (that is, the problem
                   is a violation of a 'must' or 'required' directive); may or
                   may not affect the usability of the package. Note that non-
                   severe policy violations may be 'normal,' 'minor,' or
                   'wishlist' bugs. (Package maintainers may also designate
                   other bugs as 'serious' and thus release-critical; however,
                   end users should not do so.)
 4 important       a bug which has a major effect on the usability of a package,
                   without rendering it completely unusable to everyone.
 5 does-not-build  a bug that stops the package from being built from source.
                   (This is a 'virtual severity'.)
 6 normal          a bug that does not undermine the usability of the whole
                   package; for example, a problem with a particular option or
                   menu item.
 7 minor           things like spelling mistakes and other minor cosmetic errors
                   that do not affect the core functionality of the package.
 8 wishlist        suggestions and requests for new features.
 
 Please select a severity level: [normal]
 Spawning sensible-editor...
 Report will be sent to "Ubuntu Bug Tracking System"
 <ubuntu-users at lists.ubuntu.com>
 Submit this report on update-manager (e to edit) [Y|n|a|c|e|i|l|m|p|?]? y
 Sending message via /usr/sbin/sendmail...
 
 Bug report submitted to: "Ubuntu Bug Tracking System"
 <ubuntu-users at lists.ubuntu.com>
 Copies sent to:
   "Ryan Lovett" <ryan at ocf.berkeley.edu>
 
 Traceback (most recent call last):
   File "/usr/bin/reportbug", line 1637, in ?
     main()
   File "/usr/bin/reportbug", line 1628, 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
 spacecoaster:~$




Here is the text of that bug:

 Subject: update-manager: package requires lsb-release
 Package: update-manager
 Version: 0.32
 Severity: normal
 
 $ sudo update-manager
 Reading Package Lists... Done
 Building Dependency Tree... Done
 Traceback (most recent call last):
   File "/usr/bin/update-manager", line 322, in ?
     updatemanager.main()
   File "/usr/bin/update-manager", line 302, in main
     current_dist = self.get_dist()
   File "/usr/bin/update-manager", line 289, in get_dist
     f = open("/etc/lsb-release", "r")
 IOError: [Errno 2] No such file or directory: '/etc/lsb-release'
 # apt-get install lsb-release
 $ sudo update-manager
 ...
 
 
 -- System Information:
 Debian Release: 3.1
 Architecture: i386 (i686)
 Kernel: Linux 2.6.8-1-686-smp
 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
 
 Versions of packages update-manager depends on:
 ii  python         2.3.4-5                   An interactive high-level object-o
 ii  python-apt     0.5.10                    Python interface to libapt-pkg
 ii  python-gnome2  2.9.0-1                   Python bindings for the GNOME desk
 ii  synaptic       0.55+cvs20041119-1ubuntu4 Graphical package manager
 
 -- no debconf information


-- Package-specific info:
** Environment settings:
REPORTBUGEMAIL="ryan at ocf.berkeley.edu"
EMAIL="ryan at ocf.berkeley.edu"

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages reportbug depends on:
ii  python2.3                     2.3.4-16   An interactive high-level object-o

-- no debconf information




More information about the ubuntu-users mailing list