Macos 无法使用smartbear code collaborator的P4插件添加文件以供查看

Macos 无法使用smartbear code collaborator的P4插件添加文件以供查看,macos,perforce,Macos,Perforce,我最近设置了我的mac,用于代码审查,使用p4v进行文件同步/更改列表,使用ccollab进行审查平台。版本包括: MacOS-10.15.7 性能-P4V/MACOSX1015X86_64/2020.1/1966006 ccollab客户-13_1_13100 通过coollabgui应用程序,我验证并连接了SCM,没有错误。我无法添加待审核的变更列表,但我可以添加已提交的变更列表。更重要的是,我可以通过web客户端手动上传文件以供审查。当我尝试使用安装内置到P4V中的smartbear定制工

我最近设置了我的mac,用于代码审查,使用p4v进行文件同步/更改列表,使用ccollab进行审查平台。版本包括:

MacOS-10.15.7

性能-P4V/MACOSX1015X86_64/2020.1/1966006

ccollab客户-13_1_13100

通过coollabgui应用程序,我验证并连接了SCM,没有错误。我无法添加待审核的变更列表,但我可以添加已提交的变更列表。更重要的是,我可以通过web客户端手动上传文件以供审查。当我尝试使用安装内置到P4V中的smartbear定制工具时,最头疼的事情发生了。尝试右键单击并添加任何变更列表会导致以下错误:

无法确定任何SCM配置

无法运行程序“p4”(在目录“/Applications/ccollab_client/ccollabgui.app”中):错误=2,没有这样的文件或控制器

我在smartbear论坛上查看了以下其他主题,但没有找到解决方案:

有什么想法吗?看起来这可能是一个潜在的bug

最新日志信息为:

!SESSION 2020-11-30 09:13:08.279 -----------------------------------------------
eclipse.buildId=unknown
java.version=11
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US

!ENTRY com.smartbear.collaborator.ui.standalone 4 0 2020-11-30 09:13:09.284
!MESSAGE Collaborator Enterprise version 13.1.13100

!ENTRY com.smartbear.collaborator 1 0 2020-11-30 09:13:11.024
!MESSAGE INFO: Mon Nov 30 09:13:11 EST 2020: com.smartbear.util.PoolThreadFactory
Thread CommandRunner-1325903125-1 created by thread ModalContext

!ENTRY com.smartbear.collaborator 1 0 2020-11-30 09:13:11.035
!MESSAGE INFO: Mon Nov 30 09:13:11 EST 2020: com.smartbear.util.PoolThreadFactory
Thread CommandRunner-1325903125-2 created by thread ModalContext

!ENTRY com.smartbear.collaborator 1 0 2020-11-30 09:13:11.060
!MESSAGE INFO: Mon Nov 30 09:13:11 EST 2020: com.smartbear.util.PoolThreadFactory
Thread CommandRunner-1325903125-3 created by thread ModalContext
!SESSION 2020-11-30 09:13:26.372 -----------------------------------------------
eclipse.buildId=unknown
java.version=11
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US

!ENTRY com.smartbear.collaborator.ui.standalone 4 0 2020-11-30 09:13:27.238
!MESSAGE Collaborator Enterprise version 13.1.13100

!ENTRY com.smartbear.collaborator.ui 4 0 2020-11-30 09:13:28.388
!MESSAGE No SCM Configuration could be determined
!STACK 0
com.smartbear.scm.ScmConfigurationException: Cannot run program "p4" (in directory "/Applications/ccollab_client/ccollabgui.app"): error=2, No such file or directory
    at com.smartbear.scm.impl.newp4.P4System.getClientConfiguration(P4System.java:135)
    at com.smartbear.scm.impl.newp4.P4System.getClientConfiguration(P4System.java:85)
    at com.smartbear.scm.impl.perforce.PerforceSystem.getClientConfiguration(PerforceSystem.java:119)
    at com.smartbear.scm.ScmUtils.requireScm(ScmUtils.java:591)
    at com.smartbear.collaborator.ui.standalone.wizards.StandaloneScmConfigAddToReviewWizard$1.run(StandaloneScmConfigAddToReviewWizard.java:82)
    at com.smartbear.collaborator.ui.wizards.ProgressWizardDialog$AsyncWorkerThread.run(ProgressWizardDialog.java:231)
Caused by: com.smartbear.cmdline.ScmCommunicationException: Cannot run program "p4" (in directory "/Applications/ccollab_client/ccollabgui.app"): error=2, No such file or directory
    at com.smartbear.scm.cmd.impl.ScmCmdRunner.run(ScmCmdRunner.java:32)
    at com.smartbear.scm.impl.newp4.cli.P4CliConn.executeTextCmd(P4CliConn.java:147)
    at com.smartbear.scm.impl.newp4.cli.P4CliConn.<init>(P4CliConn.java:80)
    at com.smartbear.scm.impl.newp4.P4System.getClientConfiguration(P4System.java:120)
    ... 5 more
Caused by: java.io.IOException: Cannot run program "p4" (in directory "/Applications/ccollab_client/ccollabgui.app"): error=2, No such file or directory
    at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
    at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
    at com.smartbear.scm.cmd.impl.CommandRunner.run(CommandRunner.java:70)
    at com.smartbear.scm.cmd.impl.AutoDebugCommandRunner.run(AutoDebugCommandRunner.java:48)
    at com.smartbear.scm.cmd.impl.ScmCmdRunner.run(ScmCmdRunner.java:27)
    ... 8 more
Caused by: java.io.IOException: error=2, No such file or directory
    at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
    at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340)
    at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271)
    at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
    ... 12 more
!会话2020-11-30 09:13:08.279-----------------------------------------------
eclipse.buildId=unknown
java.version=11
java.vendor=Oracle公司
引导加载程序常量:OS=macosx,ARCH=x86_64,WS=cocoa,NL=en_US
!条目com.smartbear.collaborator.ui.standalone 4 0 2020-11-30 09:13:09.284
!消息协作者企业版13.1.13100
!条目com.smartbear.collaborator 10 2020-11-30 09:13:11.024
!消息信息:周一11月30日09:13:11美国东部时间2020:com.smartbear.util.PoolThreadFactory
线程命令Runner-1325903125-1由线程ModalContext创建
!条目com.smartbear.collaborator 10 2020-11-30 09:13:11.035
!消息信息:周一11月30日09:13:11美国东部时间2020:com.smartbear.util.PoolThreadFactory
线程命令Runner-1325903125-2由线程ModalContext创建
!条目com.smartbear.collaborator 10 2020-11-30 09:13:11.060
!消息信息:周一11月30日09:13:11美国东部时间2020:com.smartbear.util.PoolThreadFactory
线程命令Runner-1325903125-3由线程ModalContext创建
!会话2020-11-30 09:13:26.372-----------------------------------------------
eclipse.buildId=unknown
java.version=11
java.vendor=Oracle公司
引导加载程序常量:OS=macosx,ARCH=x86_64,WS=cocoa,NL=en_US
!条目com.smartbear.collaborator.ui.standalone 4 0 2020-11-30 09:13:27.238
!消息协作者企业版13.1.13100
!条目com.smartbear.collaborator.ui 4 0 2020-11-30 09:13:28.388
!消息:无法确定任何SCM配置
!堆栈0
com.smartbear.scm.ScmConfigurationException:无法运行程序“p4”(在目录“/Applications/ccollab\u client/ccollabgui.app”中):错误=2,没有这样的文件或目录
位于com.smartbear.scm.impl.newp4.P4System.getClientConfiguration(P4System.java:135)
位于com.smartbear.scm.impl.newp4.P4System.getClientConfiguration(P4System.java:85)
在com.smartbear.scm.impl.perforce.PerforceSystem.getClientConfiguration(PerforceSystem.java:119)上
位于com.smartbear.scm.ScmUtils.requireScm(ScmUtils.java:591)
位于com.smartbear.collaborator.ui.standalone.wizards.StandaloneScmConfigAddToReviewWizard$1.run(StandaloneScmConfigAddToReviewWizard.java:82)
位于com.smartbear.collaborator.ui.wizards.ProgressWizardDialog$AsyncWorkerThread.run(ProgressWizardDialog.java:231)
原因:com.smartbear.cmdline.ScmCommunicationException:无法运行程序“p4”(在目录“/Applications/ccollab\u client/ccollabgui.app”中):错误=2,没有这样的文件或目录
位于com.smartbear.scm.cmd.impl.ScmCmdRunner.run(ScmCmdRunner.java:32)
位于com.smartbear.scm.impl.newp4.cli.P4CliConn.executeTextCmd(P4CliConn.java:147)
位于com.smartbear.scm.impl.newp4.cli.P4CliConn.(P4CliConn.java:80)
位于com.smartbear.scm.impl.newp4.P4System.getClientConfiguration(P4System.java:120)
... 还有5个
原因:java.io.IOException:无法运行程序“p4”(在目录“/Applications/ccollab_client/ccollabgui.app”中):错误=2,没有这样的文件或目录
位于java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
位于java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
位于com.smartbear.scm.cmd.impl.CommandRunner.run(CommandRunner.java:70)
位于com.smartbear.scm.cmd.impl.AutoDebugCommandRunner.run(AutoDebugCommandRunner.java:48)
位于com.smartbear.scm.cmd.impl.ScmCmdRunner.run(ScmCmdRunner.java:27)
... 8个以上
原因:java.io.IOException:error=2,没有这样的文件或目录
位于java.base/java.lang.ProcessImpl.forkAndExec(本机方法)
位于java.base/java.lang.ProcessImpl(ProcessImpl.java:340)
位于java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271)
位于java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
... 还有12个

刚刚收到smartbear社区的回复,并将其修复。如果其他人试图通过谷歌搜索获得成功,并需要答案,那么对我来说:

  • 在P4v客户端中,选择“工具|管理自定义工具| SmartBear-添加到审阅”并单击“编辑”
  • 在“参数”字段中,在“-scm perforce”之后添加“-p4 your_current_path_to_p4”选项。 注意:不要更改任何其他选项
  • 单击“确定”,重新启动P4v客户端,并尝试重现问题