Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/webpack/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Github 使用GitPython克隆回购协议显示;无法预加载包文件:没有此类文件或目录错误";_Github_Databricks_Gitpython - Fatal编程技术网

Github 使用GitPython克隆回购协议显示;无法预加载包文件:没有此类文件或目录错误";

Github 使用GitPython克隆回购协议显示;无法预加载包文件:没有此类文件或目录错误";,github,databricks,gitpython,Github,Databricks,Gitpython,我正在使用GitPython将存储库从GitHub克隆到databricks dbfs位置,如下所示: outdir = "dbfs:/tmp/project" repo = Repo.clone_from('https://<github token>@github.com/xyz/project.git', outdir, branch='master') outdir=“dbfs:/tmp/project” repo=repo.clone_from('https://@git

我正在使用GitPython将存储库从GitHub克隆到databricks dbfs位置,如下所示:

outdir = "dbfs:/tmp/project"
repo = Repo.clone_from('https://<github token>@github.com/xyz/project.git', outdir, branch='master')
outdir=“dbfs:/tmp/project”
repo=repo.clone_from('https://@github.com/xyz/project.git',outdir,branch='master')
但是gitpython显示了以下错误(我已经启用了GIT\u PYTHON\u TRACE=1和GIT\u TRACE\u PACKET=1)

GitCommandError:Cmd('git')失败,原因是:退出代码(128)
cmdline:git clone--branch=master-v https:////@github.com/xyz/project.git/dbfs/tmp/project
stderr:'10:47:50.26995 git.c:344跟踪:内置:git'clone'--branch=master'-v''https://@github.com/xyz/project.git'/dbfs/tmp/project'
正在克隆到“/dbfs/tmp/project”。。。
10:47:54.849690 run command.c:334 trace:run_command:'git remote https''origin''https://@github.com/xyz/project.git'
10:47:55.127316 pkt line.c:80 packet:git<#service=git upload pack
10:47:55.127342包装行。c:80包装:吉特<0000
10:47:55.127350 pkt line.c:80数据包:git<9CA6EBC37F3B520522B32275290DEAA731118 HEAD\0多个ack薄包边带边带64k的三角洲浅加深自加深未加深相对无进展包括标签多个ack详细允许-tip-sha1-in-WARD允许-sha1-in-WARD不允许-done symref=HEAD:refs/heads/master过滤剂=git/github-g8c0f36024410
10:47:55.127358包装行。c:80包装:git<9CA6EBC37F3B520522B3B1227527980DEAA731118参考/头/主
10:47:55.127363包装行。c:80包装:git9CA6EBC37F3B520522B3B1227527980DEAA731118参考/头/主
10:47:55.427741包装行。c:80包装:git>9CA6EBC37F3B520522B3B1227527980DEAA731118参考/头/主
10:47:55.427745包装行。c:80包装:git>dda701fe8b184376d38a39b41b5e5480dfe4f671参考/heads/McCoy04041941 mlflow
10:47:55.427748包装行。c:80包装:git>0000
10:47:55.427765 run command.c:334 trace:run_command:'fetch pack'--无状态rpc'--stdin'--锁包'--精简'--检查自包含和连接的'--克隆'--无进展''https://@github.com/xyz/project.git/'
10:47:55.428430 exec_cmd.c:120跟踪:exec:'git''获取包“”--无状态rpc“”--标准格式“”--锁定包“”--精简“”--检查自包含和连接的“”--克隆“”--无进展“”,https:////@github.com/xyz/project.git/'
10:47:55.944975 git.c:344跟踪:内置:git'fetch pack'--无状态rpc'--stdin'--锁包'--thin'--检查自包含和连接的'--克隆'--无进展''https://@github.com/xyz/project.git/'
10:47:55.945055包装行。c:80包装:取货包装<9CA6EBC37F3B520522B3B122752980DEAA73118REFS/heads/master
10:47:55.945062包装行。c:80包装:取货包装<9CA6EBC37F3B520522B3B1227527980DEAA73118REFS/heads/master
10:47:55.945066包装行。c:80包装:取货包装想要9CA6EBC37F3B520522B3B1227527980DEAA731188多确认详细信息未完成边带-64k薄包装无S增量代理的进度=git/2.7.4
10:47:56.598888包装行。c:80包装:取回包装>需要dda701fe8b184376d38a39b41b5e5480dfe4f671
10:47:56.598892包装行。c:80包装:取货包装>0000
10:47:56.598896包装行。c:80包装:取包>完成
10:47:56.598907包装行。c:80包装:取货包装>0000
10:47:56.598946包装行。c:80包装:git<008bwant 9CA6EBC37F3B522B3B122752980DEAA731188多确认详细未完成边带-64k薄型包装未完成S delta agent的进度=git/2.7.40032想要DDA701FE8B184376D38A39B41B5E5480DFE4710000009完成
10:47:56.598966包装行。c:80包装:吉特<0000
后git上传包(202字节)
10:47:56.732107包装行。c:80包装:取货包装0000
10:47:56.742802分组线路c:80分组:边带<分组。。。
10:47:56.742909 run command.c:334 trace:run_command:'index pack'--stdin'--fix thin'--keep=fetch pack 3079 on 0427-184217-chow477-10-220-226-214'--check self-contained and connected'--pack_header=2990'
10:47:56.743191 exec_cmd.c:120 trace:exec:'git''index pack''--stdin''--fix thin''--keep=fetch pack 3079 on 0427-184217-chow477-10-220-226-214'
GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git clone --branch=master -v https://<github token>@github.com/xyz/project.git /dbfs/tmp/project
  stderr: '10:47:50.269995 git.c:344               trace: built-in: git 'clone' '--branch=master' '-v' 'https://<github token>@github.com/xyz/project.git' '/dbfs/tmp/project'
Cloning into '/dbfs/tmp/project'...
10:47:54.849690 run-command.c:334       trace: run_command: 'git-remote-https' 'origin' 'https://<github token>@github.com/xyz/project.git'
10:47:55.127316 pkt-line.c:80           packet:          git< # service=git-upload-pack
10:47:55.127342 pkt-line.c:80           packet:          git< 0000
10:47:55.127350 pkt-line.c:80           packet:          git< 9ca6ebc37f3b520522b3b122752980deaa731118 HEAD\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/master filter agent=git/github-g8c0f36024410
10:47:55.127358 pkt-line.c:80           packet:          git< 9ca6ebc37f3b520522b3b122752980deaa731118 refs/heads/master
10:47:55.127363 pkt-line.c:80           packet:          git< dda701fe8b184376d38a39b41b5e5480dfe4f671 refs/heads/mccoy04041991-mlflow
10:47:55.127368 pkt-line.c:80           packet:          git< dda701fe8b184376d38a39b41b5e5480dfe4f671 refs/pull/1/head
10:47:55.127373 pkt-line.c:80           packet:          git< ab6fd089edc1ac4823f36cfc1af0606845b9f10e refs/pull/1/merge
10:47:55.127377 pkt-line.c:80           packet:          git< 0000
10:47:55.427723 pkt-line.c:80           packet:          git> 9ca6ebc37f3b520522b3b122752980deaa731118 refs/heads/master
10:47:55.427741 pkt-line.c:80           packet:          git> 9ca6ebc37f3b520522b3b122752980deaa731118 refs/heads/master
10:47:55.427745 pkt-line.c:80           packet:          git> dda701fe8b184376d38a39b41b5e5480dfe4f671 refs/heads/mccoy04041991-mlflow
10:47:55.427748 pkt-line.c:80           packet:          git> 0000
10:47:55.427765 run-command.c:334       trace: run_command: 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' '--check-self-contained-and-connected' '--cloning' '--no-progress' 'https://<github token>@github.com/xyz/project.git/'
10:47:55.428430 exec_cmd.c:120          trace: exec: 'git' 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' '--check-self-contained-and-connected' '--cloning' '--no-progress' 'https://<github token>@github.com/xyz/project.git/'
10:47:55.944975 git.c:344               trace: built-in: git 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' '--check-self-contained-and-connected' '--cloning' '--no-progress' 'https://<github token>@github.com/xyz/project.git/'
10:47:55.945055 pkt-line.c:80           packet:   fetch-pack< 9ca6ebc37f3b520522b3b122752980deaa731118 refs/heads/master
10:47:55.945062 pkt-line.c:80           packet:   fetch-pack< 9ca6ebc37f3b520522b3b122752980deaa731118 refs/heads/master
10:47:55.945066 pkt-line.c:80           packet:   fetch-pack< dda701fe8b184376d38a39b41b5e5480dfe4f671 refs/heads/mccoy04041991-mlflow
10:47:55.945070 pkt-line.c:80           packet:   fetch-pack< 0000
10:47:55.945075 pkt-line.c:80           packet:   fetch-pack< 9ca6ebc37f3b520522b3b122752980deaa731118 HEAD\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/master filter agent=git/github-g8c0f36024410
10:47:55.945080 pkt-line.c:80           packet:   fetch-pack< 9ca6ebc37f3b520522b3b122752980deaa731118 refs/heads/master
10:47:55.945084 pkt-line.c:80           packet:   fetch-pack< dda701fe8b184376d38a39b41b5e5480dfe4f671 refs/heads/mccoy04041991-mlflow
10:47:55.945087 pkt-line.c:80           packet:   fetch-pack< dda701fe8b184376d38a39b41b5e5480dfe4f671 refs/pull/1/head
10:47:55.945091 pkt-line.c:80           packet:   fetch-pack< ab6fd089edc1ac4823f36cfc1af0606845b9f10e refs/pull/1/merge
10:47:55.945094 pkt-line.c:80           packet:   fetch-pack< 0000
10:47:56.598867 pkt-line.c:80           packet:   fetch-pack> want 9ca6ebc37f3b520522b3b122752980deaa731118 multi_ack_detailed no-done side-band-64k thin-pack no-progress ofs-delta agent=git/2.7.4
10:47:56.598888 pkt-line.c:80           packet:   fetch-pack> want dda701fe8b184376d38a39b41b5e5480dfe4f671
10:47:56.598892 pkt-line.c:80           packet:   fetch-pack> 0000
10:47:56.598896 pkt-line.c:80           packet:   fetch-pack> done
10:47:56.598907 pkt-line.c:80           packet:   fetch-pack> 0000
10:47:56.598946 pkt-line.c:80           packet:          git< 008bwant 9ca6ebc37f3b520522b3b122752980deaa731118 multi_ack_detailed no-done side-band-64k thin-pack no-progress ofs-delta agent=git/2.7.40032want dda701fe8b184376d38a39b41b5e5480dfe4f67100000009done
10:47:56.598966 pkt-line.c:80           packet:          git< 0000
POST git-upload-pack (202 bytes)
10:47:56.732107 pkt-line.c:80           packet:   fetch-pack< NAK
10:47:56.732121 pkt-line.c:80           packet:   fetch-pack> 0000
10:47:56.742802 pkt-line.c:80           packet:     sideband< PACK ...
10:47:56.742909 run-command.c:334       trace: run_command: 'index-pack' '--stdin' '--fix-thin' '--keep=fetch-pack 3079 on 0427-184217-chew477-10-220-226-214' '--check-self-contained-and-connected' '--pack_header=2,990'
10:47:56.743191 exec_cmd.c:120          trace: exec: 'git' 'index-pack' '--stdin' '--fix-thin' '--keep=fetch-pack 3079 on 0427-184217-chew477-10-220-226-214' '--check-self-contained-and-connected' '--pack_header=2,990'
10:47:57.191239 git.c:344               trace: built-in: git 'index-pack' '--stdin' '--fix-thin' '--keep=fetch-pack 3079 on 0427-184217-chew477-10-220-226-214' '--check-self-contained-and-connected' '--pack_header=2,990'
10:48:03.761742 pkt-line.c:80           packet:          git< 0000
10:48:05.488992 pkt-line.c:80           packet:     sideband< 0000
fatal: cannot pread pack file: No such file or directory
fatal: index-pack failed
%sh git clone https://github.com/path_to_project
%sh ls -al