After rename, file cannot be checked out or retrieved

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
ismangil
Posts: 197
Joined: Wed Jun 30, 2004 10:49 am
Location: Sheffield, UK
Contact:

After rename, file cannot be checked out or retrieved

Post by ismangil » Mon Mar 19, 2007 3:58 am

Vault 3.5.1.4786, from GUI client.

After renaming a couple of files, they now seem to be stuck. I can't retrieve them, delete them, check out or anything.

It's complaining that it can't find it although it is listed on the GUI.

Note we have renamed files many times in this repository, even this folder without any problems.

Here's the server log when I tried Get Latest Version:

----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled Getting repository Structure-> Rep ID: 4 Base: 92970 Target: -1
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 92970
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled VaultServiceAPI::GetRepositoryTreeDelta() UserID:2 RepID:4 Base:92970 Target:92970 Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff.
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled GetRepositoryStructure returned: Success
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled Getting list of checkout changes.
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled GetCheckOutListChanges returned: Success
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled Checking out Files
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 92970
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled Beginning SQL transaction 231836
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled CheckOutFiles: Transaction Started
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled SQL transaction 231836 successfully committed.
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled CheckOutFiles: Transaction Committed
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled CheckOutFiles returned:Success
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled Getting list of checkout changes.
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled GetCheckOutListChanges returned: Success
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled Beginning file download
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 92970
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled VaultLib.VaultRequestGetFile returned: FailObjPathInvalid
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled BeginDownloadFiles returned: Success
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled Ending download process
----3/19/2007 9:55:29 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled EndDownloadProcess returned: Success
----3/19/2007 9:55:32 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled Getting repository Structure-> Rep ID: 4 Base: 92970 Target: -1
----3/19/2007 9:55:32 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 92970
----3/19/2007 9:55:32 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled VaultServiceAPI::GetRepositoryTreeDelta() UserID:2 RepID:4 Base:92970 Target:92970 Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff.
----3/19/2007 9:55:32 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled GetRepositoryStructure returned: Success
----3/19/2007 9:55:32 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled Getting list of checkout changes.
----3/19/2007 9:55:32 AM pismangil--192.168.27.80(192.168.27.80)--SSL Disabled GetCheckOutListChanges returned: Success
Perry Ismangil

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Mar 19, 2007 7:44 am

Do the files happen to have a trailing space?

Another possibility: the client-side cache is out of sync. Close any open clients and delete the client-side cache:
http://support.sourcegear.com/viewtopic.php?t=6
Linda Bauer
SourceGear
Technical Support Manager

ismangil
Posts: 197
Joined: Wed Jun 30, 2004 10:49 am
Location: Sheffield, UK
Contact:

Post by ismangil » Mon Mar 19, 2007 10:50 am

lbauer wrote:Do the files happen to have a trailing space?
That's it. If I click 'Rename' then I can see that the current name has a trailing space.

But I can't do anything about it.

Any fix?
Perry Ismangil

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Mar 19, 2007 11:01 am

Email me at support at sourcegear.com ATTN: Linda. I'll send you a SQL query that will take off the space.
Linda Bauer
SourceGear
Technical Support Manager

Locked