Rev file is not opening, generating crashlog

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Paul D
Posts: 116
Joined: Mon May 21, 2007 6:58 pm

Rev file is not opening, generating crashlog

Post by Paul D » Mon Jan 04, 2010 9:47 pm

I sent an email to support and since they are on holiday I have not received an email back yet. Which is fine. But I'll throw this out here, maybe someone has a fix or an idea on what the problem might be. Last week, I upgraded Rev from 3.5 to 4.0. When I was doing the update I had a project open. Right after the update was complete rev just closed on me. Ever since then, the project file that was open while the update was going on, will not open. Revolution just closes and generates a crash log. Anyone else have this happen to them before? I hope the file isn't completely lost. That would be bad news. :(

hyperrev
Posts: 8
Joined: Tue Jan 05, 2010 7:38 pm

Re: Rev file is not opening, generating crashlog

Post by hyperrev » Tue Jan 05, 2010 11:30 pm

I take that "That would be bad news", means there is no backup of the stack file (been there). I figure you probably tried to open it with the old 3.5 version and it does the same thing, but had to ask. Don't know of anything specific to recover the stack in whole, but I do know you can open a stack file with a text editor and retrieve your code if worse comes to worse (hopefully you do not have a lot of data stored, artwork or fields and buttons to reproduce).
Revolution is a good thing - Rev Enterprise, Windows environment mostly

Paul D
Posts: 116
Joined: Mon May 21, 2007 6:58 pm

Re: Rev file is not opening, generating crashlog

Post by Paul D » Wed Jan 06, 2010 6:36 pm

I have a backup but the way we rotate tapes it's a little old. Yeah I tried 3.5 again, still crashed. How does one go about opening the stack with a text editor in Windows?

hyperrev
Posts: 8
Joined: Tue Jan 05, 2010 7:38 pm

Re: Rev file is not opening, generating crashlog

Post by hyperrev » Wed Jan 06, 2010 7:31 pm

In Windows (which I use primarily because that is what our Corporation uses), I just right click the stack file and choose Open With Notepad. Using the "Open With", ignores the extension (although I suppose you could just change it to .txt and do the same thing). If on a MAC (I am a MAC guy at heart), you may have to use a HEX editor (I have used 0xED) or a Text Editor that ignores/reads non-text (binary) files (not sure which ones will). Once open, you have to find your code and copy it out (it can be tricky to identify sometimes, but it is there). Since you have older copies, you could possible copy the handler code out of the newer corrupt file and paste it into one of you older copies (again, hopefully you do not have a lot of new buttons or fields or artwork in the corrupt copy).

Hope this helps. Good Luck

Terry
Revolution is a good thing - Rev Enterprise, Windows environment mostly

Paul D
Posts: 116
Joined: Mon May 21, 2007 6:58 pm

Re: Rev file is not opening, generating crashlog

Post by Paul D » Wed Jan 06, 2010 7:50 pm

‡E ¾kªÔI 3"@  f Šçz€ |ícŠYõG{Qï {kô»l 9ŽùÇb

That's a little snip-it from notepad. I've tried this before, that's why I asked. I didn't think it was hidden anywhere since it all looks ridiculous. But I'll take a gander.

hyperrev
Posts: 8
Joined: Tue Jan 05, 2010 7:38 pm

Re: Rev file is not opening, generating crashlog

Post by hyperrev » Wed Jan 06, 2010 9:11 pm

Paul,

My bad, open with WordPad (it formats the text better to read). Attached is a jpg snapshot example of a mouseup routine found in one of my stacks (the .rev file) and viewed in WordPad. I just start copying at the "on mouseup", and quit at the "end mouseup". Some stacks will obviously have a lot more to them (that is why I said it can be tricky), so you have to hunt around. But hey, if it is last resort, what can you do but try.

Terry
example_rev_text.JPG
Example snapshot:
example_rev_text.JPG (113.61 KiB) Viewed 8794 times
Revolution is a good thing - Rev Enterprise, Windows environment mostly

Paul D
Posts: 116
Joined: Mon May 21, 2007 6:58 pm

Re: Rev file is not opening, generating crashlog

Post by Paul D » Wed Jan 06, 2010 9:18 pm

Definitely doesn't work for me. Everything is
ˆ¿Ã×¼a«žß)™Ù°­…øÔ«…*¶‘‰·£ÉàMV)å¿Û‰«þ ÎÒ» Ðf´uƒwU;¬Û©‚ŸÙ yÏ»°ö#š§¾e |?s ,&2±<˜4õ²žªß¬B…}©4'ìÌ©{C9è.câ®[˜Ÿ„sw'z4‹wŠ#ÍBÄPH]ôpOÓʯŠÀ¤Êü)lÊÛIÐÏÒ\bù¾¿BB4Zó<û8 -15»ãᄤMV$ôÍ)žo–±|îØøú„KÓø]!že³¬sK¹ój&Uî¥ã%>ÚÝâ¼lRˆl?ûŠ4ªüõUmœmøˆÓa<ü˜òàÜè›ÎÚXÔ¿š±%ßkÔÅ<"-@A§»þÕU2á7}ªTLÝ o‘Œû—AÁÍlÃjX Ö9À½5£#ó»?ö#‘üùa s|άA¡‹ü44åšv˜™mñBE±b`²&_úoh‹âÿA%*™²[
I searched for mouse, put and other words that would be common in scripts but came up with nothing. Now I have to try and figure out what is different that it is working for you but not me.

hyperrev
Posts: 8
Joined: Tue Jan 05, 2010 7:38 pm

Re: Rev file is not opening, generating crashlog

Post by hyperrev » Wed Jan 06, 2010 10:18 pm

Paul,

If you are opening the .rev file (not a stand-alone .exe) and it looks like that, it could be that your file got so hammered/corrupted that it is toast. That would be the only explaination I can think of.

Terry
Revolution is a good thing - Rev Enterprise, Windows environment mostly

malte
Posts: 1098
Joined: Thu Feb 23, 2006 8:34 pm
Contact:

Re: Rev file is not opening, generating crashlog

Post by malte » Wed Jan 06, 2010 11:22 pm

Or if the stack was password protected, it would look garbled too.

I think your only hope is support.

Hope they can help you,

Malte

Paul D
Posts: 116
Joined: Mon May 21, 2007 6:58 pm

Re: Rev file is not opening, generating crashlog

Post by Paul D » Thu Jan 07, 2010 4:16 pm

:cry:

strongbow
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 146
Joined: Mon Jul 31, 2006 1:39 am
Contact:

Re: Rev file is not opening, generating crashlog

Post by strongbow » Mon Jan 11, 2010 6:14 am

I've just had a similar problem when trying to open a stack in Rev 4.0 - message about it being corrupted and to try the backup file (which doesn't exist).

However, I tried opening the stack in Rev 3.5 and it worked ok so have saved a copy of it under 3.5. And that also doesn't open under Rev 4.0...

HTH

cheers

Alan

malte
Posts: 1098
Joined: Thu Feb 23, 2006 8:34 pm
Contact:

Re: Rev file is not opening, generating crashlog

Post by malte » Mon Jan 18, 2010 8:11 pm

Are you on snow leopard and double clicked the file? If so, try opening it from the file menu.

Does that open it?

All the best,

Malte

Paul D
Posts: 116
Joined: Mon May 21, 2007 6:58 pm

Re: Rev file is not opening, generating crashlog

Post by Paul D » Fri Jan 29, 2010 3:10 pm

No, I'm running windows. I filed a bug report and they were able to confirm the crash. The stack did open with Rev 2.9 so if anyone else has this problem then maybe give that a try.

Post Reply