Public bug reported:

Binary package hint: git-gui

When trying to pull/push from/to a repository, in the case when git-gui
is not started from a terminal, it cannot ask for password. It shows a
window with the following messages:

ssh_askpass: exec(/usr/lib/git-core/git-gui--askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/lib/git-core/git-gui--askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/lib/git-core/git-gui--askpass): No such file or directory
Permission denied (publickey,password).
fatal: The remote end hung up unexpectedly

As it can be seen, the git-gui--askpass file is missing from the system,
and couldn't find it in any Ubuntu package.

As expectation, git gui should ask for the needed password, and complete
the pull or push operation.

If git gui is started from a terminal, it asks for password in that
terminal.

Steps to reproduce:
1. press alt+f2, type in "git gui", hit enter
2. create a new repository
3. select a directory for the new repository
4. in the menu, remote -> add
5. fill in the data for a remote git repository; it should be a one that is 
accessed through SSH and asks a password. for example, sourceforge services can 
be used like this
6. at the bottom of the dialog, select the "download now option"
7. click ok
8. you will get the above described error message

expected:
at 8. get, a dialog asking for password should appear, and the remote 
repository should be downloaded

Note that copying the git-gui--askpass file from the source distribution
in the /usr/lib/git-core directory, git gui will ask for the password,
but the password window will become non-responsive after entering the
password.

git-core version 1:1.7.0.4-1
git-gui version 1:1.7.0.4-1

$ lsb_release -rd
Description:    Ubuntu 10.04 LTS
Release:        10.04

See also this:
http://kerneltrap.org/mailarchive/git/2008/11/4/3916164/thread

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: git-gui 1:1.7.0.4-1
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Sun Jul  4 14:36:34 2010
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=hu_HU.UTF-8
 SHELL=/bin/bash
SourcePackage: git-core

** Affects: git (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
git-gui cannot ask for password when started outside a terminal
https://bugs.launchpad.net/bugs/601595
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to