Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 "not saved correctly" feature was confused
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

robosport
Junior Member

USA
18 Posts

Posted - Jul 28 2004 :  5:19:30 PM  Show Profile
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  Show Profile
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.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Jul 28 2004 :  11:26:00 PM  Show Profile
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
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Jul 29 2004 :  04:04:09 AM  Show Profile
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
Go to Top of Page

robosport
Junior Member

USA
18 Posts

Posted - Jul 29 2004 :  04:08:56 AM  Show Profile
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!
Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Jul 29 2004 :  09:25:03 AM  Show Profile
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.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18940 Posts

Posted - Jul 29 2004 :  10:55:52 AM  Show Profile
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
Go to Top of Page

rblondeau
Tomato Guru

Canada
102 Posts

Posted - Jul 29 2004 :  12:14:48 PM  Show Profile
I made the mistake of saying yes a couple of days ago. Same results, the correct file was lost.
Go to Top of Page

Ondrej Spanel
Senior Member

40 Posts

Posted - Jul 30 2004 :  06:41:57 AM  Show Profile
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).
Go to Top of Page

Baga
Tomato Guru

122 Posts

Posted - Jul 30 2004 :  12:49:14 PM  Show Profile
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
Go to Top of Page

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Aug 01 2004 :  11:53:29 AM  Show Profile
case=188

(no, this is NOT a joke)

Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Aug 01 2004 :  8:44:09 PM  Show Profile
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 ...
Go to Top of Page

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Aug 02 2004 :  02:43:39 AM  Show Profile
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.

Go to Top of Page

Baga
Tomato Guru

122 Posts

Posted - Aug 02 2004 :  04:40:22 AM  Show Profile
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...
Go to Top of Page

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Aug 02 2004 :  04:56:48 AM  Show Profile
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...

Go to Top of Page

Baga
Tomato Guru

122 Posts

Posted - Aug 02 2004 :  5:52:04 PM  Show Profile
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.
Go to Top of Page

robosport
Junior Member

USA
18 Posts

Posted - Aug 02 2004 :  5:58:13 PM  Show Profile
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.
Go to Top of Page

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Aug 03 2004 :  11:39:38 AM  Show Profile
quote:
Originally posted by Baga

- Before "Restore unsaved" make copy of original file.



Added to the wishlist.

case=194

Go to Top of Page

Chris Nahr
Ketchup Master

92 Posts

Posted - Aug 23 2004 :  1:09:46 PM  Show Profile
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.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Aug 23 2004 :  3:08:42 PM  Show Profile
Bug will be fixed in first beta of VA X 10.1 due this week.

Chris: You are on the list.
Go to Top of Page

Chris Nahr
Ketchup Master

92 Posts

Posted - Aug 24 2004 :  2:38:44 PM  Show Profile
Thanks, I'll download the beta when you post it!
Go to Top of Page

cjurney
New Member

3 Posts

Posted - Aug 31 2004 :  1:59:42 PM  Show Profile
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.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Oct 04 2004 :  5:40:32 PM  Show Profile
Problem with recovery fixed in build 1272.
Go to Top of Page

robosport
Junior Member

USA
18 Posts

Posted - Oct 04 2004 :  8:21:22 PM  Show Profile
Thank you!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000