Package: reportbug
Version: 3.38
Severity: normal
File: /usr/share/reportbug/reportbug.py
Tags: patch

Hello,

when I tried to file a bug report for a file not in a package (actually, it
was debreaper after my own program crashed), reportbug ends in infinite
recursion. This is because after nod finding the package with dlocate, it
should try again (with dpkg, i suppose). But reportbug forgets this and tries
again with dlocate, and again...

The corrected reportbug.py is attached.

The change is on line 134
    (pipe, dlocate_used) = search_pipe(searchfilename, use_dlocate)
                                                       ^^^^^^^^^^^

Regards
    Jiri Palecek


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

Kernel: Linux 2.6.20.3-rt8 (PREEMPT)
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2) (ignored: LC_ALL set to cs_CZ)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt                         0.6.46.4-0.1 Advanced front-end for dpkg
ii python 2.4.4-6 An interactive high-level object-o ii python-central 0.5.14 register and build utility for Pyt

reportbug recommends no packages.

-- no debconf information
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Attachment: reportbug.py
Description: Binary data

Reply via email to