Author |
Topic |
|
robosport
Junior Member
USA
18 Posts |
Posted - Jul 28 2004 : 5:19:30 PM
|
My system shutdown poorly and I restarted everything began working again. When I clicked on the source files that were open at the time of the crash, VAX told me each of my open source files "was not saved correctly" and asked me if I wanted to open the unsaved version.
I thought this was awesome (just like the rest of VAX) so I said yes. Unfortunately VAX got confused regarding the contents of a couple of the files. Most files were opened just fine. The contents of one header opened in a second header (replacing its contents). The contents of the second header were lost.
Normally I'd just snag the lost contents from revision control, but I had just finished writing several of those files and was in the process of testing them during the crash, so they weren't checked in.
Sorry if this is a known bug. I performed a quick search before posting.
Update: Info... VA_X.dll file version 10.0.1246.0 Licensed to: VA X: <cut> VA.NET 7.1: VAOpsWin.dll version 1.0.0.44 DevEnv.exe version 7.10.3077.0 msenv.dll version 7.10.3077.0 Windows XP Pro Build 2600 Service Pack 1 Single processor
robo |
Edited by - robosport on Jul 28 2004 5:33:55 PM |
|
robosport
Junior Member
USA
18 Posts |
Posted - Jul 28 2004 : 5:41:26 PM
|
More info: The two header files with the problem had almost identical names. Only the character prior to the .h extension was unique.
The filename ending in ********3.h replaced the file contents of the filename ending in ********2.h, and the contents of the file ending in ********2.h have been lost. |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Jul 28 2004 : 11:26:00 PM
|
I always have problems with this feature when I save a file under a different name, add it to the workspace and then open the original file again. VAX always asks me to restore the incorrectly saved contents |
|
|
Stephen
Tomato Guru
United Kingdom
781 Posts |
Posted - Jul 29 2004 : 04:04:09 AM
|
Several other people have complained about this before: 1373, 2452, 2495, 2519. I haven't encountered the problem myself, but I consider it a five-tomato bug, and I'm surprised that it's still outstanding after six months. |
Stephen Turner ClickTracks http://www.clicktracks.com/ Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
|
|
|
robosport
Junior Member
USA
18 Posts |
Posted - Jul 29 2004 : 04:08:56 AM
|
I can't believe I missed those with my search. I thought for sure I would have caught one when using the error string prompted by VAX.
Anyway, thank you for the responses. Now I know... just say NO! |
|
|
LarryLeonard
Tomato Guru
USA
1041 Posts |
Posted - Jul 29 2004 : 09:25:03 AM
|
Yeah, IMHO this is a broken feature. It has *always* done the wrong thing for me, so I stopped using it months ago... I really think they need to pull this out of the next build until it can be looked at - it's too dangerous to let loose as it is. I mean, if syntax coloring has a bug in it, that's not a big deal: this, though, can make you lose files.
|
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Jul 29 2004 : 10:55:52 AM
|
i have to agree with Larry on this. on a couple of occasions i have selected yes by mistake, and VAX has correctly recovered the file
however, it fails so often for me i simply do not trust it *sigh* |
zen is the art of being at one with the two'ness |
|
|
rblondeau
Tomato Guru
Canada
102 Posts |
Posted - Jul 29 2004 : 12:14:48 PM
|
I made the mistake of saying yes a couple of days ago. Same results, the correct file was lost. |
|
|
Ondrej Spanel
Senior Member
40 Posts |
Posted - Jul 30 2004 : 06:41:57 AM
|
I agree this is very important problem. There are a few problems more important that anything which can destroy your work. If the feature is not fixed, it should be removed (I never used it since it failed for me once).
|
|
|
Baga
Tomato Guru
122 Posts |
Posted - Jul 30 2004 : 12:49:14 PM
|
This feature saved my day's work couple of times when it worked, and once lost me week's work when it failed. I am not sure about the total though...
I would hate to loose this feature though, because i think the soulution is freaking simple:
Make a backup copy of existing file before overwriting it with 'restored' version
Anybody (support) can tell me why this would not work? |
Edited by - Baga on Jul 30 2004 12:51:12 PM |
|
|
WannabeeDeveloper
Tomato Guru
Germany
775 Posts |
Posted - Aug 01 2004 : 11:53:29 AM
|
case=188
(no, this is NOT a joke) |
|
|
|
LarryLeonard
Tomato Guru
USA
1041 Posts |
Posted - Aug 01 2004 : 8:44:09 PM
|
quote: Originally posted by WannabeeDeveloper
case=188
(no, this is NOT a joke)
Uh-oh. We're in biiiiig trouble now!
Hey, can you do something about those tomato icons? They're too red. Or not red enough. Or ...
|
|
|
WannabeeDeveloper
Tomato Guru
Germany
775 Posts |
Posted - Aug 02 2004 : 02:43:39 AM
|
quote: Originally posted by LarryLeonard
Uh-oh. We're in biiiiig trouble now!
Hey, can you do something about those tomato icons? They're too red. Or not red enough. Or ...
BrblBrblBrblBrblBrblBrblBrblBrblBrblBrblBrblBrblBrblBrblBrbl...
Please mail your Icon-Suggestions (16x16, 16 color) to me and I'll see what I can do for you...
Back to topic: I have found one of my projects always fails in crash-recovery and the Devs are close to crushing the bug. Thanks for all your info and contributions.
|
|
|
|
Baga
Tomato Guru
122 Posts |
Posted - Aug 02 2004 : 04:40:22 AM
|
I'm glad you have repro case, fix must be on it's way...
Still, if (um... i mean when...) you fix the bug, and restoring unsaved file will work correctly, being able to compare saved and unsaved versions might be valuable. From that difference one can see what he was working on, for example. Also, 'restore points' are generated at some random time unlike 'vuluntary' save, or compiling project, running tool, etc.
Whatever... If you don't want to make backup copy, i'll do it myself, as before... |
|
|
WannabeeDeveloper
Tomato Guru
Germany
775 Posts |
Posted - Aug 02 2004 : 04:56:48 AM
|
You mean something like "Save all Files every X Minutes and keep X Backups"?
Could you please open up a new Thread discribing this feature wish?
I'm not sure if WT is gonna add this, but we can try... |
|
|
|
Baga
Tomato Guru
122 Posts |
Posted - Aug 02 2004 : 5:52:04 PM
|
quote: Originally posted by WannabeeDeveloper
You mean something like "Save all Files every X Minutes and keep X Backups"?
No. I was just trying to say that even if VA can restore unsaved version, it will still lag behind your typing, for unknown amount. So, being able to compare what they restored to what you had on disc is still valuable. This is not new topick, just asking for one thing in addition to fixing "Restore unsaved" feature:
- Before "Restore unsaved" make copy of original file.
|
|
|
robosport
Junior Member
USA
18 Posts |
Posted - Aug 02 2004 : 5:58:13 PM
|
I'll second that (make a copy prior to restore). It would be a nice temporary workaround, and just a good policy in general. Perhaps a single check box to toggle the backup for anyone concerned about the additional files created. |
|
|
WannabeeDeveloper
Tomato Guru
Germany
775 Posts |
Posted - Aug 03 2004 : 11:39:38 AM
|
quote: Originally posted by Baga
- Before "Restore unsaved" make copy of original file.
Added to the wishlist.
case=194
|
|
|
|
Chris Nahr
Ketchup Master
92 Posts |
Posted - Aug 23 2004 : 1:09:46 PM
|
Just got bitten by the same bug. That was a big C# solution on VS.NET 2003 (MSDN English) with VAX 1246. Maybe a couple of files got restored correctly, I only recall the three files whose contents were replaced with other files.
Fortunately I could retrieve relatively recent versions from source control. Please, either fix this feature or remove it! A "safety" feature that randomly destroys files is worse than useless. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Aug 23 2004 : 3:08:42 PM
|
Bug will be fixed in first beta of VA X 10.1 due this week.
Chris: You are on the list. |
|
|
Chris Nahr
Ketchup Master
92 Posts |
Posted - Aug 24 2004 : 2:38:44 PM
|
Thanks, I'll download the beta when you post it! |
|
|
cjurney
New Member
3 Posts |
Posted - Aug 31 2004 : 1:59:42 PM
|
I found that I was always able to get back to my original file by doing an undo after a failed recovery. It looked like the recover always swapped the .cpp and .h on me. This won't help if you didn't have the file saved, but it will get you back to whatever you last wrote out for the real filename. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Oct 04 2004 : 5:40:32 PM
|
Problem with recovery fixed in build 1272. |
|
|
robosport
Junior Member
USA
18 Posts |
Posted - Oct 04 2004 : 8:21:22 PM
|
Thank you! |
|
|
|
Topic |
|