PDA

View Full Version : Failure to Save Route



andi06
July 7th, 2015, 06:01 AM
I'm seeing this quite frequently:

687

I've not found a way to recover from this without losing changes.

Given that there is plenty of disk space available, can anyone explain what is actually going on here?

pcas1986
July 7th, 2015, 07:44 AM
Locked file perhaps?

WindWalkr
July 7th, 2015, 08:46 AM
Is this in a retail build or the test build?
Is there anything relevant showing up in the game log when you get this error?

thanks,

chris

andi06
July 7th, 2015, 09:06 AM
Build 77010

Opened a route, carried out various edits and saved six times over half an hour without problems.

Got the message on the next attempt to save, log contains:

; Unable to lock dest path 'E:/TRS/UserData77010/local/hash-C1/kuid -2 551322302.tzarc'
; Unable to lock dest path 'E:/TRS/UserData77010/local/hash-C1/kuid -2 551322302.tzarc'
; Unable to lock dest path 'E:/TRS/UserData77010/local/hash-C1/kuid -2 551322302.tzarc'
; Unable to lock dest path 'E:/TRS/UserData77010/local/hash-C1/kuid -2 551322302.tzarc'
; Unable to lock dest path 'E:/TRS/UserData77010/local/hash-C1/kuid -2 551322302.tzarc'
- Failed to submit changes to asset <kuid:-2:551322302> due to file access error

Incidentally, 'Copy-Details' appears to be broken in the logs and CM windows.

WindWalkr
July 7th, 2015, 09:45 AM
Thanks. Let me know if you find out anything else that could help us repro this. (Examples: some specific sequence of actions, the use of a particular command, or the use of a particular asset on the route/session.)

chris

andi06
July 7th, 2015, 01:03 PM
At the moment my money would be on layer manipulation as the trigger (moving objects from one layer to another).

I had a little more log info on one session:

; Unable to lock dest path 'E:/TRS/UserData77010/local/hash-27/kuid 122285 100049.tzarc'
; Unable to lock dest path 'E:/TRS/UserData77010/local/hash-27/kuid 122285 100049.tzarc'
; Unable to lock dest path 'E:/TRS/UserData77010/local/hash-27/kuid 122285 100049.tzarc'
; Unable to lock dest path 'E:/TRS/UserData77010/local/hash-27/kuid 122285 100049.tzarc'
; Unable to lock dest path 'E:/TRS/UserData77010/local/hash-27/kuid 122285 100049.tzarc'
- Failed to submit changes to asset <kuid:122285:100049> due to file access error
- T2WorldStateLoadSave::SaveRoute> Failed to commit asset edits.
+ <kuid:122285:100049> reverted

The last line means everything lost of course.

This session left my screen looking like this with nowhere to go but out of the game (all ground texturing gone and no visible grid):

688

andi06
July 8th, 2015, 05:57 AM
No, its not Layers. I've tried out two other routes and both of them are showing the same issue intermittently, there is no common trigger that I can see.

WindWalkr
July 8th, 2015, 06:15 AM
Oh well. Last time something like this happened, it was due to a soundscript in the map's config.txt. The maps you are using wouldn't happen to have that?

chris

andi06
July 8th, 2015, 06:22 AM
I don't think so but I do have a couple of routes which are giving the issue where it should be possible to exclude any common content, leave it with me.

andi06
July 8th, 2015, 07:01 AM
It doesn't seem to be content related at all. I've just started a new route and chosen a spline asset at random.

I laid a few lengths and saved the route. On about the sixth or seventh save I got the dreaded message, log entries:

+ <kuid:122285:100085> opened for edit
+ <kuid:122285:100086> opened for edit
; Unable to lock dest path 'E:/TRS/UserData2/local/hash-03/kuid 122285 100085.tzarc'
; Unable to lock dest path 'E:/TRS/UserData2/local/hash-03/kuid 122285 100085.tzarc'
; Unable to lock dest path 'E:/TRS/UserData2/local/hash-03/kuid 122285 100085.tzarc'
; Unable to lock dest path 'E:/TRS/UserData2/local/hash-03/kuid 122285 100085.tzarc'
; Unable to lock dest path 'E:/TRS/UserData2/local/hash-03/kuid 122285 100085.tzarc'
- Failed to submit changes to asset <kuid:122285:100085> due to file access error
- T2WorldStateLoadSave::SaveRoute> Failed to commit asset edits.
+ <kuid:122285:100085> reverted

WindWalkr
July 8th, 2015, 08:32 AM
Okay, that's very useful information, thanks. Any chance you were there long enough to trigger an autosave (do you even have that enabled?)

chris

andi06
July 8th, 2015, 09:33 AM
I normally have Autosave disabled but I've turned it on, sequence of events was:

New map, multiple stretches of <kuid:47439:37080> (asset not used in any of the other troublesome routes and no other asset present)
Add a few lengths of the spline and try to save, eventually I get a failure:

; Unable to lock dest path 'E:/TRS/UserData2/local/hash-00/kuid 122285 100086.tzarc'
; Unable to lock dest path 'E:/TRS/UserData2/local/hash-00/kuid 122285 100086.tzarc'
; Unable to lock dest path 'E:/TRS/UserData2/local/hash-00/kuid 122285 100086.tzarc'
; Unable to lock dest path 'E:/TRS/UserData2/local/hash-00/kuid 122285 100086.tzarc'
; Unable to lock dest path 'E:/TRS/UserData2/local/hash-00/kuid 122285 100086.tzarc'
- Failed to submit changes to asset <kuid:122285:100086> due to file access error

I'm able to recover from this (not always the case) so at this point there is certainly something to save.
I left the game running for twenty minutes and got:

? TADDeleteAsset
+ <kuid:-2:1> deleted
? TADDeleteAsset
+ <kuid:-2:2> deleted
? Surveyor::AutoSaveNow.route
+ <kuid:-2:1> opened for edit
+ Asset <kuid:122285:100085> successfully cloned to <kuid:-2:1>
? Surveyor::AutoSaveNow.session
+ <kuid:-2:2> opened for edit
+ Asset <kuid:122285:100086> successfully cloned to <kuid:-2:2>
+ <kuid:-2:2> submitted

WindWalkr
July 11th, 2015, 05:58 AM
I haven't been able to repro this as yet. Do you by any chance have a virus checker enabled?

chris

andi06
July 11th, 2015, 12:15 PM
Yes, Microsoft Security Essentials. Disabling it doesn't solve the problem.
I'm running Windows 7 Pro.

andi06
July 12th, 2015, 05:47 AM
Because TANE is so flaky for me at present I' m having to use SaveAs/New Route and Session quite frequently. Following this I'm deleting the previous copy of the route and ending up with a lot of orphaned sessions. (They don't get deleted because they all have the name 'Default' so I'm dubious about disposing of them)

This morning I checked and found twelve of these lying around with no parent route. However, having said that deleting them doesn't fix the issue.

WindWalkr
July 12th, 2015, 06:44 AM
Assuming that it's not hardware-specific (why would it be?) it must be something specific that you're doing that I'm not. Think back to the example you gave of placing lots of track on a new route- can you still repro this? Did you do anything else other than placing track? Change any settings? Does this still repro if you use a completely fresh user data folder? Which track are you placing?

chris

andi06
July 12th, 2015, 08:58 AM
I can still reproduce it with today's build 77196, a fresh UserData folder and a fresh map.

Using the same asset <kuid:47439:37080>, I just draw three or four segments and then try to Save, after a few successful saves I will get the message.

Since installing the build I have:

1. Moved UserData to Drive E (trs specific drive, 388Gb free, full control for All Users)
2. Restarted, changed one or two interface settings, spline point rotation off, showkuids on, chat off, autosave off and the like.
3. No changes to any performance settings.
4. Installed my procedural-track assets, had a quick look and saw no apparent changes from the last build.
5. Started a new map from the game screen, accepted the default region and started placing splines.

I can pretty much guarantee seeing this at least once in every half dozen saves.

WindWalkr
July 12th, 2015, 09:12 AM
Thanks. Now reproed :)

chris

WindWalkr
July 13th, 2015, 06:51 PM
Please retest in 77241.

chris

andi06
July 20th, 2015, 12:35 PM
Problem hasn't re-appeared, time to close the thread?