bzr: ERROR: exceptions.AttributeError: 'NoneType' object has no attribute 'lock_read'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Explorer |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Bazaar Explorer asked me to report a bug, and requested that I include the following information:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "bzrlib\log.pyo", line 339, in show
AttributeError: 'NoneType' object has no attribute 'lock_read'
bzr 2.2.1 on python 2.6.4 (win32)
arguments: ['C:\\Program Files\\
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\
colo C:\Program Files\Bazaar\
explorer C:\Program Files\Bazaar\
fastimport C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
loom C:\Program Files\Bazaar\
netrc_
news_merge C:\Program Files\Bazaar\
pipeline C:\Program Files\Bazaar\
qbzr C:\Program Files\Bazaar\
rewrite C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
upload C:\Program Files\Bazaar\
xmloutput C:\Program Files\Bazaar\
All I could find in .bzr.log is:
0.282 looking for plugins in C:/Documents and Settings/
0.282 looking for plugins in C:/Program Files/Bazaar/
6.750 loading explorer extensions for clothes ['Bazaar support', 'Register on Launchpad']
6.750 explorer extensions provided by the colo plugin in C:/Program Files/Bazaar/
9.266 bzr-svn: using Subversion 1.6.6 ()
12.047 Unable to open <bzrlib.
[Dozens of repetitions of the above line with numerous other paths within the same .bzr directory omitted]
44.453 Traceback (most recent call last):
File "tbzrcommand.py", line 39, in <module>
error: (6, 'GetConsoleTitle', 'The handle is invalid.')
44.453 couldn't find apport bug-reporting library: No module named apport
45.500 opening working tree 'E:/Documents/
45.735 Returning RevisionSpec RevisionSpec_submit for submit:
[ 4804] 2010-10-19 17:02:41.953 INFO: Using parent branch file://
46.375 check paths: None
46.407 check paths: None
[ 5260] 2010-10-19 17:14:58.203 INFO: Client disconnected from pipe - closing connection
(I guess I don't really need to tell you that I'm using Windows, and that I have not implemented multi-tasking and multi-user support for DOS, nor have I ported pyqt and subversion to it?)
Now I'll see if I can reproduce this with Process Monitor tracing filesystem access and the like...
Okay, this happens intermittently when I
1) Start Bazaar Explorer on "E:\Documents\ Code\dvc" (from TortoiseBzr, thus far), which is a shared repository with two branches and a lightweight checkout nested inside it.
2) Double click on the lightweight checkout.
I tried 7-zipping my repository, in case there was something odd about it, but now *I* can't seem to reproduce it (with either the extracted one or the original), so I guess there must be some factor that I'm not not aware of, and I'm not going to bother uploading the 10 meg file just so you can waste your time trying to reproduce it, unless you think that it might actually help...
Also, it might be relevant that I ran into this on my USB stick, which is formatted with FAT32. (It used to be FAT16, but I converted it to save space when it got full. This helped because FAT32 allows smaller "clusters", and I had tons of tiny files.)