"bzr st" failed to handle No space left on device for ~/.bzr.log

Bug #407295 reported by timeless
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

Bazaar (bzr) 1.6.1
  Python interpreter: /usr/bin/python 2.4.3
  Python standard library: /usr/lib/python2.4
  bzrlib: /home/timeless/lib/python2.5/site-packages/bzrlib
  Bazaar configuration: /home/timeless/.bazaar
  Bazaar log file: /home/timeless/.bzr.log

[timeless@konigsberg network-manager-applet]$ bzr st
unknown:
  po/en_US.po
Traceback (most recent call last):
  File "/home/timeless/bin/bzr", line 131, in ?
    exit_val = bzrlib.commands.main(sys.argv)
  File "/home/timeless/lib/python2.5/site-packages/bzrlib/commands.py", line 848, in main
    ret = run_bzr_catch_errors(argv)
  File "/home/timeless/lib/python2.5/site-packages/bzrlib/commands.py", line 861, in run_bzr_catch_errors
    exitcode = trace.report_exception(sys.exc_info(), sys.stderr)
  File "/home/timeless/lib/python2.5/site-packages/bzrlib/trace.py", line 400, in report_exception
    log_exception_quietly()
  File "/home/timeless/lib/python2.5/site-packages/bzrlib/trace.py", line 335, in log_exception_quietly
    mutter(traceback.format_exc())
  File "/home/timeless/lib/python2.5/site-packages/bzrlib/trace.py", line 157, in mutter
    _trace_file.write(out)
IOError: [Errno 28] No space left on device

network-manager-applet and network-manager were in /tmp, as it happens, both that and ~ were in the same volume, which had no free space (which is why i was running bzr st). I was looking for any files i had created so that i could copy them elsewhere and delete the bzr repository. unfortunately, as a user, i have no way of knowing if the file listed was the only one in the repo. I hope it was, because i deleted the repo (i need the space...).

Expected results:
bzr st (and similar) is to a user, a readonly operation. Failure to perform writes which are advisory should not be fatal. It's ok to warn "could not write to ~/.bzr.log because there is no disk space available", but it shouldn't affect the operation of bzr st.

Vincent Ladeuil (vila)
Changed in bzr:
status: New → Confirmed
importance: Undecided → Wishlist
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.