[Reportbug-maint] Bug#849564: python3-reportbug: reportbug fails with AttributeError: 'str' object has no attribute 'utils'
Francesco Poli
invernomuto at paranoici.org
Mon Jan 2 22:11:52 UTC 2017
Control: severity -1 important
On Sat, 31 Dec 2016 04:56:37 -0500 Matthew Gabeler-Lee wrote:
[...]
> This bug seems like it maybe should be higher severity than 'normal'.
Agreed. I am setting the severity to "important", since this bug seems
to have a major effect on the usability of reportbug, even though it
does not make it completely unusable
> On
> systems that have 7.1.1 installed, I can't seem to run reportbug no matter
> what I do.
In my case, reportbug reads my e-mail address from the DEBEMAIL
environment variable, while my name is read from the DEBFULLNAME
environment variable.
Unfortunately:
$ echo $DEBFULLNAME
Francesco Poli (wintermute)
which also includes some characters which are not letters, digits, or
underscores [\w], nor whitespace characters [\s]: in my case, the
non-matching characters are the parentheses.
In the case of Matthew, it's probably the hyphen between the double
surname.
In the case of Bernhard, I guess it's the dot after the first letter of
the middle name.
The consequence is that the regexp at line 313 of
/usr/lib/python3/dist-packages/reportbug/utils.py
does not match and the subsequent return statement (line 314) is not
executed.
The Python interpreter attempts to execute line 316, where the email
string has no attribute 'utils'.
I am under the impression that the email string variable is masking the
email module, or something like that?!?
Anyway, if I set:
$ DEBFULLNAME="Francesco Poli"
reportbug is able to run.
I hope this bug may be fixed soon.
Thanks for your time!
Bye.
--
http://www.inventati.org/frx/
There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20170102/508e9c55/attachment.sig>
More information about the Reportbug-maint
mailing list