Wireshark-dev: Re: [Wireshark-dev] Setting up git for gerrit

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Mon, 30 Nov 2015 07:40:08 +0000


On 29 November 2015 at 23:19, Paul Offord <Paul.Offord@xxxxxxxxxxxx> wrote:

Hi,

 

I’m trying to setup git so that I can submit a change to gerrit.  Although I can use git pull to update the code, when I try git review I get:

 

C:\Development\Wireshark>git review

bash: /dev/tty: No such device or address

error: failed to execute prompt script (exit code 1)

fatal: could not read Username for 'https://code.wireshark.org': Invalid argument

 

I’m pretty sure this is an authentication issue.  I’ve set my SSH public key in gerrit and an HTTPS password.  Details of the access are:

 

C:\Development\Wireshark>git remote -v

origin  https://code.wireshark.org/review/wireshark (fetch)

origin  https://code.wireshark.org/review/wireshark (push)

 

What should git remote –v look like if I have things setup correctly?

 

Thanks and regards…Paul

 


Note that the latest git for Windows causes some issues with git review, depending on how you install it.

So firstly your environment, what is your git version (git --version), git-review version (git-review --version) and do you have ssh.exe from path\to\git\usr\bin on the path (where.exe ssh.exe)?

Are you running a Windows native python, what version of python?



--
Graham Bloice