Can't Overwrite "Read-Only"

NJCurmudgeon

New member
Every time I start making progress with a Trainz layout and having fun, the software does something to make me hate it again...

I have been working on a route and when I went to save, I get a message "Trainz could not overwrite read-only route files. Try saving with a different name."

How on earth did the route become "read-only"? I did nothing to it other than add a station!!! I try saving it as a different name and I get the same error message!!

I still have the file open in the hopes someone can tell me how to fix this so I don't lose what I did.
 
I found that when that happens in TS12, I cancel and then try again, the route is saved under the original name. Practise on something simple to check that it works for you.

Peter
 
Thanks but it doesn't matter if I Save or Save As or how many times I cancel and try again, I keep getting the same #$%&ing error message..
 
OK - if you are using Windows Vista or later, are you running Trainz as administrator? Also, make sure your antivirus software isn't scanning the Trainz folder(s).

Shane
 
I am running Windows 7 as Administrator. Here's the thing - I was able to save the route and session earlier. This was the second or third time I went to save. Nothing should have changed. I have MalwareBytes, but it isn't scanning anything (it launches a window when it is doing a scheduled scan).
 
I generally do what Peter suggested and that seems to fix it although I recall it was more of a problem in TS10. Actually, I don't really create routes much any more but I do save test assets to my test route and have no problem.

The problem was intermittent. Sometimes it would save and other times it would not. I recall thinking a while back that the save routine probably only tries once to open a file for writing and, if it fails, it does a dummy spit. When I wrote code for a living I would put such file opens into a loop and do a few retries in case someone else had the file open for reading.
 
I closed the route and re-opened an autosave version. I didn't lose as much as I had feared. I re-saved it under the original name. I added a signal (like I have done all over it before), went to save and got the same error message again. Can anyone give me one good reason why I shouldn't just uninstall Trainz and go find another train sim? Because at this point I am so frustrated with this piece of crap software that I am ready to put my fist through a screen.
 
Stop clicking CANCEL, when you get this False message. Just click OK and move on. Your route has been saved. If you don't believe it then just click on driver and it will ask you if you want to save surveyor if you have changed anything in surveyor, click yes and you will be happily on your way.
 
It is actually good practice to save your work with progressively numbered filenames if you can manage the storage.
 
It's not a false message. I just lost 15 minutes worth of work on the route thanks to this bug. Fortunately, it wasn't much, but still. Here's another clue - after it happens, when I start the program again, it go to "Updating Trains Asset Database."
 
It's not a false message. I just lost 15 minutes worth of work on the route thanks to this bug. Fortunately, it wasn't much, but still. Here's another clue - after it happens, when I start the program again, it go to "Updating Trains Asset Database."

Let the process finish. They may have been a problem after all that was causing your read-only message. I wonder if this message relates to assets.tdx rather than the route files themselves. Error messages are sometimes quite vague when it comes to software as they are written in a foreign language called "Programmer".

John
 
What do you mean by "Let the process finish"? I hit save and get the error message. I don't know that there is a "process" at that stage since it seems to have tried to save, had a problem, and threw up the error box. I've tried ignoring it - treating it like a false message, and ended up losing progress. So it apparently really was unable to save. It wasn't lying to me! The only other strange thing it has started doing is the assets update when I open the program again. That sounds like it may relate to that "assets.tdx" you mentioned? If so, is there some way of checking and or fixing any bugs with it? Unfortunately, I am learning more "programmer" than "railroad" with this dang thing! Thanks.
 
The actual issue when that happens is that one or more assets failed to commit for some reason. This is why it's important to make sure it has sufficient privileges to do so.

Shane
 
How does one go about checking for that? Or is it like trying to find a short in a electrical system? I installed two new payware locos a while back, but there are no errors or warning with them or their dependencies.
 
What do you mean by "Let the process finish"? I hit save and get the error message. I don't know that there is a "process" at that stage since it seems to have tried to save, had a problem, and threw up the error box. I've tried ignoring it - treating it like a false message, and ended up losing progress. So it apparently really was unable to save. It wasn't lying to me! The only other strange thing it has started doing is the assets update when I open the program again. That sounds like it may relate to that "assets.tdx" you mentioned? If so, is there some way of checking and or fixing any bugs with it? Unfortunately, I am learning more "programmer" than "railroad" with this dang thing! Thanks.

Sorry I should have been more explicit on my answer. By letting the process finish, I meant the database repair. Never cancel a DB repair as that can leave things in a rather odd state, and I don't mean up in Maine. :)

As Shane says... check for anything that's open for edit in Content Manager and commit them.

John
 
Thanks for the clarification John. I always let the database repair routine finish and have not cancelled it. When I get the error about saving, the next time I open the program, it goes through the repair again. I allow it to complete but can still get the save error and it starts the cycle over again.

I found a bunch of uncommitted assets in CM, though none appeared to be anything I had placed in the route in question. I committed all of them and we will see if it makes a difference. It may be a couple of days before I have time to try it, but I will report back when I do.

Thanks.
 
Back
Top