Aptana 3,GitHub 可以克隆但不能提交 [英] Aptana 3, GitHub can clone but can't commit

查看:26
本文介绍了Aptana 3,GitHub 可以克隆但不能提交的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 GitHub 非常陌生,我在 Ubuntu 上使用 Aptana 3.我能够通过使用 file/import/Git Repository 为 GitHub 克隆一个存储库

当我将文件添加到本地存储库并尝试提交时,出现此错误.

未处理的事件循环异常没有更多的句柄 [未知的 Mozilla 路径(MOZILLA_FIVE_HOME 未设置)]

我如何在 Aptana 中提交到 GitHub?

解决方案

SO 答案 "如何在 Linux 上为 Aptana 设置内部浏览器"列出一些解决方案.
还要检查您的 Aptana 与 JDK 版本(32 位或 64 位):"挑错树"

最近(2012 年 12 月,Bruno Carlin),这个问题也可以链接到Arch LinuX 存储库中的 Xulrunner 版本(参见Aptana Studio/Eclipse 和 Xulrunner ")

<块引用>

解决方案是 Aptana Studio 无法使用 Arch LinuX 存储库中的 Xulrunner 版本,因为它太新了.

为了解决这个问题,我必须从 AUR 安装 xulrunner 1.9.2:

yaourt -S xulrunner192

<块引用>

最后,我把

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

<块引用>

在 Aptana Studio 文件夹中的 AptanaStudio3.ini 文件的末尾.对于 Arch Linux 存储库中的包,此文件为 /usr/share/aptana/AptanaStudio3.ini.

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?

解决方案

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.

这篇关于Aptana 3,GitHub 可以克隆但不能提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆