suspected path too long gives bzr: ERROR: [Errno 2] No such file or directory:
Some months ago I updated from Windows 2.5.1 standalone install to 2.6b1 standalone install to get around a bug which caused occasional intractable issues. I forget the bug, but 2.6b1 solved it.
Anyway 2.6b1 has been working well, we have been creating branches, editing, merging, pushing, pulling as you do with little problem.
Alas last couple of days I have come across a repo that I cannot branch with 2.6b1 (although have not reinstalled 2.5.1 to check it works).
I suspect combined path and filename length limits may have been exceeded somewhere (just a hunch, I don't have the skills or experience to be confident of that).
I would like to know whether it is indeed likely to be a path length issue (so I can take action accordingly) or if it is likely something else (a bug?) is going on. And might 2.5.1 perform better in this situation?
If I run check -v, nothing untoward is reported.
Here is the error message that branching produces.
Run command: bzr branch "C:/Documents and Settings/Bruce/My Documents/
bzr: ERROR: [Errno 2] No such file or directory: u'C:/Documents and Settings/Bruce/My Documents/
If I hunt around for the offending file, i find it's combined path and name length is about 249 characters.
Here is a part of the bzr.log traceback.
Sat 2014-12-20 07:44:33 +1300
0.171 bazaar version: 2.6b1
0.187 bzr arguments: [u'qsubprocess', u'--bencode', u'l6:branch115:
0.187 looking for plugins in C:/Documents and Settings/
0.187 looking for plugins in C:/Program Files/Bazaar/
0.281 encoding stdout as osutils.
0.515 bazaar version: 2.6b1
0.515 bzr arguments: [u'branch', u'C:/Documents and Settings/Bruce/My Documents/
0.515 encoding stdout as osutils.
0.578 opening working tree 'C:/Documents and Settings/Bruce/My Documents/
0.625 opening working tree 'C:/Documents and Settings/Bruce/My Documents/
0.703 Using fetch logic to copy between CHKInventoryRep
0.703 fetching: <SearchResult search:
0.703 creating branch <bzrlib.
0.734 bzr-colo: setting nick from hook
0.781 created new branch BzrBranch7(
0.796 opening working tree 'C:/Documents and Settings/Bruce/My Documents/
3.125 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
3.125 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
3.125 Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
IOError: [Errno 2] No such file or directory: u'C:/Documents and Settings/Bruce/My Documents/
Here is mys system version info reported by Bazaar.
C:\Documents and Settings\Bruce\My Documents\
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: