Issue while creating view in unix machine.

Posted on 2009-02-19
Last Modified: 2013-11-14
Hi All,

My question is related to hudson (

  I am getting the below exception message while creating a view in my Unix machine. Could some unix users help me in figuring out the problem ?

Building remotely on
[ws] $ cleartool catcs -tag crp2
element * CHECKEDOUT
element * /main/LATEST
[ws] $ cleartool rmview -force crp2
[ws] $ cleartool mkview -snapshot -tag crp2 -vws /home/automan/hudson/ViewStore/crp2.vws -tmode insert_cr crp2
Created view.
Host-local path: qa-release303:/home/automan/hudson/ViewStore/crp2.vws
Global path:     /home/automan/hudson/ViewStore/crp2.vws
It has the following rights:
User : automan  : rwx
Group: automan  : rwx
Other:          : r-x
Created snapshot view directory "crp2".
[crp2] $ cleartool setcs ..\configspec19173.txt
cleartool: Error: Unable to open file "..\configspec19173.txt": No such file or directory.
cleartool: Error: Unable to change configuration specification: error detected by ClearCase subsystem.
FATAL: Base ClearCase failed. exit code=1
FATAL: cleartool did not return the expected exit code. Command line="setcs ..\configspec19173.txt", actual exit code=1 cleartool did not return the expected exit code. Command line="setcs ..\configspec19173.txt", actual exit code=1
      at hudson.plugins.clearcase.ClearToolSnapshot.setcs(
      at hudson.plugins.clearcase.action.SnapshotCheckoutAction.checkout(
      at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(
      at hudson.model.AbstractProject..checkout(
      at hudson.model.AbstractBuild$AbstractRunner.checkout(
      at hudson.model.AbstractBuild$
      at hudson..model.ResourceController.execute(
Question by:skrishnapradeep
    LVL 14

    Accepted Solution

    Unixpath names are usually with a '/' and not a '\'.

    Author Comment

    Thats fine. But this is something clearcase plugin from hudson is trying to execute the command using '/'.  Is there any other workaround for this ?

    Author Closing Comment

    Partially it helped me

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
    In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    26 Experts available now in Live!

    Get 1:1 Help Now