Your message dated Fri, 18 Jul 2008 19:26:39 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Invalid bug report
has caused the Debian Bug report #491219,
regarding [PATCH] python-debianbts takes precedance over 
/usr/share/reportbug/reportbuglib/debianbts.py
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.)


-- 
491219: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491219
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: reportbug
Version: 3.42
Severity: important
Tags: patch

Hi. I am new to python and the debian policy regarding how to handle
them though I found a workaround to get debreaper working again. 
It was failing
Traceback (most recent call last):
  File "/usr/share/debreaper/debreaper", line 70, in <module>
    report = generate_report (status[1], status[0], status[2], status[3], path, 
gdbout)
  File "/usr/share/debreaper/bug_iface.py", line 27, in generate_report
    return reportbug.generate_blank_report (package, pkgversion, 'important', 
None, depinfo, '', path, body="*** Please describe what you were doing when the 
application crashed ***\n\n"+gdbout)
  File "/usr/share/reportbug/reportbuglib/reportbug.py", line 721, in 
generate_blank_report
    if debianbts.SYSTEMS[system].has_key('namefmt'):
AttributeError: 'module' object has no attribute 'SYSTEMS'

due to python-debianbts (dependency of reportbug-ng) tyaking precedance in the 
import search path in /usr/share/reportbug/reportbuglib/reportbug.py

This patch works around it by adding /usr/share/reportbug/reportbuglib first in 
the import search path.

Best regards
Alban
          

-- Package-specific info:
** /home/prahal/.reportbugrc:
reportbug_version "3.29.5"
mode standard
realname "Alban Browaeys"
email "[EMAIL PROTECTED]"
no-cc
header "X-Debbugs-CC: [EMAIL PROTECTED]"

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

Kernel: Linux 2.6.25-rc7-00025-gacaef06-dirty (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages reportbug depends on:
ii  apt                           0.7.14+b1  Advanced front-end for dpkg
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-central                0.6.8      register and build utility for Pyt

reportbug recommends no packages.

-- no debconf information
--- reportbug.py.orig	2008-07-17 19:20:10.000000000 +0200
+++ reportbug.py	2008-07-17 19:19:54.000000000 +0200
@@ -40,6 +40,7 @@
 import subprocess
 import imp
 
+sys.path.insert(0,"/usr/share/reportbug/reportbuglib")
 import debianbts
 
 # Paths for dpkg

--- End Message ---
--- Begin Message ---
You are right . It is up to debreaper to set the proper import path. I
modified my debreaper patch with your comments.
Closing this wrong report.

Cheers
Alban




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

Reply via email to