[Reportbug-maint] Bug#700046: reportbug: Traceback with OSError ENOENT despite file existing, on attach+send

Thorsten Glaser tg at mirbsd.de
Thu Feb 7 20:48:28 UTC 2013


Package: reportbug
Version: 6.4.3
Severity: normal

Hi,

I just typed a report and wanted to, as usual, attach a file
then send it. The screen looks like this, but the file exists:

Choose a file to attach: /var/lib/buildd/logs/haveged_1.4-4_m68k-20130207-1507
Report will be sent to "Debian Bug Tracking System" <submit at bugs.debian.org>
Attachments:
 /var/lib/buildd/logs/haveged_1.4-4_m68k-20130207-1507
Submit this report on haveged (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 2206, in <module>
    main()
  File "/usr/bin/reportbug", line 1080, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 2198, in user_interface
    self.options.envelopefrom)
  File "/usr/lib/pymodules/python2.7/reportbug/submit.py", line 248, in send_report
    (message, failed) = mime_attach(body, attachments, charset, body_charset)
  File "/usr/lib/pymodules/python2.7/reportbug/submit.py", line 170, in mime_attach
    stdout=PIPE, stderr=STDOUT).communicate()[0]
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
1|tg at ara5:~ $ ll /var/lib/buildd/logs/haveged_1.4-4_m68k-20130207-1507
-rw-rw-r-- 1 buildd buildd 26182 Feb  7 15:41 /var/lib/buildd/logs/haveged_1.4-4_m68k-20130207-1507

This normally works…


-- Package-specific info:
** Environment settings:
EDITOR="/usr/bin/jupp"
VISUAL="/usr/bin/jupp"
INTERFACE="text"

** /home/tg/.reportbugrc:
reportbug_version "6.4.3"
mode advanced
ui text
email "tg at mirbsd.de"

-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: m68k

Kernel: Linux 3.2.0-4-atari
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh-static

Versions of packages reportbug depends on:
ii  apt               0.9.7.7
ii  python            2.7.3-3
ii  python-reportbug  6.4.3

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                               <none>
pn  debconf-utils                            <none>
pn  debsums                                  <none>
pn  dlocate                                  <none>
pn  emacs22-bin-common | emacs23-bin-common  <none>
pn  file                                     <none>
ii  gnupg                                    1.4.12-7
ii  postfix [mail-transport-agent]           2.9.5-1
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               0.9.7.7
ii  python            2.7.3-3
ii  python-debian     0.1.21+nmu2
ii  python-debianbts  1.11
ii  python-support    1.0.15

python-reportbug suggests no packages.

-- no debconf information



More information about the Reportbug-maint mailing list