Interrupting pull with ctrl-C left stale locks that cannot be removed - even with bzr break-lock
John Arbash Meinel
john at arbash-meinel.com
Fri Nov 3 03:07:28 GMT 2006
Martin Pool wrote:
> On 1 Nov 2006, John Arbash Meinel <john at arbash-meinel.com> wrote:
>> Nick and I dug into this today, and found out that the problem is how
>> Windows python interacts with non-cmd.exe shells.
>
> Thanks for looking into it John.
>
> I guess you already tried this but does
>
> os.write(1, 'hello\n')
>
> give no output too?
>
It sounds like it is actually the direct terminal output like raw_input
and getpass() which might be to blame. Because it would seem that most
output he is getting.
So it might just be that we need to do:
print 'foo'
response = raw_input()
Rather than
response = raw_input('foo')
Though we need to test if we get any input back.
The confusion is that psql and python always use direct terminal I/O for
interaction, so I knew that they didn't work.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061102/155e65c0/attachment.pgp
More information about the bazaar
mailing list