Failed to run bzr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
High
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned |
Bug Description
lp:bzr (r6543)
All commands crash with below traceback.
Traceback (most recent call last):
File "C:\DEVELOP\
library_state = bzrlib.initialize()
File "C:\DEVELOP\
state._start()
File "C:\DEVELOP\
self.
File "C:\DEVELOP\
self.
File "C:\DEVELOP\
bzr_log_file = _open_bzr_log()
File "C:\DEVELOP\
_rollover_
File "C:\DEVELOP\
osutils.
File "C:\DEVELOP\
(old, new))
UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0: ordinal not in range(128)
Bazaar (bzr) 2.6.0dev3
Python interpreter: C:\DEVELOP\
Python standard library: C:\DEVELOP\
Platform: Windows-
bzrlib: C:\DEVELOP\
Bazaar configuration: C:/Users/
Bazaar log file: C:\Users\
--
This problem comes from several causes.
1. At first, bzr trys to rename .bzr.log to .bzr.log.old if the log file size is over the threshold.
But this often fails. (One of major causes is that .bzr.log.old already exists, another is that tbzr or other bzr process locks it.)
2. Exception handler of osutils.rename has a problem about non-ascii characters. So bzr can't handle rename error correctly.
Changed in bzr: | |
milestone: | 2.6b3 → none |
tags: | added: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: |
added: unicode removed: check-for-breezy |
This is a regression from bug 492144 landed in r6498.
For whatever reason I mentioned in the review that the code didn't handle non-ascii filenames correctly but then landed it anyway and didn't fix in a follow up, sorry...
<https:/ /code.launchpad .net/~rosslager wall/bzr/ 492144- rename- wrapper/ +merge/ 93485>