Very weird issue with Big Sur - multiple stack file copies being generated

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
stam
Posts: 2638
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Very weird issue with Big Sur - multiple stack file copies being generated

Post by stam » Fri Jul 16, 2021 3:11 pm

Hi all,

i've come across a very weird issue with stack files. I've been working a stack file for a while and noticed that changes i had made were reappearing the following day.

I discovered for some reason there were multiple copies of the stack file being generated in the same folder.
Apart from <stackFile>.livecode, i now have
<stackFile> 1.livecode,
<stackFile> 2.liveCode,
<stackFile> 3.livecode,
<stackFile> 4.liveCode etc.

The file with the highest number is the one with the most recent changes; but the problem is that this stackFile is launched from a splash stack, and i keep working with the original and now have multiple copies in various states of code.
Highly undesirable... (and not something i've seen with any other document based app).

Does anyone why this is happening? (LC 9.6.2, MacOS 11.4)

Many thanks
Stam

Bernard
Posts: 351
Joined: Sat Apr 08, 2006 10:14 pm
Location: London, England

Re: Very weird issue with Big Sur - multiple stack file copies being generated

Post by Bernard » Sat Jul 17, 2021 9:45 am

I have no explanation for you. It's not happening to me on Big Sur.

stam
Posts: 2638
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Very weird issue with Big Sur - multiple stack file copies being generated

Post by stam » Sat Jul 17, 2021 11:45 am

Just weird. Not sure why but it only seems to go up to 4 files. I wondered if it had something to do with weirdness around Time Machine (i have a network drive over wifi backing up at at home, but I'm not home many hours of the day and I wondered if interruption in time machine backing up or similar would do something like that... supremely annoying....

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Very weird issue with Big Sur - multiple stack file copies being generated

Post by richmond62 » Sat Jul 17, 2021 12:22 pm

I do not have Time Machine on automatic. Always set it to
backup just before I jump into the bath at bedtime, hourly back ups are silly: far
too many processor cycles.

I back up my current work by dragging it into a folder on an external drive called, oddly enough 'RIGHT NOW'.

Oh, and I had more problems between LiveCode and MacOS 11 than I care to mention: now on MacOS 12 beta 3
and see none of that nonsense.
Last edited by richmond62 on Sat Jul 17, 2021 4:34 pm, edited 1 time in total.

Bernard
Posts: 351
Joined: Sat Apr 08, 2006 10:14 pm
Location: London, England

Re: Very weird issue with Big Sur - multiple stack file copies being generated

Post by Bernard » Sat Jul 17, 2021 12:41 pm

I don't have Time Machine enabled. In fact, I'd forgotten it even exists.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7215
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Very weird issue with Big Sur - multiple stack file copies being generated

Post by jacque » Sat Jul 17, 2021 5:08 pm

If you ever used "Save As" that could happen.

I'd be lost without Time Machine. It's saved me more than once, including its hourly backups after I've got myself into an unexpected dead end and need to go back a couple of hours to start over.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Very weird issue with Big Sur - multiple stack file copies being generated

Post by FourthWorld » Sun Jul 18, 2021 7:27 am

That naming pattern is not something the engine does, and I've never seen anything like that with the IDE either, unless manually with Save As. But there is an auto-save plugin that does exactly that. You might check your plugins to see if maybe you activated one inadvertently.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Talking LiveCode”