Launchpad logo and name.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index ][Thread Index ]

Re: Error message in Launchpad after running bzr upgrade



Hi Tom,

Sorry about taking so long to reply to this email. It only appeared in
my inbox in the last day or so.

On Sun, Aug 24, 2008 at 3:35 AM, Tom Tobin <korpios@xxxxxxxxxxx> wrote:
> I just ran "bzr upgrade --1.6-rich-root lp:python-wayback", and I'm
> now seeing the following error on Launchpad:
>
> File exists: u'/srv/bazaar.launchpad.net/mirrors/00/00/30/02/.bzr':
> [Errno 17] File exists:
> '/srv/bazaar.launchpad.net/mirrors/00/00/30/02/.bzr'
>

This was caused by a bug in Launchpad that has since been fixed, which
means that it's not affecting any *new* branches.

> The error doesn't go away when I refresh the page for this branch:
>
> https://code.launchpad.net/~korpios/python-wayback/trunk
>

We're currently waiting for approval to run an operation on the
codehosting system that will resolve this—sorry it's taking so long.
We expect to get it sorted out real soon now.

> Did I do something screwy?
>

Not at all. It's our fault.

> bzr also claims it made a backup at
> "bzr+ssh://korpios@xxxxxxxxxxxxxxxxxxxx/%7Ekorpios/python-wayback/trunk/backup.bzr"
> — can I remove that?  Or even access that?

You can access it and remove it, but *another* bug in Launchpad makes
it a little bit difficult.

To delete it, you need to log in with an sftp client and remove the
directory. The bug at
https://bugs.edge.launchpad.net/launchpad-bazaar/+bug/264189 means
that most sftp clients will be difficult to use.

If it really, really matters, you can do something like this:
>>> from bzrlib.transport import get_transport
>>> t = get_transport('sftp://bazaar.launchpad.net/~korpios/python-wayback/trunk/')
>>> t.delete_tree('backup.bzr')

But if it were me, I'd wait until I could do it with my regular sftp
client. I have a superstitious fear of recursive delete operations.

jml




This is the launchpad-users mailing list archive — see also the general help for Launchpad.net mailing lists.

(Formatted by MHonArc.)