[Reportbug-maint] Bug#526054: reportbug: UnboundLocalError: local variable 'iface' referenced before assignment
Florentin Duneau
fduneau at gmail.com
Tue Apr 28 21:14:59 UTC 2009
Package: reportbug
Version: 4.1
Severity: normal
Hi
The script that I use to sent debconf translation to the BTS fails with
reportbug 4.1. I sent #522988 with the same script (reportbug-4.0).
florentin % sh -x bug-po-debconf clamav fr.po.bz2
+ ARGS=2
+ NAME=clamav
+ PO=fr.po.bz2
+ '[' 2 -ne 2 ']'
+ '[' clamav = ' ']'
+ '[' fr.po.bz2 = ' ']'
+ '[' '!' -e fr.po.bz2 ']'
+ reportbug --attach=fr.po.bz2 --offline
--include=/home/florentin/debian/material/po-debconf.txt -s 'clamav:
French debconf templates translation update' --severity=wishlist
--tag=patch --tag=l10n --no-config-files --package-version=N/A clamav
Traceback (most recent call last):
File "/usr/bin/reportbug", line 1831, in <module>
main()
File "/usr/bin/reportbug", line 831, in main
lib_package = __import__('reportbug.ui', fromlist=[iface])
UnboundLocalError: local variable 'iface' referenced before
assignment
I attach the script.
Florentin Duneau
-- Package-specific info:
** Environment settings:
EDITOR="vim"
DEBEMAIL="fduneau at gmail.com"
** /home/florentin/.reportbugrc:
editor "vim"
email "fduneau at gmail.com"
realname "Florentin Duneau"
submit
query-bts
config-files
compress
smtphost localhost
verify
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.29-1-686 (SMP w/2 CPU cores)
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.21 Advanced front-end for dpkg
ii python 2.5.4-2 An interactive high-level object-o
ii python-reportbug 4.1 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)
pn dlocate <none> (no description available)
ii file 5.00-1 Determines file type using "magic"
ii gnupg 1.4.9-4 GNU privacy guard - a free PGP rep
ii postfix [mail-transport-agent 2.5.5-1.1 High-performance mail transport ag
pn python-gnome2-extras <none> (no description available)
ii python-gtk2 2.14.1-2 Python bindings for the GTK+ widge
pn python-urwid <none> (no description available)
pn python-vte <none> (no description available)
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-po-debconf
Type: text/x-shellscript
Size: 732 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20090428/56cdac73/attachment-0001.bin>
More information about the Reportbug-maint
mailing list