Menu

Clearcase integration help...

Help
2008-04-09
2013-06-03
  • Mayank Ajmera

    Mayank Ajmera - 2008-04-09

    Folks,
    I got Codestriker 1.94 up and working. I have also provided the path to a clearcase snapshot view in the .conf file. But I still do not see the "Parallel" and "Line" options when looking at a topic. The topic was created using the cleartool diff command. The topic shows up fine, but I cannot get it to show me the entire file in the diffs.

    Any help is appreciated!

    Thanks
    Mayank

     
    • Mayank Ajmera

      Mayank Ajmera - 2008-04-09

      Actually I got the "Parallel" and "Line" options, I did not realize the view path was case sensitive.

      Anyways clicking on "Parallel" does not get me anywhere, the new window is simply empty. Where can I look at the logs of what codestriker is doing and whether it was able to "get" the file from the SCM?

      Thanks
      Mayank

       
      • David Sitsky

        David Sitsky - 2008-04-09

        Strange - normally if there is an error message executing an external command, this is output to the browser window.

        Try checking your web-server's error log file for more information.  If you are using apache, it is typically in the error.log file.  Please let me know what you find out.

        Cheers,
        David

         
    • Mayank Ajmera

      Mayank Ajmera - 2008-04-10

      Below are the errors that I am seeing. It appears that codestriker is not able to execute system() command to run the cleartool get command.

      [Thu Apr 10 13:43:43 2008] [notice] Server built: Jan 18 2008 00:37:19

      [Thu Apr 10 13:43:43 2008] [notice] Parent: Created child process 3604

      [Thu Apr 10 13:43:43 2008] [notice] Child 3604: Child process is running

      [Thu Apr 10 13:43:43 2008] [notice] Child 3604: Acquired the start mutex.

      [Thu Apr 10 13:43:43 2008] [notice] Child 3604: Starting 64 worker threads.

      [Thu Apr 10 13:43:43 2008] [notice] Child 3604: Starting thread to listen on port 80.

      [Thu Apr 10 13:49:01 2008] [error] [client 128.222.7.56] Premature end of script headers: codestriker.pl, referer: http://dvtserver1/codestriker/codestriker.pl?topic=7763366&action=view&mode=1&brmode=1&fview=-1

      [Thu Apr 10 13:54:01 2008] [error] [client 128.222.7.56] [Thu Apr 10 13:44:03 2008] codestriker.pl: Use of uninitialized value in concatenation (.) or string at C:/Code_review/codestriker-1.9.4/bin/../lib/Codestriker/Repository/ClearCaseSnapshot.pm line 55., referer: http://dvtserver1/codestriker/codestriker.pl?topic=7763366&action=view&mode=1&brmode=1&fview=-1

      [Thu Apr 10 13:54:01 2008] [error] [client 128.222.7.56] [Thu Apr 10 13:44:03 2008] codestriker.pl: Can't spawn "cmd.exe": No such file or directory at C:/Code_review/codestriker-1.9.4/bin/../lib/Codestriker/Repository/ClearCaseSnapshot.pm line 58., referer: http://dvtserver1/codestriker/codestriker.pl?topic=7763366&action=view&mode=1&brmode=1&fview=-1

      [Thu Apr 10 13:54:01 2008] [error] [client 128.222.7.56] [Thu Apr 10 13:44:03 2008] codestriker.pl: Use of uninitialized value in concatenation (.) or string at C:/Code_review/codestriker-1.9.4/bin/../lib/Codestriker/Action/ViewTopicFile.pm line 149., referer: http://dvtserver1/codestriker/codestriker.pl?topic=7763366&action=view&mode=1&brmode=1&fview=-1

      [Thu Apr 10 13:54:01 2008] [error] [client 128.222.7.56] [Thu Apr 10 13:44:03 2008] codestriker.pl: Use of uninitialized value in concatenation (.) or string at C:/Code_review/codestriker-1.9.4/bin/../lib/Codestriker/Action/ViewTopicFile.pm line 149., referer: http://dvtserver1/codestriker/codestriker.pl?topic=7763366&action=view&mode=1&brmode=1&fview=-1

      [Thu Apr 10 13:54:01 2008] [error] [client 128.222.7.56] [Thu Apr 10 13:44:03 2008] codestriker.pl: Use of uninitialized value in concatenation (.) or string at C:/Code_review/codestriker-1.9.4/bin/../lib/Codestriker/Action/ViewTopicFile.pm line 149., referer: http://dvtserver1/codestriker/codestriker.pl?topic=7763366&action=view&mode=1&brmode=1&fview=-1

      [Thu Apr 10 13:54:01 2008] [error] [client 128.222.7.56] [Thu Apr 10 13:44:03 2008] codestriker.pl: Use of uninitialized value in concatenation (.) or string at C:/Code_review/codestriker-1.9.4/bin/../lib/Codestriker/Action/ViewTopicFile.pm line 149., referer: http://dvtserver1/codestriker/codestriker.pl?topic=7763366&action=view&mode=1&brmode=1&fview=-1

      [Thu Apr 10 13:54:01 2008] [error] [client 128.222.7.56] [Thu Apr 10 13:44:03 2008] codestriker.pl: Use of uninitialized value in concatenation (.) or string at C:/Code_review/codestriker-1.9.4/bin/../lib/Codestriker/Action/ViewTopicFile.pm line 149., referer: http://dvtserver1/codestriker/codestriker.pl?topic=7763366&action=view&mode=1&brmode=1&fview=-1

      [Thu Apr 10 13:54:01 2008] [error] [client 128.222.7.56] [Thu Apr 10 13:44:03 2008] codestriker.pl: Use of uninitialized value in concatenation (.) or string at C:/Code_review/codestriker-1.9.4/bin/../lib/Codestriker/Action/ViewTopicFile.pm line 149., referer: http://dvtserver1/codestriker/codestriker.pl?topic=7763366&action=view&mode=1&brmode=1&fview=-1

      [Thu Apr 10 13:54:01 2008] [error] [client 128.222.7.56] [Thu Apr 10 13:44:03 2008] codestriker.pl: Use of uninitialized value in concatenation (.) or string at C:/Code_review/codestriker-1.9.4/bin/../lib/Codestriker/Action/ViewTopicFile.pm line 149., referer: http://dvtserver1/codestriker/codestriker.pl?topic=7763366&action=view&mode=1&brmode=1&fview=-1

      [Thu Apr 10 13:54:01 2008] [error] [client 128.222.7.56] [Thu Apr 10 13:44:03 2008] codestriker.pl: Use of uninitialized value in concatenation (.) or string at C:/Code_review/codestriker-1.9.4/bin/../lib/Codestriker/Action/ViewTopicFile.pm line 149., referer: http://dvtserver1/codestriker/codestriker.pl?topic=7763366&action=view&mode=1&brmode=1&fview=-1

      [Thu Apr 10 13:54:01 2008] [error] [client 128.222.7.56] [Thu Apr 10 13:44:03 2008] codestriker.pl: Use of uninitialized value in concatenation (.) or string at C:/Code_review/codestriker-1.9.4/bin/../lib/Codestriker/Action/ViewTopicFile.pm line 149., referer: http://dvtserver1/codestriker/codestriker.pl?topic=7763366&action=view&mode=1&brmode=1&fview=-1

      [Thu Apr 10 13:54:01 2008] [error] [client 128.222.7.56] [Thu Apr 10 13:44:03 2008] codestriker.pl: Use of uninitialized value in concatenation (.) or string at C:/Code_review/codestriker-1.9.4/bin/../lib/Codestriker/Action/ViewTopicFile.pm line 149., referer: http://dvtserver1/codestriker/codestriker.pl?topic=7763366&action=view&mode=1&brmode=1&fview=-1

       
      • David Sitsky

        David Sitsky - 2008-04-10

        Ok - firstly, can you check your codestriker.conf file and make sure you have set $cleartool correctly.

        Secondly, and this is somewhat more of a problem, is this error message:

        Can't spawn "cmd.exe": No such file or directory at C:/Code_review/codestriker-1.9.4/bin/../lib/Codestriker/Repository/ClearCaseSnapshot.pm line 58.

        This error message occurs when Codestriker tries to launch the ClearTool command.  Is it possible on this web-server that cmd.exe has been removed?  You'll need to include it otherwise Codestriker won't be able to run the ClearTool command.

        Cheers,
        David

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.