[Reportbug-maint] Bug#857422: fails to send report from root in container

anatoly techtonik techtonik at gmail.com
Fri Mar 10 22:43:12 UTC 2017

Package: reportbug
Version: 6.6.3

Trying to submit report under root fails after editing message with vim.

Report will be sent to "Debian Bug Tracking System" <submit at bugs.debian.org>
Submit this report on tracker.debian.org (e to edit)
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2211, in <module>
  File "/usr/bin/reportbug", line 1081, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 2203, in user_interface
  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'

anatoly t.

More information about the Reportbug-maint mailing list