[Reportbug-maint] Bug#813002: reportbug crashes with an NoneType Exception

Sandro Tosi morph at debian.org
Fri Mar 4 21:40:37 UTC 2016


control: tags -1 +moreinfo

On Thu, Jan 28, 2016 at 1:25 PM, Alexander Schier
<alexander_schier at yahoo.de> wrote:
> i got a NoneTypeException, when i tried to report a bug (on another
> system)
>
> Submit this report on coreutils (e to edit) [Y|n|a|c|e|i|l|m|p|q|d|t|s|?]?
> Traceback (most recent call last):
>   File "/usr/bin/reportbug", line 2211, in <module>
>     main()
>   File "/usr/bin/reportbug", line 1081, in main
>     return iface.user_interface()
>   File "/usr/bin/reportbug", line 2203, in user_interface
>     self.options.envelopefrom)
>   File "/usr/lib/python2.7/dist-packages/reportbug/submit.py", line 316, in send_report
>     msgname = os.path.expanduser(outfile) or ('/var/tmp/%s.bug' % package)
>   File "/usr/lib/python2.7/posixpath.py", line 261, in expanduser
>     if not path.startswith('~'):
> AttributeError: 'NoneType' object has no attribute 'startswith'

I've uploaded to backports version 6.6.6 of reportbug which should
address this bug: please install that and report back if that's fixed.

Regards,
-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi



More information about the Reportbug-maint mailing list