Failed to get label

Hi,

I failed to get source file by label using Vault Get Label action. It returned error as below. Please advice.

Running Vault with command line : GETLABEL -user "kkchan" -password "******" -host "xxx.xxx.xxx.xxx:xxxx" -repository "dotNET" -makewritable -labelworkingfolder "C:\FlexHR\Trunk\Mainline\" "$/FlexHR/Trunk/Mainline/" "Ver6.0.10"
usage: GETLABEL repository_item label [labelpath]

Thank you

You need to give us more to work with. Which version and build of FinalBuilder? Which version of Vault?

Hi,

FB - 6.20 (download today)

Vault server is version 4.1.4.18402

Hi,

Any update?

Thank you

I have the same problem, not sure if it's a vault problem or not.  I am still playing with it, I have FinalBuilder 6.3 and Vault 4.1.1

Running Vault with command line : GETLABEL -user "admin" -password "******" -host "LorisApps" -repository "FileNexus" -merge overwrite -setfiletime current -makewritable -labelworkingfolder "C:\ServerCode\Trunk\" "$/FileNexus/Trunk/" "FileNexus V6.3.2.6124"

usage: GETLABEL repository_item label [labelpath]
 

Figured it out Finalbuilder puts the command line incorrectly together...

GETLABEL "$/FileNexus/Trunk/" "FileNexus V6.3.2.6124" -user "admin" -password "******" -host "LorisApps" -repository "FileNexus" -merge overwrite -setfiletime current -makewritable -labelworkingfolder "C:\ServerCode\Trunk"

 

Also vault freaks out if the path as trailing backslash.

Hi Davinci,

> Figured it out Finalbuilder puts the command line incorrectly together

How exactly is it not correct? I’ve tested the action here as well as checking against the help at ttp://download.sourcegear.com/misc/vault/help/client/clc.htm#GETLABEL and the command line parameters are being passed in the correct order.

Here are the command arguments that were used when I tested the action using Vault 4.1.4:

GETLABEL -user “paul” -password “******” -host “vaultdemo.sourcegear.com” -repository “Repository A” -merge overwrite -setfiletime current -makewritable -labelworkingfolder “C:\VaultWD” “$/a8i/” “My Label”

Regards,
Paul.

Hi,

Do you mean it is not able to be reproduced?

Hi Chan,

We were not able to reproduce it here, if you are able to let us know what is incorrect in the command arguments being passed to Vault we’ll be able to put a fix in.

Regards,
Paul.

Hi,
SourceGear.com has pointed me the mistake, try to remove the trailing "" and “/” of labelpath and labelworkingfolder.

GETLABEL -user “kkchan” -password “******” -host “xxx.xxx.xxx.xxx:xxxx” -repository “dotNET” -makewritable -labelworkingfolder “C:\FlexHR\Trunk\Mainline” “$/FlexHR/Trunk/Mainline” “Ver6.0.10”



Tested it works. My current workaround is use string to exclude the “/” and ""