Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-15-2006, 01:38 PM
WislegC WislegC is online now
Registered User
 
Join Date: 08-15-2006
Posts: 3
Exclamation Intermittent checkout problem

Intermittently I get this message from Subversion when trying a Subversion checkout sub command as a step in a .bld project:

svn: Can't determine the user's config path

If I run subversion from the command line in the same exact directory as the step in the .bld project it works, in other words something like this works: "svn.exe checkout http://foo:81/svn/mainrepository/Web/Notify"

If I open another .bld project with the same type of checkout step, that project works, but the original .bld project is still getting this error on the subversion checkout command.

Rebooting the machine fixes everything (the original broken .bld project step executes the Subversion checkout sub command without error.

Any ideas on what might be causeing this and how I can prevent it? Here is the xml of the step, if that helps. Also, whenever I run Visual Build I am logged in with the same admin account on a Windows XP Pro machine.

<step action='Subversion' type='0'>
<Host>foo</Host>
<LocalPath>%CompileDir%</LocalPath>
<Port>81</Port>
<Protocol>http</Protocol>
<Repository>/svn/mainrepository/Web/Notify</Repository>
<ShowCmd type='11'>-1</ShowCmd>
<Subcommand>checkout</Subcommand>
<description>Checkout AppName trunk to a local folder on the build machine</description>
<indent type='3'>2</indent>
<name>Checkout AppName trunk</name>
</step>
Reply With Quote
  #2  
Old 08-15-2006, 03:42 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The VBP Subversion action sets the starting directory for the svn process to the path in the 'Working directory for local files' field on the Subcommand tab. Perhaps that is not the correct path? You could also try adding a Set Current Dir step before the Subversion step (I believe the starting directory value takes precedence, but since the problem is sporadic, it might make a difference).
Reply With Quote
  #3  
Old 10-19-2006, 10:20 AM
WislegC WislegC is online now
Registered User
 
Join Date: 08-15-2006
Posts: 3
Been meaning to post a reply, I figured out the problem

Here it is, I just wanted to post this for posterity.

In our environment we have two NT Login accounts per person, for example "foobar\foo" and "foobar\fooA". The A account is for more secure access to sensitive areas.

We use Windows remote desktop to access our Windos XP build machine, which is where the visual build scripts live. On Windows XP only one user can be logged into a machine at a time via Remote Desktop. A user "foobar\foo can cleanly log themselves out of the machine, so that when user "foobar\fooA" logs themselves in every thing works fine, this error does not occur.

However if foobar\foo is still logged into the machine one can log in with a different account like foobar\fooA, but the session foobar\foo gets terminated. In this scenario the error I explained occurs. Logging out of foobar\fooA or rebooting fixes the problem.

I think Visual Build is having a problem (or probablly likely Windows is mucking things up) when an account is forcefully terminated in remote desktop, rather than cleanly logged out.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 03:02 AM.


Copyright © 1999-2023 Kinook Software, Inc.