Problem in getting latest

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
marashid
Posts: 2
Joined: Sun Jan 20, 2008 3:03 pm

Problem in getting latest

Post by marashid » Mon Jan 28, 2008 3:40 pm

We are using Vault 3.5. It is integrated with CruiseControl 1.3 and Nant for CI. Lately Cruisecontrol is erroring out trying to do a getlatest from one of the directories under a newly created branch, whereas, the other directories under the same branch is ok. Following is the error from the CruiseControl log. Looks like CruiseControl is detecting the changed file, but it can't bring the file down to the build machine. Any ideas, insights?

Local file update for $/Branches/01_Mar_2008/IMRating/LaCrosse.IMRating.Rules/9.4/Rules/RateProposalRule.vb failed: System.ArgumentException: Invalid File or Directory attributes value

VaultClientOperationsLib.GetLatestVersionFailedException: Exception of type VaultClientOperationsLib.GetLatestVersionFailedException was thrown.
at VaultClientOperationsLib.ClientInstance.ProcessGetFileRequests(GetFileInfo[] infos, MakeWritableType makeWritable, SetFileTimeType setFileTime, MergeType merge, Boolean updateHiddenFilesOnly, String ancestorFullPath, Boolean flat, String ancestorDiskPath, OverwritePrompt PromptData, Boolean isLabelGet, String currentPathToLabelItem, Int64 labelID, Boolean isRetry, Boolean isGetByDisplayVersion)
at VaultClientOperationsLib.ClientInstance.Get(VaultClientFile[] files, Boolean forceLatest, MakeWritableType makeWritable, SetFileTimeType setFileTime, MergeType merge, OverwritePrompt PromptData)
at VaultClientOperationsLib.ClientInstance.Get(VaultClientFolder folder, Boolean recursive, Boolean forceLatest, MakeWritableType makeWritable, SetFileTimeType setFileTime, MergeType merge, OverwritePrompt PromptData)
at VaultCmdLineClient.VaultCmdLineClient.performGetVersion(VaultClientTreeObject treeObjectToRetrieve, Int32 version, Boolean useWorkingFolder, MergeType mt, String strDestFolder)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommandGetVersion(Int32 version, String strReposItem, String strDestFolder)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Jan 28, 2008 3:57 pm

I'd suggested deleting the client-side cache files for the account Cruise Control is using:

http://support.sourcegear.com/viewtopic.php?t=6
Linda Bauer
SourceGear
Technical Support Manager

marashid
Posts: 2
Joined: Sun Jan 20, 2008 3:03 pm

Post by marashid » Tue Jan 29, 2008 11:24 am

I did that once from the build machine where the Vault client is installed. And I restarted the machine and everything. Still getting the same error. I tried building that same project from another machine through CruiseControl in the same way, and it worked there. I matched the working directory setup of that machine with the build machine where its failing and they seemed same.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Wed Jan 30, 2008 4:17 pm

On the machine where the Get is failing, can you get those same folders/files with just the Vault Commandline Client or the Vault GUI Client?
Linda Bauer
SourceGear
Technical Support Manager

Post Reply