Bzr error while commiting

Aaron Bentley aaron.bentley at utoronto.ca
Fri Aug 31 17:54:57 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ralph Douglass wrote:
> Oh, right, sorry, forgot to mention the second part.  If I try to commit
> again after the error message, I get
> 
> Unable to obtain lock
> chroot-46912586122576:///bzr/multi/.bzr/repository/lock
> held by rdouglass at nyc-qsv-web2 on host nyc-qsv-web2 [process #32012]
> locked 1 hour, 37 minutes ago
> Will continue to try until 12:30:42
> 
> This doesn't go away until I break the lock, at which point I can try to
> commit again, but then my problems loop back to the first error.

This is just a guess, but it looks like bzr is being run with no stdout.
 Presumably that's on the server, not the local machine.

You could try this:

=== modified file 'bzr'
- --- bzr 2007-08-17 05:16:14 +0000
+++ bzr 2007-08-31 16:53:49 +0000
@@ -113,8 +113,7 @@
     # won't run but we don't use them.  Also file buffers won't be flushed,
     # but our policy is to always close files from a finally block. --
mbp 20070215
     try:
- -        sys.stdout.flush()
- -        sys.stderr.flush()
+        pass
     except IOError, e:
         import errno
         if sys.platform != 'win32' or e.errno != errno.EINVAL:

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG2Efh0F+nu1YWqI0RAt7BAJ9b0NIY+Ct516FhTJqKXrbLxU7orwCfbFx8
gGRXM1qLq5JqgDoU73C7s8Q=
=L650
-----END PGP SIGNATURE-----



More information about the bazaar mailing list