Push Failed - IntelliJ - github

I am trying to push any commits from IntelliJ but keep getting this error message:
"Push failed Cannot spawn C:\Users\laure\AppData\Local\JetBrains\IdeaIC2020.1\tmp\intellij-git-askpass.sh: No such file or directory could not read Username for 'https://github.com': No such file or directory"
I can do it from terminal but not from the IDE.

Seems like antivirus is blocking execution of the script, which is needed to authenticate into the remote via IDE.
Please try disabling antivirus or add C:\Users\laure\AppData\Local\JetBrains\IdeaIC2020.1\tmp\intellij-git-askpass.sh
It might be a result of AV, or group policy blocking java scripts.
Also please check whether the file intellij-git-askpass.sh exists.

I checked AV. Bitdefender tends to be paranoid, but i checked the notifications on it and I can se that it is not blocking the push.
I am new to IntelliJ, might I ask what you mean by adding:
C:\Users\laure\AppData\Local\JetBrains\IdeaIC2020.1\tmp\intellij-git-askpass.sh.
Also I could not find the file:
intellij-git-askpass.sh
PS
Thank you for taking your time to answer.

Related

Installing MongoDB. failed to start service

Cannot find much on the internet about this problem. I even reset my computer because other things were messing up and it was about time i reset everything anyway. How ever I am still getting this error when I try to install it. I saw another post about it but it seemed it only applied to Windows 7, and I use Windows 10. Any help would be appreciated.
EDIT - I have solved my problem. I downloaded Java and it didn't install so i checked for updates and i Updated my system and it worked.
Error
You can look into this
http://blog.iswix.com/2008/09/different-year-same-problem.html
To confirm, with the installer on the abort, retry, ignore, cancel dialog up... go into services.msc and set the username and password manually. If you get a message saying the user was granted logon as a service right, try hitting retry on the MSI dialog and see if it starts.
It could also be missing dependencies or exceptions being thrown in your code.
Also,
Error 1920 service failed to start. Verify that you have sufficient privileges to start system services
Open command prompt in administrator mode(Windows) and navigate to the directory having the .msi file.
Now directly install it, by just writing the filename in the command line, itll be installed.

Trying to use Intellij with GitHub [duplicate]

This question already has answers here:
git: fatal: Could not read from remote repository
(60 answers)
Closed 4 years ago.
I am able to log onto GitHub on the internet and I have permissions to see the project (I am even able to download it in zip file format). But somehow I am unable to make the connection to GitHub through the IDE of Intellij IDEA.
I have set up the connection -- properly, apparently -- using the "Settings" dialog in the IDE on the "GetHub" option under "Version Control", because when I click on the "Test" button, there is a pop up message that says "Connection successful"
I followed the steps on this website:
Java Intellj with GitHub
... for the most part. The only reason I did not follow the final steps to the letter was because I already had a project open and I had to close the IDE and reopen it because of this.
Now, in the dialog that comes up at the beginning when you restart Intellij IDEA with the title "Welcome to IntelliJ IDEA", I am prompted with "Check out from Version Control" but when I try to connect, nothing happens. Then, when I click on the "Events" prompt, it comes up saying:
**Clone Failed**
Could not read from remote repository.
Please advise.
Teaming up with coworkers helped lead to the solution. From the Welcome window, there is the option to clone a repository. The default URL options that are populated and presented in a drop down list have the wrong format for a URL. They each start with "git#github.com..." which is not correct.
I put the proper URL address to our repository on github.com in this field, and soon everything fell into place
IntelliJ uses command-line git client to clone/push/pull. Looks like you either use SSH-based access which is not properly configured, or git client has some cached credentials that do not work for the URL you are trying to clone from.
If it is SSH-based access, make sure you have all the keys in place and .ssh/config set (if ket names are non-default).
If it is HTTP-based access, check if there are some credentials saved, try clearing or disabling credential-helper.
You should also check the Console tab of the Version Control toolwindow for the full error message, maybe there is something else.

An error has occured. Please see log file - eclipse

When I start up Eclipse, it gives me an error saying:
An error has occurred. See the log file
/home/Vendetta/.eclipse/org.eclipse.platform_3.8_155965261/configuration/1428564435095.log
on Linux Debian
Can you tell me what I should do?
Well whenever I've run into similar problems, it usually meant that a plug in had become out of synch with my eclipse file directory.
Unfortunately I can't give you much more than a generic "make sure your workspace is safe and re-download eclipse" with the information you've given.

Github failed to sync branch

I'm using W7 64 bi , and just got an error from the github client app. It says:
failed to sync branch. you might need to open a shell and debug the state of this repo.
What do I do now ?
I know this will sound crazy, but try restarting your computer.
This happend to me yesterday; I was getting this error, and upon checking: \AppData\Local\GitHub\TheLog.txt
I found messages like:
AppData\Local\GitHub\PortableGit_ca477551eeb4aea0e4ae9fcd3358bd96720bb5c8\bin\sh.exe:
*** Couldn't reserve space for cygwin's heap, Win32 error 0
The problem comes around to GitHub for Windows updating itself (in particular the cygwin-ized PortableGit) in the background while I was using it. Ultimately, some cygwin dlls from the previous PortableGit dlls were still loaded in memory causing errors when trying to execute the new (updated) PortableGit commands.
Restarting cleared out all the previously loaded cygwin dlls.
You might have a more complex problem than my answer can solve, but -- for anyone else who comes across this question -- some basic solutions can be found in this video. In short, status.github.com, git status, and gitstatus are your friends. See what they tell you and then continue your sleuthing with that new information in mind. You can use these tools using Git Shell that comes with the Github Windows client.
I'll note that my own problem stemmed from trying to sync a file that was too large: I only found this by using the Git Shell, which gave me the error when I tried git sync. I'm currently looking for ways to remove the file in question in previous commits so I can sync my repo appropriately. The guide I am currently following can be found here, and if it seems to be taking me in the right direction (it was actually recommended in the Git Shell error message!)
I had this error before, and I fixed it by reinserting the credentials for my github account. Turns out that github logged me out for some reason

"Unknown response received from cvs server" in Eclipse

I've been using Eclipse with CVS over SSH for some time with no problems.
Today, Eclipse started complaining with:
unknown response received from cvs server
whenever I try to do any CVS operations.
What's causing this issue?
Simple solution!
It turns out that my SSH password had expired, and needed to be changed. I simply logged in to the target server over SSH, changed the password, and then updated my Eclipse CVS configuration to use the new password.
This also happened to me, when the CVS project moved to a new server. The server's ssh fingerprint changed (of course, because it's a new server, duh), and every thing I tried to do in Eclipse just got the null failure explained above. To fix it, I had to go into the preferences (path: window/preferences/network/ssh2/knownhosts) and delete the fingerprint of the old server, and then retry the connection. New fingerprint came up for validation, accepted it by typing yes, and it was all good after that. I wish Eclipse's error messages were just a bit more verbose.
Cheers,
Zistrosk