无法使用Github for Windows在Windows 8 RC中克隆此存储库

时间:2012-06-02 19:06:36

标签: github-for-windows

尝试使用GitHub for Windows在Windows 8 RC中克隆我的一个GitHub存储库时出现以下错误消息:

无法克隆此存储库。 请检查您的互联网连接。

  • 当我尝试使用GitHub for Windows在Windows 7中克隆相同的存储库时,它会成功。
  • 在出现错误消息之前,Windows 8中的克隆进展到大约9%。

我已经检查了日志文件TheLog.txt,它说错误设置证书验证位置:

2012-06-02 20:28:12.5876|INFO|GitHub.Extensions.ReactiveScreen|Activating GitHub.ViewModels.AboutViewModel.
2012-06-02 20:28:57.4916|INFO|GitHub.Extensions.ReactiveScreen|Deactivating GitHub.ViewModels.AboutViewModel.
2012-06-02 20:28:57.4916|INFO|GitHub.Extensions.ReactiveScreen|Closed GitHub.ViewModels.AboutViewModel.
2012-06-02 20:28:59.0532|INFO|GitHub.Models.RepositoryModel|Cloning [repository-url].git
2012-06-02 20:28:59.0532|INFO|GitHub.Helpers.GitRemote|Cloning '[repository-url].git' to 'Spotify-Metro-Style-App' in directory 'C:\GitHub
2012-06-02 20:28:59.0562|INFO|GitHub.PortableGit.Helpers.GitEnvSetupExtensions|Configuring SSH Agent: :
2012-06-02 20:28:59.0562|INFO|GitHub.PortableGit.Helpers.GitEnvSetupExtensions|PATH is C:\Users\EivindGussiås\AppData\Local\GitHub\PortableGit_0812189c12ccff4584523d6efce294a33dd2332a\cmd;C:\Users\EivindGussiås\AppData\Local\GitHub\PortableGit_0812189c12ccff4584523d6efce294a33dd2332a\bin;C:\Users\EivindGussiås\AppData\Local\GitHub\PortableGit_0812189c12ccff4584523d6efce294a33dd2332a\mingw\bin;C:\Users\EivindGussiås\AppData\Local\Apps\2.0\7VOQ2HDO.HJX\5506OVG3.2LE\gith..tion_8f45a2159c87c850_0001.0000_70cd4637d2963700;C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319;C:\WINDOWS\System32
2012-06-02 20:28:59.0782|INFO|GitHub.IO.ObservableProcess|git.exe clone --progress --recursive [repository-url].git "Spotify-Metro-Style-App" 
2012-06-02 20:29:02.2949|WARN|GitHub.Extensions.StandardUserErrors|Showing user and error Please check your internet connection.
GitHub.IO.ProcessException: Cloning into 'Spotify-Metro-Style-App'...
error: error setting certificate verify locations:
  CAfile: C:\Users\EivindGussiås\AppData\Local\GitHub\PortableGit_0812189c12ccff4584523d6efce294a33dd2332a/bin/curl-ca-bundle.crt
  CApath: none
 while accessing [repository-url].git/info/refs
fatal: HTTP request failed
2012-06-02 20:29:02.2949|WARN|GitHub.ViewModels.ShellViewModel|User error encountered: Unable to clone this repository.
  • 在Windows 7中,克隆存储库成功,没有任何内容写入TheLog.txt。
  • 在Windows 8 RC中,我尝试克隆的任何存储库都会出现同样的错误。
  • 我使用Microsoft帐户登录Windows 8,这在使用GitBash的Windows 8 CP中一直存在问题,因为用户名会自动设置为包含GitBash不支持的挪威字符。如您所见,我的主目录是C:\ Users \EivindGussiås\。

5 个答案:

答案 0 :(得分:4)

披露:我是GitHub的开发人员。

这应该在刚刚发布的v1.0.8.4更新中修复。

答案 1 :(得分:1)

当我得到这个时,我通常只是关闭它并重新打开它,如果它没有解决它然后我退出并重新登录,通常其中一个修复它。

答案 2 :(得分:0)

这绝对看起来像个错误; - )

blog post 宣布发布" GitHub for Windows"状态

  

我们确保在Twitter上阅读每一个提及。 如果您发现了错误,请将其提交至support@github.com。 每封电子邮件均由一个真实的人。

" GitHub for Windows"经常更新错误修复和改进。为了尽快修复此问题,我强烈建议您向他们发送电子邮件。

答案 3 :(得分:0)

这些问题已经消失。问题是很久以前放在c:\ windows中的过时的libiconv-2.dll引起了与GIT相同的DLL的冲突。我一放弃旧版本,GIT就开始着色了!

答案 4 :(得分:0)

当帐户上的信用卡过期时,我收到了这个确切的错误。

要检查您是否属于这种情况(当然仅为付费帐户),请访问网站github.com,使用您的帐户登录,然后查看标题。如果有一个红色错误文字提及您的信用卡,那么就去吧。

这是确切的文字:

  

我们在为您的信用卡收费时遇到问题。请输入新的   请致电或致电您的信用卡提供商,了解有关原因的详情   交易失败。您可以与任何联系support@github.com   的问题。您的私人存储库有   已锁定,直到您修复此错误。感谢   理解。