[Reportbug-maint] Bug#857810: reportbug: crashes if $HOME does not exist, bugreport is lost
Thorsten Glaser
tg at mirbsd.de
Wed Mar 15 11:39:48 UTC 2017
Package: reportbug
Version: 6.6.3
Severity: important
I just reported a bug in a cowbuilder chroot, so $HOME pointed to
a nonexistent directory. What I got was this:
File /tmp/reportbug-node-uglify-20170315-25826-NfKllD saved.
Report will be sent to "Debian Bug Tracking System" <submit at bugs.debian.org>
Submit this report on node-uglify (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'
The bugreport in /tmp/ was already removed at this point in which
I got a shell prompt.
-- Package-specific info:
** Environment settings:
EDITOR="/usr/bin/jupp"
VISUAL="/usr/bin/jupp"
DEBEMAIL="Thorsten Glaser <tg at mirbsd.de>"
INTERFACE="text"
** /home/tglase/.reportbugrc:
reportbug_version "6.6.3"
mode advanced
ui text
offline
no-check-uid
smtphost "mail.lixid.net"
-- System Information:
Debian Release: 8.7
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages reportbug depends on:
ii apt 1.0.9.8.4
ii python 2.7.9-1
ii python-reportbug 6.6.3
pn python:any <none>
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
pn debconf-utils <none>
pn debsums <none>
pn dlocate <none>
pn emacs23-bin-common | emacs24-bin-common <none>
pn file <none>
ii gnupg 1.4.18-7+deb8u3
pn postfix | exim4 | mail-transport-agent <none>
pn python-gtk2 <none>
pn python-gtkspell <none>
pn python-urwid <none>
pn python-vte <none>
pn xdg-utils <none>
Versions of packages python-reportbug depends on:
ii apt 1.0.9.8.4
ii python-debian 0.1.27
ii python-debianbts 1.12
pn python:any <none>
python-reportbug suggests no packages.
-- no debconf information
More information about the Reportbug-maint
mailing list