bzr get fails

Asked by Bar Shirtcliff

I'm attempting to get the emacs vm trunk.

>> bzr get lp:vm
bzr: ERROR: Parent of "vm" does not exist.

what does this mean?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
Tim Penhey Edit question
Solved by:
Vincent Ladeuil
Solved:
Last query:
Last reply:
Revision history for this message
Guilherme Salgado (salgado) said :
#1

I'm able to do a 'bzr get lp:vm' here, so it might be a bzr issue. Care to tell us what version of bzr you're using?

Revision history for this message
Bar Shirtcliff (barshirtcliff) said :
#2

Thanks.

I have:

>> bzr version
Bazaar (bzr) 2.1.0
  Python interpreter: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python 2.6.4
  Python standard library: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
  Platform: Darwin-10.2.0-i386-64bit
  bzrlib: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib
  Bazaar configuration: /Users/barshirtcliff/.bazaar
  Bazaar log file: /Users/barshirtcliff/.bzr.log

Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Bazaar is part of the GNU Project to produce a free operating system.

On Mar 29, 2010, at 1:44 PM, Guilherme Salgado wrote:

> bzr get lp:vm

Revision history for this message
Tim Penhey (thumper) said :
#3

'get' is an alias for 'checkout' which you can only do if you have write access to the branch.

Try bzr branch lp:vm

Revision history for this message
Bar Shirtcliff (barshirtcliff) said :
#4

Thanks. Here's the output.

1 jobs @ bar-macbook.local, 02:02 PM, in ~/elisp/vm, 774:
>> bzr branch lp:vm
bzr: ERROR: Parent of "vm" does not exist.

I was hopeful for a minute, there.
I didn't know that, about get.
I wonder if the vm project is still alive.

On Mar 29, 2010, at 1:57 PM, Tim Penhey wrote:

> Try bzr branch lp:vm

Revision history for this message
Tim Penhey (thumper) said :
#5

Ah ha, it seems that the launchpad plugin isn't loaded. That is what does the lp: name resolution.

What do you get if you type `bzr plugins`?

Revision history for this message
Bar Shirtcliff (barshirtcliff) said :
#6

I'm getting the following:

>> bzr plugins
bzrtools 2.1.0
    Various useful commands for working with bzr.

launchpad 2.1.0
    Launchpad.net integration plugin for Bazaar.

netrc_credential_store 2.1.0
    Use ~/.netrc as a credential store for authentication.conf.

news_merge 2.1.0
    Merge hook for bzr's NEWS file.

it looks to me like the launchpad plugin should be working.
Perhaps I am missing a dependency?
Sorry for all the trouble. I'm new to launchpad.

On Mar 29, 2010, at 2:13 PM, Tim Penhey wrote:

> Your question #105604 on Launchpad Bazaar Integration changed:
> https://answers.edge.launchpad.net/launchpad-code/+question/105604
>
> Status: Open => Needs information
>
> Tim Penhey requested for more information:
> Ah ha, it seems that the launchpad plugin isn't loaded. That is what
> does the lp: name resolution.
>
> What do you get if you type `bzr plugins`?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.edge.launchpad.net/launchpad-code/+question/105604
>
> You received this question notification because you are a direct
> subscriber of the question.

Revision history for this message
Vincent Ladeuil (vila) said :
#7

try:
  bzr branch -Derror lp:vm

That should give a traceback with more details about where this error is coming from.

Revision history for this message
Vincent Ladeuil (vila) said :
#8

FWIW, it succeeds here:

bzr branch lp:vm
Branched 734 revision(s).
HPSS calls: 27 (16 vfs) SmartSSHClientMedium(bzr+ssh://<email address hidden>/)

Revision history for this message
Bar Shirtcliff (barshirtcliff) said :
#9

Hi Vincent.

Thanks.
does this help?

bzr: ERROR: bzrlib.errors.BzrCommandError: Parent of "vm" does not exist.

Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 853, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 1055, in run_bzr
    ret = run(*run_argv)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 661, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 665, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 122, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/builtins.py", line 1223, in run
    % to_location)
BzrCommandError: Parent of "vm" does not exist.

On Mar 29, 2010, at 2:35 PM, Vincent Ladeuil wrote:

> Your question #105604 on Launchpad Bazaar Integration changed:
> https://answers.edge.launchpad.net/launchpad-code/+question/105604
>
> Status: Open => Answered
>
> Vincent Ladeuil proposed the following answer:
> try:
> bzr branch -Derror lp:vm
>
> That should give a traceback with more details about where this error is
> coming from.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.edge.launchpad.net/launchpad-code/+question/105604/+confirm?answer_id=6
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.edge.launchpad.net/launchpad-code/+question/105604
>
> You received this question notification because you are a direct
> subscriber of the question.

Revision history for this message
Vincent Ladeuil (vila) said :
#10

Wow, so it seems that the parent directory of vm *locally* on your host doesn't exist.

I.e. we try to create the "vm" directory with mkdir and the os tell us that elisp (from your 1 jobs @ bar-macbook.local, 02:02 PM, in ~/elisp/vm, 774).

In what context are you running this command ?

Could it be that you somehow ended up in a directory that you deleted from another shell or from the finder (you're running OSX given the paths involved).

Revision history for this message
Best Vincent Ladeuil (vila) said :
#11

typo:

I.e. we try to create the "vm" directory with mkdir and the os tell us that elisp (from your 1 jobs @ bar-macbook.local, 02:02 PM, in ~/elisp/vm, 774)
*doesn't exist*.

Revision history for this message
Bar Shirtcliff (barshirtcliff) said :
#12

Hi Vincent,

Nay, I'm accident prone, but that's a bit much even for me.
Look:

1 jobs @ bar-macbook.local, 02:52 PM, in ~/elisp/vm, 778:
>> cd ../
1 jobs @ bar-macbook.local, 02:52 PM, in ~/elisp, 779:
>> lsl
total 24
drwxr-xr-x 8 barshirtcliff staff 272 Mar 29 14:52:28 2010 .
-rwxr-xr-x@ 1 barshirtcliff staff 7875 Mar 29 14:31:44 2010 emacs
drwxr-xr-x 3 barshirtcliff staff 102 Mar 29 13:47:30 2010 vm
drwxr-xr-x+ 56 barshirtcliff staff 1904 Mar 29 13:47:24 2010 ..
drwxr-xr-x 24 barshirtcliff staff 816 Mar 26 08:40:21 2010 elisp
drwxr-xr-x 3 barshirtcliff staff 102 Mar 22 07:33:33 2010 org
-rw-r--r--@ 2 barshirtcliff staff 60 Mar 17 13:46:34 2010 gnus.el
drwxr-xr-x 8 barshirtcliff staff 272 Mar 17 05:54:41 2010 .bzr

But!!!
You were on the right track.
I happened to have a binary file, an old compiled vm something, sitting in that vm directory, into which I was trying to branch vm.
So, this is a big duh. I'm so sorry for the trouble. removing that old file cleared up the problem.

Thanks,
Bar

On Mar 29, 2010, at 2:50 PM, Vincent Ladeuil wrote:

> Your question #105604 on Launchpad Bazaar Integration changed:
> https://answers.edge.launchpad.net/launchpad-code/+question/105604
>
> Status: Open => Answered
>
> Vincent Ladeuil proposed the following answer:
> Wow, so it seems that the parent directory of vm *locally* on your host
> doesn't exist.
>
> I.e. we try to create the "vm" directory with mkdir and the os tell us
> that elisp (from your 1 jobs @ bar-macbook.local, 02:02 PM, in
> ~/elisp/vm, 774).
>
> In what context are you running this command ?
>
> Could it be that you somehow ended up in a directory that you deleted
> from another shell or from the finder (you're running OSX given the
> paths involved).
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.edge.launchpad.net/launchpad-code/+question/105604/+confirm?answer_id=9
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.edge.launchpad.net/launchpad-code/+question/105604
>
> You received this question notification because you are a direct
> subscriber of the question.

Revision history for this message
Bar Shirtcliff (barshirtcliff) said :
#13

Thanks, Vincent!
What a silly problem. I'm sorry.