Your message dated Thu, 22 Apr 2010 21:58:11 +0000
with message-id <[email protected]>
and subject line Bug#578505: fixed in reportbug 4.12.1
has caused the Debian Bug report #578505,
regarding reportbug: raises "NameError: global name 'timeout' is not defined" 
when selecting bug from filtered list
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
578505: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578505
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: reportbug
Version: 4.12
Severity: normal
Tags: patch

Hi,

When I try to report a bug in a package, press "f" and enter a filter
term, and then enter the number of a bug report, reportbug raises the
following exception:

 NameError: global name 'timeout' is not defined

Here's a transcript of such a session:

> $ reportbug rhythmbox
> Detected character set: UTF-8
> Please change your locale if this is incorrect.
> 
> Using 'Matt Kraai <[email protected]>' as your from address.
> Getting status for rhythmbox...
> Checking for newer versions at packages.debian.org...
> Will send report to Debian (per lsb_release).
> Querying Debian BTS for reports on rhythmbox (source)...
> 140 bug reports found:
> 
> Outstanding bugs -- Important bugs; Unclassified (4 bugs)
>     1) #492840  rhythmbox: fails to play songs from iPod
>     2) #532651  rhythmbox: Case sensitivity breaks playing iPod files
>     3) #548961  rhythmbox shows its window and segfault immediately
>     4) #560169  rhythmbox crashes when reading from NFS volumes
> 
> Outstanding bugs -- Important bugs; More information needed (1 bug)
>     5) #544979  rhythmbox: hangs when playing audio file and streaming
> 
> Outstanding bugs -- Normal bugs; Patch Available (1 bug)
>     6) #564641  rhythmbox: Cannot detect remote upnp server (mediatomb)
> 
> Outstanding bugs -- Normal bugs; Unclassified (34 bugs)
>     7) #431396  rhythmbox-dbg: does not produce useful backtraces
>     8) #479428  rhythmbox: please reduce the number of dependencies by 
> avoiding linking to some lib
>     9) #485838  rhythmbox: error message shown when activating "DLNA/UPnP 
> sharing and control suppo
>    10) #495772  rhythmbox proxy support calls mb_SetProxyCreds() which 
> doesn't exist
>    11) #498272  rhythmbox: SHOUTcast radio streams with multiple sources show 
> up as multiple items
>    12) #501962  rhythmbox hangs when play against invalid music file
>    13) #504448  rhythmbox: keeps playing after deleting tracks from the play 
> queue
>    14) #505537  rhythmbox: inhibits suspend when not playing
>    15) #509124  rhythmbox: cover.jpg files not loaded
>    16) #509673  rhythmbox: Double click on the tracks (lower window)
>    17) #511484  rhythmbox: Can't copy flac with 24bit/96kHz to player
>    18) #528799  [rhythmbox] Cannot add track with comma in name or path to 
> the play list
>    19) #530933  rhythmbox: progressbar doesn't work during playback
>    20) #531463  [rhythmbox] Rhythmbox tries to parse .url as media file and 
> complains about missing
>    21) #532232  rhythmbox SIGSEV on MTP device insertion
>    22) #532397  rhythmbox can't play cds by default
>    23) #533728  rhythmbox: Manual inaccuracies
>    24) #537944  rhythmbox: segfaults in js_GC()
>    25) #538120  Rhythmbox "proxy authentication required" message
>    26) #547583  rhythmbox - find only about half tracks of CD audio
>    27) #550485  Does not change volume level before playing
>    28) #552985  rhythmbox: Playback problems when Crossfade duration enabled
>    29) #553227  rhythmbox: Can't add remote songs to playlists
>    30) #554391  rhythmbox: Podcast-Feed update fails without reason
>    31) #556233  regression: no longer updates ipod playlists
>    32) #558343  rhythmbox: Disabling ipv6 causes annoying delay when playing
>    33) #558666  rhythmbox: Unable to start playback pipeline
>    34) #561833  rhythmbox: IM Status shows previously played song when paused
>    35) #564642  rhythmbox ships a copy of sources from coherence source 
> package (upnp plugin)
>    36) #566624  rhythmbox: can't edit metadata on AAC files
>    37) #566750  rhythmbox: Podcasts with dates before 1/1/1970 come after 
> today's date
>    38) #568754  rhythmbox: Pauses when minimizing all windows ('show desktop')
>    39) #570393  Fails to download podcast episode
>    40) #571439  rhythmbox: DAAP music lacks basic features
> 
> Outstanding bugs -- Normal bugs; More information needed (1 bug)
>    41) #520016  rhythmbox: segfault and Could not get owner of name 
> 'org.gnome.SettingsDaemon': no
> 
> Outstanding bugs -- Normal bugs; Will Not Fix (1 bug)
>    42) #355239  rhythmbox: Please lower avahi-daemon to Suggests:
> 
> Outstanding bugs -- Minor bugs; Unclassified (2 bugs)
>    43) #487520  [rhythmbox] GLib-GObject-CRITICAL when changing the 
> user-interface-theme
>    44) #512107  rhythmbox: Duplicate items in library due to case insensitive 
> filesystem (VFAT)
> (1-44/140) Is the bug you found listed above [y|N|b|m|r|q|s|f|?]? f
> Enter the search pattern (a Perl-compatible regular expression)
> or press ENTER to exit: podcast
>  Outstanding bugs -- Normal bugs; Unclassified (34 bugs): 3 reports
>   1) #554391  rhythmbox: Podcast-Feed update fails without reason
>   2) #566750  rhythmbox: Podcasts with dates before 1/1/1970 come after 
> today's date
>   3) #570393  Fails to download podcast episode
> 
>  Outstanding bugs -- Wishlist items; Unclassified (7 bugs): 2 reports
>   4) #535427  Broken podcast feed causes episode to reappear
>   5) #561205  Download podcast episodes in parallel
> 
>  Forwarded bugs -- Normal bugs (30 bugs): 1 report
>   6) #507982  rhythmbox : podcasts files : mtime is 01/01/1970
> (1-6/6) Is the bug you found listed above [y|N|b|m|r|q|s|f|u|t|?]? 4
> Traceback (most recent call last):
>   File "/usr/bin/reportbug", line 2082, in <module>
>     main()
>   File "/usr/bin/reportbug", line 1034, in main
>     return iface.user_interface()
>   File "/usr/bin/reportbug", line 1616, in user_interface
>     version=pkgversion)
>   File "/usr/lib/pymodules/python2.5/reportbug/ui/text_ui.py", line 577, in 
> handle_bts_query
>     mirrors, http_proxy, timeout, screen, title, package)
>   File "/usr/lib/pymodules/python2.5/reportbug/ui/text_ui.py", line 702, in 
> browse_bugs
>     http_proxy, screen, title, package)
>   File "/usr/lib/pymodules/python2.5/reportbug/ui/text_ui.py", line 937, in 
> search_bugs
>     http_proxy, timeout,
> NameError: global name 'timeout' is not defined

The attached patch fixes this problem by adding a timeout parameter to
search_bugs and ensuring that when search_bugs is called, the timeout
parameter is passed to it.

-- Package-specific info:
** Environment settings:
VISUAL="emacs"

** /home/kraai/.reportbugrc:
no-cc

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-4-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages reportbug depends on:
ii  apt                           0.7.25.3   Advanced front-end for dpkg
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-reportbug              4.12       Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  debconf-utils        <none>              (no description available)
pn  debsums              <none>              (no description available)
ii  dlocate              1.02                fast alternative to dpkg -L and dp
pn  emacs22-bin-common | <none>              (no description available)
ii  exim4                4.71-4              metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [ 4.71-4              lightweight Exim MTA (v4) daemon
ii  file                 5.04-2              Determines file type using "magic"
ii  gnupg                1.4.10-3            GNU privacy guard - a free PGP rep
ii  python-gtk2          2.17.0-2            Python bindings for the GTK+ widge
pn  python-gtkspell      <none>              (no description available)
pn  python-urwid         <none>              (no description available)
ii  python-vte           1:0.24.0-2          Python bindings for the VTE widget
ii  xdg-utils            1.0.2+cvs20100307-1 desktop integration utilities from

-- no debconf information
diff -ru reportbug-4.12~/reportbug/ui/text_ui.py reportbug-4.12/reportbug/ui/text_ui.py
--- reportbug-4.12~/reportbug/ui/text_ui.py	2010-04-20 05:06:03.000000000 -0700
+++ reportbug-4.12/reportbug/ui/text_ui.py	2010-04-20 05:07:40.000000000 -0700
@@ -699,7 +699,7 @@
 		    elif x == 'f':
 			# Do filter. Recursive done.
 			retval = search_bugs(hierarchy,bts, queryonly, mirrors,
-                                             http_proxy, screen, title, package)
+                                             http_proxy, timeout, screen, title, package)
 			if retval in ["FilterEnd", "Top"]:
 			    continue
 			else:
@@ -768,7 +768,7 @@
     return count, bugs
 
 def search_bugs(hierarchyfull, bts, queryonly, mirrors,
-                http_proxy, screen, title, package):
+                http_proxy, timeout, screen, title, package):
     """Search for the bug list using a pattern."""
     """Return string "FilterEnd" when we are done with search."""
 
@@ -905,7 +905,7 @@
 		    elif x == 'f':
 			# Do filter. Recursive done.
 			retval = search_bugs(hierarchy, bts, queryonly, mirrors,
-			    http_proxy, screen, title, package)
+			    http_proxy, timeout, screen, title, package)
 			if retval == "FilterEnd":
 			    continue
 			else:

--- End Message ---
--- Begin Message ---
Source: reportbug
Source-Version: 4.12.1

We believe that the bug you reported is fixed in the latest version of
reportbug, which is due to be installed in the Debian FTP archive:

python-reportbug_4.12.1_all.deb
  to main/r/reportbug/python-reportbug_4.12.1_all.deb
reportbug_4.12.1.dsc
  to main/r/reportbug/reportbug_4.12.1.dsc
reportbug_4.12.1.tar.bz2
  to main/r/reportbug/reportbug_4.12.1.tar.bz2
reportbug_4.12.1_all.deb
  to main/r/reportbug/reportbug_4.12.1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <[email protected]> (supplier of updated reportbug package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 22 Apr 2010 21:59:02 +0200
Source: reportbug
Binary: reportbug python-reportbug
Architecture: source all
Version: 4.12.1
Distribution: unstable
Urgency: low
Maintainer: Reportbug Maintainers <[email protected]>
Changed-By: Sandro Tosi <[email protected]>
Description: 
 python-reportbug - Python modules for interacting with bug tracking systems
 reportbug  - reports bugs in the Debian distribution
Closes: 577986 578505
Changes: 
 reportbug (4.12.1) unstable; urgency=low
 .
   * reportbug/utils.py
     - only take file name and md5sum from Conffile from dpkg --status; thanks 
to
       all the reporters; Closes: #577986
   * reportbug/ui/text_ui.py
     - pass 'timeout' to search_bug, needed when filtering bugs; thanks to Matt
       Kraai for the report and patch; Closes: #578505
Checksums-Sha1: 
 9522a39118947ace418d2ef25b6334b23492a243 1133 reportbug_4.12.1.dsc
 2ec9df0f4ffdcb49679dc0e36b41467bb0ddaf16 137236 reportbug_4.12.1.tar.bz2
 693e76c8d0cf3c8b3e53f7f96adbe2d262bb465e 112472 reportbug_4.12.1_all.deb
 48bcc2ba9f45f6a99782c3ba29bc12565069432f 124588 python-reportbug_4.12.1_all.deb
Checksums-Sha256: 
 846f260ec386ed11400fe036d6f46b9235ed3c1457240924862b21dd6da13ab0 1133 
reportbug_4.12.1.dsc
 a0140f30e74190a53232f7251f70876d29bc03af66b1c9cdfa79da350a6c1e90 137236 
reportbug_4.12.1.tar.bz2
 35e6157c63890ba96849a4b2fcf6dbb59f668c5caf0e900ba5c4f73060200edf 112472 
reportbug_4.12.1_all.deb
 b59d45d30e29a1214a5f38c3d45064dac20f29d9218f9294850321fecaae7cc8 124588 
python-reportbug_4.12.1_all.deb
Files: 
 a99b6d0830970abf8a6ba97dbdc5221d 1133 utils standard reportbug_4.12.1.dsc
 1ec5f78dd1c32f42cfbf8c64e7925c13 137236 utils standard reportbug_4.12.1.tar.bz2
 ad61917309fb9e7526e7d6d06792cc65 112472 utils standard reportbug_4.12.1_all.deb
 40545c5fa9475843b3b87bcf66a564f9 124588 python standard 
python-reportbug_4.12.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvQrFIACgkQAukwV0RN2VATxQCfRUnsE6ycOKQqSs7g+rsMkikM
K8gAoIl4bKCXOoycju/SwNhJ6VG3ljEw
=OQ1P
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Reportbug-maint mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/reportbug-maint

Reply via email to