12

I am trying to push within Aptana but am getting the following error. I have successfully pulled, but can't figure out why my push won't work.

/home/jeni/apps/Aptana_Studio_3/plugins/com.aptana.git.core_3.0.0.1350339960/os/linux/askpass.    tcl: 3: exec: wish: not found
error: unable to read askpass response from     '/home/jeni/apps/Aptana_Studio_3/plugins/com.aptana.git.core_3.0.0.1350339960/os/linux/askpass.tcl'
fatal: could not read Username for 'https://github.com': No such device or address
misschoksondik
  • 471
  • 2
  • 6
  • 19

4 Answers4

4

I have had the same problem.

I am using Ubuntu 12.04, Eclipse with Aptana plug-in. Through Aptana's Git I was having the same problem.

I solved it by installing TK and TCL packages. It then was able to read the askpass.tcl file.

sudo apt-get install tcl
sudo apt-get install tk

Hope this helps

IgorAgatti
  • 73
  • 4
4

When this error occurs try git push from the terminal and you will be prompted a username and a password for your git config credentials and upon that a successful git push would happen

Kimanthi K.
  • 337
  • 3
  • 10
3

The message "error: unable to read askpass response from '/tmp/git-askpass-0.sh'" was shown to me when I used Git from Intellij, but git worked fine from the terminal.

I tried Seborreia's method but it did not work

Someone suggested rebooting the computer.

Later on I realized that my jre/bin folder did not have appropriate permissions. Adding +x permissions fixed the issue.

taari
  • 796
  • 7
  • 7
1

I had the same error:

error: unable to read askpass response from...

I solved it by running:

unset SSH_ASKPASS

tried to pull again and everything works fine.

The solution is discussed here: https://community.atlassian.com/t5/Bitbucket-questions/git-login-issue-from-linux-command-line/qaq-p/716269

SWeC
  • 105
  • 1
  • 13