On Thu, Oct 13, 2011 at 10:17 AM, Martin Pool <[email protected]> wrote: > On 10 October 2011 16:00, Tim Cross <[email protected]> wrote: >> Starting this morning, I am unable to do a pull from the bzr repo for >> emacs. I also tried to do a fresh bzr branch with the same result. >> >> The commands I've tried using and the errors I am seeing follow >> >> tcross@blind-mole:~/bzr/emacs/trunk$ bzr pull >> Using saved parent location: http://bzr.savannah.gnu.org/r/emacs/trunk/ >> bzr: ERROR: Cannot lock >> LockDir(filtered-172943884:///emacs/trunk/.bzr/branch/lock): >> Permission denied: >> "/srv/bzr/emacs/trunk/.bzr/branch/lock/0m3a6hs09w.tmp": [Errno 13] >> Permission denied: >> '/srv/bzr/emacs/trunk/.bzr/branch/lock/0m3a6hs09w.tmp' > > Hi Tim, > > This is bzr seeing an errno 13 from the OS when it tries to take that > lock. It is strange that it's trying to lock when you are doing a > readonly operation. I would like to see the traceback which should be > in the server log, and perhaps an admin could do a 'ls -lR' and check > the permissions are as they should be. > > I'm apparently successfully pulling from there at the moment. > >> For a fresh branch (or for a bzr pull on an existing branch) I get the >> same error i.e. >> >> tcross@blind-mole:~/tmp/bzr$ bzr branch >> bzr://bzr.savannah.gnu.org/emacs/trunk/ >> bzr: ERROR: Connection closed: Unexpected end of message. Please check >> connectivity and permissions, and report a bug if problems persist. >> tcross@blind-mole:~/tmp/bzr$ > > This is also just the OS reporting the connection was reset, similar > to what Eli has. I think either the process is being killed on the > server or there is some kind of connection glitch. I suppose it's > possible it's a bug in bzr but I can't think what would cause it to > break just then, and I haven't heard of it elsewhere. Getting a trace > of bzr running on the server could be good. > > m >
Hi Martin, thanks for the response. Unfortunately, I cannot help with the server log info, but maybe Eli or someone else can assist with this. The really 'odd' thing here is that it seems so inconsistent in that I would expect if it is a permission issue, it would affect everyone and if it is a random OS locking issue/bug, then I would sometimes be 'lucky'. However, I get consistent results - from my work mahcine, it fails every time, from my home machine (different netowrk, slower connection!) it works without a problem. At the same time, I can connect to other bzr repositories on other servers from the work machine with no problem. If I can assist anyone trying to diagnose this with additional debug info or tests, I'm more that willing to do so. Tim -- Tim Cross Phone: 0428 212 217
