Aptana 3, GitHub can clone but can't commit

谁都会走 提交于 2020-01-04 06:35:41

问题


I am very new to GitHub and I am using Aptana 3 on Ubuntu. I was able to clone a repository for GitHub by using file/import/Git Repository

When I added files to the local repo and I tried to commit I get this error.

Unhandled event loop exception
No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

How do I commit to GitHub in Aptana?


回答1:


The SO answer "How to set up internal browser for Aptana on Linux" lists some solution.
Check also your version of Aptana vs. JDK (32 or 64 bits): "Barking Up the Wrong Tree"

More recently (December 2012, Bruno Carlin), this issue can also be linked to the version of Xulrunner in Arch LinuX repositories (see "Aptana Studio/Eclipse and Xulrunner ")

The solution is that Aptana Studio cannot work with the version of Xulrunner in Arch LinuX repositories because it is too recent.

To solve this problem, I had to install xulrunner 1.9.2 from AUR:

yaourt -S xulrunner192

Finally, I put

-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.2

at the end of the AptanaStudio3.ini file in the Aptana Studio folder. For the package in the Arch Linux repositories, this file is /usr/share/aptana/AptanaStudio3.ini.



来源:https://stackoverflow.com/questions/8697685/aptana-3-github-can-clone-but-cant-commit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!