13 years ago
Config p4 plugin on Mac
I have recently installed the collaborate client 7.0 on a Mac. However, the p4 plugin doesn't work. In particular, when I try to add a change list to review, it says "No SCM Configuration could be determined reason: cannot run program p4". Here is the error log.
!ENTRY com.smartbear.collaborator.ui 4 0 2012-03-29 10:52:00.484
!MESSAGE No SCM Configuration could be determined
!STACK 0
com.smartbear.scm.ScmConfigurationException: Cannot run program "p4" (in directory "/Applications/ccollab_client"): error=2, No such file or directory
at com.smartbear.scm.impl.newp4.P4System.getClientConfiguration(P4System.java:108)
at com.smartbear.scm.impl.newp4.P4System.getClientConfiguration(P4System.java:80)
at com.smartbear.scm.impl.perforce.PerforceSystem.getClientConfiguration(PerforceSystem.java:118)
at com.smartbear.scm.ScmUtils.requireScm(ScmUtils.java:552)
at com.smartbear.collaborator.ui.standalone.wizards.StandaloneScmConfigAddToReviewWizard$2.run(StandaloneScmConfigAddToReviewWizard.java:149)
at com.smartbear.collaborator.ui.wizards.ProgressWizardDialog$AsyncWorkerThread.run(ProgressWizardDialog.java:247)
Caused by: com.smartbear.cmdline.ScmCommunicationException: Cannot run program "p4" (in directory "/Applications/ccollab_client"): error=2, No such file or directory
at com.smartbear.scm.impl.newp4.scmcli.ScmCmdRunner.run(ScmCmdRunner.java:33)
at com.smartbear.scm.impl.newp4.cli.P4CliConn.executeTextCmd(P4CliConn.java:105)
at com.smartbear.scm.impl.newp4.cli.P4CliConn.<init>(P4CliConn.java:69)
at com.smartbear.scm.impl.newp4.P4System.getClientConfiguration(P4System.java:93)
... 5 more
Caused by: java.io.IOException: Cannot run program "p4" (in directory "/Applications/ccollab_client"): error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at com.smartbear.scm.impl.newp4.newcli.CommandRunner.run(CommandRunner.java:65)
at com.smartbear.scm.impl.newp4.newcli.AutoDebugCommandRunner.run(AutoDebugCommandRunner.java:30)
at com.smartbear.scm.impl.newp4.scmcli.ScmCmdRunner.run(ScmCmdRunner.java:28)
... 8 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:91)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 11 more
However, p4 is in my PATH variable in the shell. What do I miss in the configuration? BTW, I am able to run the gui app to upload changelist.
Thanks!
!ENTRY com.smartbear.collaborator.ui 4 0 2012-03-29 10:52:00.484
!MESSAGE No SCM Configuration could be determined
!STACK 0
com.smartbear.scm.ScmConfigurationException: Cannot run program "p4" (in directory "/Applications/ccollab_client"): error=2, No such file or directory
at com.smartbear.scm.impl.newp4.P4System.getClientConfiguration(P4System.java:108)
at com.smartbear.scm.impl.newp4.P4System.getClientConfiguration(P4System.java:80)
at com.smartbear.scm.impl.perforce.PerforceSystem.getClientConfiguration(PerforceSystem.java:118)
at com.smartbear.scm.ScmUtils.requireScm(ScmUtils.java:552)
at com.smartbear.collaborator.ui.standalone.wizards.StandaloneScmConfigAddToReviewWizard$2.run(StandaloneScmConfigAddToReviewWizard.java:149)
at com.smartbear.collaborator.ui.wizards.ProgressWizardDialog$AsyncWorkerThread.run(ProgressWizardDialog.java:247)
Caused by: com.smartbear.cmdline.ScmCommunicationException: Cannot run program "p4" (in directory "/Applications/ccollab_client"): error=2, No such file or directory
at com.smartbear.scm.impl.newp4.scmcli.ScmCmdRunner.run(ScmCmdRunner.java:33)
at com.smartbear.scm.impl.newp4.cli.P4CliConn.executeTextCmd(P4CliConn.java:105)
at com.smartbear.scm.impl.newp4.cli.P4CliConn.<init>(P4CliConn.java:69)
at com.smartbear.scm.impl.newp4.P4System.getClientConfiguration(P4System.java:93)
... 5 more
Caused by: java.io.IOException: Cannot run program "p4" (in directory "/Applications/ccollab_client"): error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at com.smartbear.scm.impl.newp4.newcli.CommandRunner.run(CommandRunner.java:65)
at com.smartbear.scm.impl.newp4.newcli.AutoDebugCommandRunner.run(AutoDebugCommandRunner.java:30)
at com.smartbear.scm.impl.newp4.scmcli.ScmCmdRunner.run(ScmCmdRunner.java:28)
... 8 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:91)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 11 more
However, p4 is in my PATH variable in the shell. What do I miss in the configuration? BTW, I am able to run the gui app to upload changelist.
Thanks!