我正在尝试使用 Git-P4 使项目的日常更改更容易一些。当我进入git p4 克隆阶段时,在 Git wiki 中遵循 Git-p4 用法时,我收到以下错误(故意删除了路径):
Importing from //****/****/mainline@all into mainline
Initialized empty Git repository in /****/****/.git/
Traceback (most recent call last):
File "/****/****/git/2.3.5/libexec/git-core/git-p4", line 3297,
in ? main()
File "/****/****/git/2.3.5/libexec/git-core/git-p4", line 3291,
in main if not cmd.run(args):
File "/****/****/git/2.3.5/libexec/git-core/git-p4", line 3165,
in run if not P4Sync.run(self, depotPaths):
File "/****/****/git/2.3.5/libexec/git-core/git-p4", line 2927,
in run self.loadUserMapFromCache()
File "/****/****/git/2.3.5/libexec/git-core/git-p4", line 908,
in loadUserMapFromCache self.getUserMapFromPerforceServer()
File "/****/****/git/2.3.5/libexec/git-core/git-p4", line 883,
in getUserMapFromPerforceServer for output in p4CmdList("users"):
File "/****/****/git/2.3.5/libexec/git-core/git-p4", line 480, in p4CmdList
entry = marshal.load(p4.stdout)
ValueError: bad marshal data`
不确定这是否意味着我必须更改 p4 print 命令?社区中的其他人遇到此错误吗?和/或有建议吗?
编辑 输出示例
p4 users
a00000 <someone@email.com> (Someone Name) accessed 2015/05/01 15:26:31, updated 2008/11/15 14:00:25, pwd [enabled]
faken <another@email.com> (Someones Name(CON)) accessed 2015/05/01 15:26:31, updated 2008/11/15 14:00:25, pwd [NOT SET]