Running bzr on Windows CMD as Administrator causes "Internal error"

Asked by Vy Nguyen

I was running my CMD window as Administrator, and tried to branch from a project on launchpad with bazaar, but got this error:

(Just a few lines from the error, I couldn't exactly copy-and-paste from the window terminal, so I had to type this down!)

And I was running Putty SSH Authentication Agent, so the error is kind of misleading, I think.

===========
ERROR: parmiko.SSHException: lost ssh-agent

Traceback (most recen call last):
 File "bzrlib\commands.ypo", line 929, in exception_to_return_code
 FIle "bzrlib]commands.pyo", line 1131, in run_bzr
 ....

bzr 2.5.1 on python 2.6.6 (Windows7-6.1.7601-SP1)
arguments: ['bzr', 'branch', '<branch name>']
puglints: bzrtools[2.5.0], changelog_merge[2.5.1], colo[0.4.0]
 ...
encode: ...

*** Bazaar has encountered an internal error. This probably indicates a bug in Bazaar.
 ...

=====
Running BAZAAR as a normal user is fine, but I wouldn't able to fork a branch, because of the read-write permission.

So how do I fix this?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jelmer Vernooij (jelmer) said :
#1

On Wed, Jun 27, 2012 at 11:56:00PM -0000, Vy Nguyen wrote:
> Question #201674 on Bazaar changed:
> https://answers.launchpad.net/bzr/+question/201674

> Description changed to:
> I was running my CMD window as Administrator, and tried to branch from a
> project on launchpad with bazaar, but got this error:

> (Just a few lines from the error, I couldn't exactly copy-and-paste from
> the window terminal, so I had to type this down!)

> And I was running Putty SSH Authentication Agent, so the error is kind
> of misleading, I think.

> ===========
> ERROR: parmiko.SSHException: lost ssh-agent

> Traceback (most recen call last):
> File "bzrlib\commands.ypo", line 929, in exception_to_return_code
> FIle "bzrlib]commands.pyo", line 1131, in run_bzr
> ....

> bzr 2.5.1 on python 2.6.6 (Windows7-6.1.7601-SP1)
> arguments: ['bzr', 'branch', '<branch name>']
> puglints: bzrtools[2.5.0], changelog_merge[2.5.1], colo[0.4.0]
> ...
> encode: ...

> *** Bazaar has encountered an internal error. This probably indicates a bug in Bazaar.
> ...

> =====
> Running BAZAAR as a normal user is fine, but I wouldn't able to fork a branch, because of the read-write permission.

> So how do I fix this?
This error comes directly from paramiko (which we use for SSH
communication). I'm not sure why it has trouble talking to the ssh
agent.

We've apparently seen this before. I'll link the related bug.

Cheers,

Jelmer

Revision history for this message
Martin Packman (gz) said :
#2

A patch for the Pageant side of this issue landed as part of bug 820805 so, checking your putty version and updating to 0.6.2 may help.

Can you help with this problem?

Provide an answer of your own, or ask Vy Nguyen for more information if necessary.

To post a message you must log in.