Forum Discussion

ajith_kumsi's avatar
ajith_kumsi
New Member
9 years ago

Error: SCM system could not be auto-detected, but there was an error: Cannot run program "p4"

Hi,

 

We are using Code reviewer client software,  We have installed Code reviewer server in an linux machine, and installed code reviewer client software in another linux machine.

 

We are trying to validate a code using code reviwer but we are getting the following error.

 

"Error: SCM system could not be auto-detected, but there was an error: Cannot run program "p4" (in directory "/home/myuser"): error=2, No such file or directory"

 

We have followed the below steps:

 

1. In the collobarator Client GUI, we clicked Add and in the Local Source code Location we have given the source file path which is present in the local machine

 

2. We have selected SCM as Auto-detect from Local Path

 

3. When we tried to Validate the code, we are getting the error in the Result Configuration as shown below:

 

SCM: Error: SCM system could not be auto-detected, but there was an error: Cannot run program "p4" (in directory "/home/myuser"): error=2, No such file or directory

 

Configuration: Error: SCM system could not be auto-detected, but there was an error: Cannot run program "p4" (in directory "/home/myuser"): error=2, No such file or directory

 

Please teach us how to resolve the above error.

 

We have used ccollab_server_9_1_9101_unix.sh for Server Installation in Linux and

ccollab_client_9_1_9101_unix.sh for client installation

Regards,

Ajith

 

2 Replies

  • Hi,

       We are also getting the exact same issue, did you find a solution for this issue?

     

    Thanks

    Prab

  • AndrewF's avatar
    AndrewF
    SmartBear Alumni (Retired)

    Hello,

     

    Please try to opt for "Perforce" in drop down instead of "Auto-detected", and also point P4 Executable, P4PORT, P4USER, P4Client.

     

    Regards.