[Fwd: Re: bzr 0.0.5 windows python 2.4.1 "global name 'self' not defined"]
mark brand
mark.brand at memerocket.com
Thu Jul 21 16:11:59 BST 2005
hi martin:
thanks for the prompt reply, no worry about finding bugs, it makes life
more interesting. re: problem, i applied the file you emailed (lock.py)
getting the error below (between ---). sorry i cant fix myself. same
process to error, created folder, bzr init, created file a.txt, bzr status.
cheers
mark
[D:\bin\dev\bzr\bar]python ..\bzr status
--------------------------------------------------------------------
unknown:
a.txt
D:\bin\dev\bzr\bzrlib\lock.py:64: UserWarning: lock on <open file
'D:\bin\dev\bzr\bar\.bzr\branch-lock', mode 'rb' at 0x
00BB4BA8> not released
warn("lock on %r not released" % self.f)
Exception bzrlib.errors.LockError: <bzrlib.errors.LockError instance at
0x00BE45D0> in <bound method _msvc_ReadLock.__de
l__ of <bzrlib.lock._msvc_ReadLock object at 0x00BC6B10>> ignored
------------------------------------------------------------------------
Martin Pool wrote:
> On 21 Jul 2005, mark brand <mark.brand at memerocket.com> wrote:
>
>>hi:
>>
>>just download bzr 0.0.5, am running this with windows xp & python 2.4.1
>>
>>i was doing the bzr tutorial: when i did "bzr status" i get this error
>>(below, between ---), all i had done upto this point is do a bzr init
>>which appeared to work ok.
>
>
> Thanks for the report, and sorry for the bug.
>
> I think you can fix it by replacing lock.py with the attached file, or
> changing occurrences of "self" in that function with "_msvc_FileLock".
>
>
>
> ------------------------------------------------------------------------
More information about the bazaar
mailing list