OSError in ensure_config_dir_exists shouldn't be fatal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned | ||
Breezy |
Triaged
|
Low
|
Martin Packman |
Bug Description
If you run bzr 2.0.4 as a user whose home directory doesn't exist you get-
escudero% bzr -Derror clean-tree
failed to open trace file: [Errno 2] No such file or directory: '/home/
bzr: ERROR: exceptions.OSError: [Errno 2] No such file or directory: '/home/
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
dry_
File "/usr/lib/
ignored=
File "/usr/lib/
if tree.is_
File "/usr/lib/
self.
File "/usr/lib/
ignore_
File "/usr/lib/
_set_
File "/usr/lib/
config.
File "/usr/lib/
os.mkdir(path)
OSError: [Errno 2] No such file or directory: '/home/
we should cope without it.
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Fix Released |
status: | Fix Released → Triaged |
importance: | Undecided → Low |
assignee: | nobody → Martin Packman (gz) |