I have soscmd version 3.5 running on both windows XP and Solaris
The CheckOutProject works fine from windows, but not from Solaris
I get this error:
bash-2.03$ soscmd -command CheckOutProject -server "1.12.0.227:8080" -name "admin" -password "admin" -project "$/HelloWorld/java" -database "C:\vss\Remedy-VSS\srcsafe.ini"
Checked out file: /export/home/kellyga/HelloWorld/java/GoodbyeWorld.java
Error: Server response = 401 NoSuchFileOrProject
Error: Server response = 401 NoSuchFileOrProject
For info, when I try to check back in:
bash-2.03$ soscmd -command CheckInProject -server "1.12.0.227:8080" -name "admin" -password "admin" -project "$/HelloWorld/java" -database "C:\vss\Remedy-VSS\srcsafe.ini"
File GoodbyeWorld.java successfully checked in.
Could not open file admin. Error Num=2
The GetProject works perfectly:
bash-2.03$ soscmd -command GetProject -server "1.12.0.227:8080" -name "admin" -password "admin" -project "$/HelloWorld/java" -database "C:\vss\Remedy-VSS\srcsafe.ini"
Finished retrieving project files.
Here is an extract from the server log file:
20/10/2004 09:49:47 - Connection accepted from 1.12.0.227:1857 on local address 1.12.0.227:8080, session id is 1.
20/10/2004 09:50:22 - Connection accepted from 1.12.0.227:1858 on local address 1.12.0.227:8080, session id is 2.
20/10/2004 09:51:19 - Connection accepted from 1.12.0.227:1859 on local address 1.12.0.227:8080, session id is 3.
20/10/2004 10:03:29 - Connection accepted from 1.12.0.227:1873 on local address 1.12.0.227:8080, session id is 4.
20/10/2004 10:03:39 - Connection accepted from 172.16.116.142:19549 on local address 1.12.0.227:8080, session id is 5.
20/10/2004 10:04:08 - Connection accepted from 172.16.116.142:19550 on local address 1.12.0.227:8080, session id is 6.
20/10/2004 10:04:09 - 20/10/2004 10:04:09 - Server Exception (401): [$/HelloWorld/java] - NO_SUCH_FILE_OR_PROJECT
20/10/2004 10:04:09 - 6: Server Error: 401
20/10/2004 10:04:30 - Connection accepted from 172.16.116.142:19551 on local address 1.12.0.227:8080, session id is 7.
20/10/2004 10:04:30 - 20/10/2004 10:04:30 - Server Exception (401): [$/HelloWorld/java\admin] - NO_SUCH_FILE_OR_PROJECT
20/10/2004 10:04:30 - 7: Server Error: 401
20/10/2004 10:06:40 - Connection accepted from 172.16.116.142:19552 on local address 1.12.0.227:8080, session id is 8.
20/10/2004 10:08:39 - Connection accepted from 172.16.116.142:19564 on local address 1.12.0.227:8080, session id is 9.
20/10/2004 10:09:18 - Connection accepted from 172.16.116.142:19565 on local address 1.12.0.227:8080, session id is 10.
20/10/2004 10:10:09 - Connection accepted from 172.16.116.142:19566 on local address 1.12.0.227:8080, session id is 11.
20/10/2004 10:10:45 - Connection accepted from 172.16.116.142:19567 on local address 1.12.0.227:8080, session id is 12.
There are only 2 files in the project:
/export/home/kellyga/HelloWorld/java/GoodbyeWorld.java
/export/home/kellyga/HelloWorld/java/HelloWorld.java
Any idea why it will only "Check Out" one file?
soscmd Checkout Project fails after 1 file, ok in windows
Moderator: SourceGear
Can you checkout the file using the CheckOutFile -command? What's the name of the second file in the project? Does CheckOutProject work on other projects in the VSS tree?
Do other "Project" operations also fail on this project? IE, does GetProject retrieve all the files, or just the first then fail?
Do other "Project" operations also fail on this project? IE, does GetProject retrieve all the files, or just the first then fail?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
2 files:
GoodbyeWorld.java and HelloWorld.java
GetProject successfully retrieves all files
GetFile command works on both files:
bash-2.03$ soscmd -command CheckOutFile -server "1.12.0.227:8080" -name "admin" -password "admin" -project "$/HelloWorld/java/" -file "HelloWorld.java" -database "C:\vss\Remedy-VSS\srcsafe.ini"
Checked out file: HelloWorld.java
bash-2.03$ soscmd -command CheckOutFile -server "1.12.0.227:8080" -name "admin" -password "admin" -project "$/HelloWorld/java/" -file "GoodbyeWorld.java" -database "C:\vss\Remedy-VSS\srcsafe.ini"
Checked out file: GoodbyeWorld.java
bash-2.03$ soscmd -command CheckInFile -server "1.12.0.227:8080" -name "admin" -password "admin" -project "$/HelloWorld/java/" -file "GoodbyeWorld.java" -database "C:\vss\Remedy-VSS\srcsafe.ini"
File GoodbyeWorld.java successfully checked in.
bash-2.03$ soscmd -command CheckInFile -server "1.12.0.227:8080" -name "admin" -password "admin" -project "$/HelloWorld/java/" -file "HelloWorld.java" -database "C:\vss\Remedy-VSS\srcsafe.ini"
Any ideas?
GoodbyeWorld.java and HelloWorld.java
GetProject successfully retrieves all files
GetFile command works on both files:
bash-2.03$ soscmd -command CheckOutFile -server "1.12.0.227:8080" -name "admin" -password "admin" -project "$/HelloWorld/java/" -file "HelloWorld.java" -database "C:\vss\Remedy-VSS\srcsafe.ini"
Checked out file: HelloWorld.java
bash-2.03$ soscmd -command CheckOutFile -server "1.12.0.227:8080" -name "admin" -password "admin" -project "$/HelloWorld/java/" -file "GoodbyeWorld.java" -database "C:\vss\Remedy-VSS\srcsafe.ini"
Checked out file: GoodbyeWorld.java
bash-2.03$ soscmd -command CheckInFile -server "1.12.0.227:8080" -name "admin" -password "admin" -project "$/HelloWorld/java/" -file "GoodbyeWorld.java" -database "C:\vss\Remedy-VSS\srcsafe.ini"
File GoodbyeWorld.java successfully checked in.
bash-2.03$ soscmd -command CheckInFile -server "1.12.0.227:8080" -name "admin" -password "admin" -project "$/HelloWorld/java/" -file "HelloWorld.java" -database "C:\vss\Remedy-VSS\srcsafe.ini"
Any ideas?
Re: soscmd Checkout Project fails after 1 file, ok in windows
I have the same problem when I run CheckInProject from SourceOffsite command line.
When I run
soscmd.exe -command CheckInProject -server svh001:5150 -name UserName -password MyPass -database "\\svh001\ss6$\srcsafe.ini" -project $/My1/
-workdir "C:\My\Subdir" -recursive
then only first file successfully checked in.
The rest of files from project remain checked out.
Can anybody help to resolve this problem?
When I run
soscmd.exe -command CheckInProject -server svh001:5150 -name UserName -password MyPass -database "\\svh001\ss6$\srcsafe.ini" -project $/My1/
-workdir "C:\My\Subdir" -recursive
then only first file successfully checked in.
The rest of files from project remain checked out.
Can anybody help to resolve this problem?
Re: soscmd Checkout Project fails after 1 file, ok in windows
Are there any errors in the SOS Server log when you try to check in these files? The SOS Server log is called log.txt and is in the SOS Server directory on the SOS Server machine. You can send the log to support at sourcegear.com, Attn: Linda. Be sure to add a link to this post in your email.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager