【问题标题】:How to access GitHub's repository by username and password with Aptana Studio?如何使用 Aptana Studio 通过用户名和密码访问 GitHub 存储库?
【发布时间】:2013-03-05 12:03:56
【问题描述】:

我之前一直在使用 git,我自己托管它并将我的 SSH 密钥上传到服务器。

这是我第一次使用 Github,想通过用户名和密码链接到它。

我已经链接了项目,当我尝试拉取时,我没有询问用户名和密码,而是收到以下错误消息:

/opt/Aptana_Studio_3/plugins/com.aptana.git.core_3.0.0.1350339236/os/linux/askpass.tcl: 3: exec: wish: not found
error: unable to read askpass response from '/opt/Aptana_Studio_3/plugins/com.aptana.git.core_3.0.0.1350339236/os/linux/askpass.tcl'
fatal: could not read Username for 'https://github.com': No such device or address 

在哪里设置用户名和密码?

【问题讨论】:

    标签: github aptana


    【解决方案1】:

    错误中的“exec: wish: not found”部分意味着缺少 tk 和 python-tk 包。

    快速修复

    安装 tk 和 python-tk 包。

    长期修复

    通过按 Ctrl+Alt+TCtrl+Alt 访问终端kbd>+F1Ctrl+Alt+F7 从 tty 返回到 Gnome)。

    在终端输入以下内容:

    sudo apt-get install tk && sudo apt-get install python-tk
    

    安装后,通过 Aptana Studio 再次尝试推/拉 git(单击“木屐”图标 > 推/拉)。这一次,您应该会看到密码输入查询。

    来源:Problems cloning a GitHub repo using Egit on Eclipse 3.6.2 Helios

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-03-17
      • 2019-09-30
      相关资源
      最近更新 更多