747929791 / MajsoulAI

以JianYangAI作后端,进行在线雀魂对局
MIT License
265 stars 59 forks source link

在clone的时候遇到权限访问的问题 #15

Closed Lica3265 closed 3 years ago

Lica3265 commented 3 years ago

在source tree使用 SSH “git@github.com:747929791/MajsoulAI.git” colne代码 回来的代码 JianYangAI majsoul_wrapper 这两个 submodule 都是空的

自己有更新过自己的SSH密钥 以及把防火墙关闭 依然如此 我想我可能犯了什么很愚蠢的错误

git -c filter.lfs.smudge= -c filter.lfs.required=false -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks clone --branch master --recursive git@github.com:Lica3265/MajsoulAI.git C:\Users\user\Desktop\MajsoulAI Cloning into 'C:\Users\user\Desktop\MajsoulAI'... Submodule 'JianYangAI' (git@github.com:747929791/MahjongAI.git) registered for path 'JianYangAI' Submodule 'majsoul_wrapper' (git@github.com:747929791/majsoul_wrapper.git) registered for path 'majsoul_wrapper'

Cloning into 'C:/Users/user/Desktop/MajsoulAI/JianYangAI'... FATAL ERROR: Incorrect MAC received on packet fatal: the remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed fatal: clone of 'git@github.com:747929791/MahjongAI.git' into submodule path 'C:/Users/user/Desktop/MajsoulAI/JianYangAI' failed Failed to clone 'JianYangAI'. Retry scheduled

Cloning into 'C:/Users/user/Desktop/MajsoulAI/majsoul_wrapper'... Cloning into 'C:/Users/user/Desktop/MajsoulAI/JianYangAI'... FATAL ERROR: Incorrect MAC received on packet fatal: the remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed fatal: clone of 'git@github.com:747929791/MahjongAI.git' into submodule path 'C:/Users/user/Desktop/MajsoulAI/JianYangAI' failed Failed to clone 'JianYangAI' a second time, aborting

Lica3265 commented 3 years ago

自己后来是个别下载ZIP档 但这样不是正确的解法

cliangyu commented 3 years ago

Try git clone https://github.com/747929791/MajsoulAI.git first, and then clone the included 2 repos?

Lica3265 commented 3 years ago

Thanks, DavidChenL .

后来我发现 这个JianYangAI 档案夹名称导致在 clone https://github.com/747929791/MahjongAI.git 时会导致 以下错误 把JianYangAI 先从 MajsoulAI 移除 然后再clone 最后在把MahjongAI档案夹名称改成JianYangAI 就行了 git clone https://github.com/747929791/MahjongAI.git Cloning into 'MahjongAI'... remote: Enumerating objects: 785, done. fatal: the remote end hung up unexpectedlyMiB | 6.51 MiB/s fatal: early EOF error: RPC failed; curl 56 OpenSSL SSL_read: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac, errno 0 fatal: index-pack failed 屏幕截图 2021-02-15 222106