Hi,
I need to get latest version from command line using soscmd.exe. I have set variable SOSHOME
SET SOSHOME=%USERPROFILE%\ApplicationData\SourceGear\SOS
and in folder D:\Program Files\SourceOffSite call
soscmd -command GetProject -server 213.33.116.11:8890 -name xxx -password blabla -database C:\Project\srcsafe.ini -project $/Example/trunk -recursive -workdir d:\temp
unfortunately it display message:
Unable to open key file: D:\Documents and Settings\pavelb\ApplicationData\Source
Gear\SOS\213033116011.key
I don't know where is the problem because key file exist
Thank in advance
Pavel
unable to open key file
Moderator: SourceGear
Crash
We use version 4.
It was my fault. I have found that there were problem in path there is folder Aplication Data and I have it without space AppliactionData
But I have found another problem when I run it and try to get latest version of quite huge project it throw crash. Crash dialog is attached.
At first time I run it it get files from SOS create new folder and everything looks fine after 1100 seccond it crash.
each next attempt to getlatest version invoke crash during 20 secconds.
What I'm dooing wrong?
DisAssembly
77F47A6D mov eax,dword ptr [eax]
77F47A6F cmp eax,dword ptr [edx+4]
77F47A72 jne 77F47B85
77F47A78 cmp eax,ecx
77F47A7A jne 77F47B85
77F47A80 push dword ptr [ebp-50h]
77F47A83 mov esi,dword ptr [ebp-1Ch]
Callstack
> ntdll.dll!77f47a6d()
ntdll.dll!77f473f3()
ntdll.dll!77f467e1()
ntdll.dll!77f467f9()
soscmd.exe!004110b3()
ntdll.dll!77f467f9()
soscmd.exe!004110b8()
ntdll.dll!77f467f9()
soscmd.exe!004110b8()
soscmd.exe!004110b8()
soscmd.exe!00409933()
ntdll.dll!77f47c97()
ntdll.dll!77f467e1()
ntdll.dll!77f467f9()
soscmd.exe!00412d50()
soscmd.exe!0041585f()
soscmd.exe!00414596()
soscmd.exe!00411122()
soscmd.exe!00411144()
soscmd.exe!0041116f()
soscmd.exe!004093ff()
soscmd.exe!004021b9()
ntdll.dll!77f473f3()
soscmd.exe!00411122()
soscmd.exe!00411127()
soscmd.exe!00408f30()
soscmd.exe!00403032()
soscmd.exe!00403024() [/img]
It was my fault. I have found that there were problem in path there is folder Aplication Data and I have it without space AppliactionData
But I have found another problem when I run it and try to get latest version of quite huge project it throw crash. Crash dialog is attached.
At first time I run it it get files from SOS create new folder and everything looks fine after 1100 seccond it crash.
each next attempt to getlatest version invoke crash during 20 secconds.
What I'm dooing wrong?
DisAssembly
77F47A6D mov eax,dword ptr [eax]
77F47A6F cmp eax,dword ptr [edx+4]
77F47A72 jne 77F47B85
77F47A78 cmp eax,ecx
77F47A7A jne 77F47B85
77F47A80 push dword ptr [ebp-50h]
77F47A83 mov esi,dword ptr [ebp-1Ch]
Callstack
> ntdll.dll!77f47a6d()
ntdll.dll!77f473f3()
ntdll.dll!77f467e1()
ntdll.dll!77f467f9()
soscmd.exe!004110b3()
ntdll.dll!77f467f9()
soscmd.exe!004110b8()
ntdll.dll!77f467f9()
soscmd.exe!004110b8()
soscmd.exe!004110b8()
soscmd.exe!00409933()
ntdll.dll!77f47c97()
ntdll.dll!77f467e1()
ntdll.dll!77f467f9()
soscmd.exe!00412d50()
soscmd.exe!0041585f()
soscmd.exe!00414596()
soscmd.exe!00411122()
soscmd.exe!00411144()
soscmd.exe!0041116f()
soscmd.exe!004093ff()
soscmd.exe!004021b9()
ntdll.dll!77f473f3()
soscmd.exe!00411122()
soscmd.exe!00411127()
soscmd.exe!00408f30()
soscmd.exe!00403032()
soscmd.exe!00403024() [/img]
Can you do the same Get with the SOS GUI Client with no problem?
Can you get subprojects with the CLC? Does the crash just happen when you try to do the "huge" get? There could be a third party on the network that is closing the connection after a certain amount of data has passed.
If you're running the CLC multiple times you may be running into a concurrency issue. See this KB article to make sure you have the right configuration for the VSS Automation Component:
http://support.sourcegear.com/viewtopic.php?t=10
The SOS Server log might have some clues. Enable verbose logging, reproduce the crash and email the log.txt file in the SOS Server directory to linda@sourcegear.com.
Can you get subprojects with the CLC? Does the crash just happen when you try to do the "huge" get? There could be a third party on the network that is closing the connection after a certain amount of data has passed.
If you're running the CLC multiple times you may be running into a concurrency issue. See this KB article to make sure you have the right configuration for the VSS Automation Component:
http://support.sourcegear.com/viewtopic.php?t=10
The SOS Server log might have some clues. Enable verbose logging, reproduce the crash and email the log.txt file in the SOS Server directory to linda@sourcegear.com.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager