Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github push error. unable to read askpass & could not read Username

Tags:

git

github

aptana

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
like image 280
misschoksondik Avatar asked Feb 18 '13 13:02

misschoksondik


3 Answers

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

like image 142
IgorAgatti Avatar answered Nov 15 '22 18:11

IgorAgatti


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

like image 12
Kimanthi K. Avatar answered Nov 15 '22 17:11

Kimanthi K.


I solved the issue with "Credential Helper". Navigate from Android Studio -> Preferences -> Version Control -> Git, then tick the check box of "Credential Helper" -> Ok. Now, try to push again

like image 11
fahrizal89 Avatar answered Nov 15 '22 16:11

fahrizal89