gregsohl Posted June 10, 2012 Report Share Posted June 10, 2012 I'm getting an error when switching a workspace to a changeset. The error is: There is no selector for this workspace. <partial path to the workspace> The displayed workspace path shown in the error message is only partial. Is it truncated for the message or is it messed up internally and that's causing the error? This error occurs at the end of the "switching" process. The files are updated to the correct path in the workspace. I'm running release 4.1.10.290 - OSLO. Steps: Had code in a local repository on SOHL-MOBILE1. Created a new repository on SOHL-DEV1. On SOHL-MOBILE1, set up a sync profile from it to SOHL-DEV1. Pushed all pending outbound branches to SOHL-DEV1. Three branches. Maybe a dozen changesets. On SOHL-DEV1, created workspace, MyProduct, pointed it to d:\source\Myproduct\Source\MySubProduct\Source. (Yes, I know - that's a lot of folders named source) Opened the branch explorer. Right clicked on the latest changeset on a child branch (1 level from /main) and selected to switch my workspace to that changeset. The error shows up at the end. I've removed the repository on SOHL-DEV1 and retried the entire process with the same results. Screenshot is below. Sorry for the redacted parts. Any ideas on how to correct this or work around it? Greg Link to comment Share on other sites More sharing options...
gregsohl Posted June 10, 2012 Author Report Share Posted June 10, 2012 The plastic.selector file contained the following after the workspace switch: repository "MyProduct@sohl-dev1:8087" path "/" smartbranch "/main/MyBranch" changeset "10" Link to comment Share on other sites More sharing options...
manu Posted June 11, 2012 Report Share Posted June 11, 2012 Can you try to create a new workspace to your SOHL-DEV1 repository and try the update? Link to comment Share on other sites More sharing options...
gregsohl Posted June 11, 2012 Author Report Share Posted June 11, 2012 I already tried multiple workspaces. All fail in the same way. The second I tried used a different shorter directory path. I also tried removing the repository, re-syncying and creating new workspace. Same problem occurred. Link to comment Share on other sites More sharing options...
manu Posted June 12, 2012 Report Share Posted June 12, 2012 Quite strange, can you please right click in the changeset you want to switch to and select "Browse repository in this changeset" Tell me if you can view your changeset content. Link to comment Share on other sites More sharing options...
gregsohl Posted June 13, 2012 Author Report Share Posted June 13, 2012 This issue magically went away after a reboot of the machine that held the server and client. My 2nd Plastic issue that has been like that. Aarrrggg. Glad its gone, wish there was an explanation or Codice could at least share what the error message means in context of where it is produced in their code. Greg Link to comment Share on other sites More sharing options...
psantosl Posted June 13, 2012 Report Share Posted June 13, 2012 Any chance Plastic can't read plastic.selector file because it is locked somehow?? Link to comment Share on other sites More sharing options...
gregsohl Posted June 14, 2012 Author Report Share Posted June 14, 2012 Can't imagine why that would be unless Plastic itself was holding an exclusive lock. I simply created the workspace and switched to it. I'll try to recreate the issue and then look for locks with ProcessExplorer. Link to comment Share on other sites More sharing options...
psantosl Posted June 14, 2012 Report Share Posted June 14, 2012 We do not lock the file... but you know, maybe something weird is going on. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.