[Reportbug-maint] Bug#640196: AttributeError: 'str' object has no attribute 'format'

Arthur Marsh arthur.marsh at internode.on.net
Sun Sep 18 10:39:49 UTC 2011


Package: reportbug
Version: 6.2.1
Followup-For: Bug #640196

Dear Maintainer,
*** Please consider answering these questions, where appropiate ***

   * What led up to the situation?

Attempting to report a bug with stunnel4 using reportbug:

Looking up dependencies of stunnel4...
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2186, in <module>
    main()
  File "/usr/bin/reportbug", line 1073, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1741, in user_interface
    utils.get_dependency_info(package, recommends, "recommends") +
  File "/usr/lib/pymodules/python2.5/reportbug/utils.py", line 664, in get_dependency_info
    info = '{0:3.3} {1:{widthp}.{widthp}}  {2:{widthv}.{widthv}}\n'.format(
AttributeError: 'str' object has no attribute 'format'

This is on my other (i386) machine which is running:

ii  python 2.5.2-3  An interactive high-level object-oriented language (default version)

which is being held at that version to avoid breakage of another package.

*** End of the template - remove these lines ***


-- Package-specific info:
** Environment settings:
INTERFACE="text"

** /home/amarsh04/.reportbugrc:
reportbug_version "3.5"
mode standard
ui text
realname "Arthur Marsh"
email "arthur.marsh at internode.on.net"

-- System Information:
Debian Release: wheezy/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-rc6 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages reportbug depends on:
ii  apt               0.8.15.8
ii  python            2.6.7-3 
ii  python-reportbug  6.2.1   

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  debconf-utils                              1.5.41     
ii  debsums                                    2.0.49     
ii  dlocate                                    <none>     
ii  emacs23-bin-common                         23.3+1-1.1 
ii  exim4                                      4.76-2     
ii  exim4-daemon-light [mail-transport-agent]  4.76-2     
ii  file                                       5.08-1     
ii  gnupg                                      1.4.11-3   
ii  python-gtk2                                2.24.0-2   
ii  python-gtkspell                            2.25.3-10.1
ii  python-urwid                               <none>     
ii  python-vte                                 1:0.28.1-2 
ii  xdg-utils                                  1.1.0~rc1-2

-- debconf-show failed





More information about the Reportbug-maint mailing list