weird standalone save behavior

Richard Lague laguer at ucs.orst.edu
Sat Apr 1 14:23:14 EST 2006


I have had a strange problem with "splash screen" standalones not  
saving data for some time now. This only happens on Macs. Windows  
standalone apps, created from the same stack files as the Mac  
standalones, work just fine. The problem is not in the standalone  
setup dialog; the settings have been checked by both Sarah Reichelt  
and Jacqueline Gay. My Mac standalones save data on other people's  
Mac's.

This problem started months ago. My Mac standalones used to save  
data, and I’m not sure when this problem really started. It might  
have been during the time of Rev 2.5, or 2.6. It also seemed to start  
at different times on my two Macs, ( a G4 tower and a G3 iBook, both  
currently runing System 10.4.5.), but within a short time of each  
other. I have also tried all the versions of Revolution I own:   
2.1.2, 2.2, 2.5,2.5.1, 2.6, 2.6.1 and the latest version of  
Revolution: 2.7. I get the same behavior in all the different versions.

In an effort to figure out what is going on I have been using the  
following script for saving:

ON mouseUp
     save this stack
     IF the result is not empty THEN
         put the result into resultVar
         answer resultVar
     ELSE
         answer "save confirmed"
     END IF
END mouseUp

When I can not save data I always get the same result: “Can’t open  
stack file”.


This problem seems to be related to folders. I can take a standalone  
that does not save data and drag it to the desktop and it will save  
data. The problem seems to happen in both system 10.2.8 and 10.4.5.  
Below is an experiment I did:

Running 10.2.8:

Standalone recreated while running 10.4.5 -- does not save data.  
“Can’t open stack file”. Then copied the same standalone to another  
dirve and it does save data.

On my laptop-iBook G3- I copied a standalone to the desktop -- it  
saved. I then moved it to a floder -- can’t open stack file. Moved it  
back to the desktop-- and it would save again.

Running 10.4.5

Standalone in original folder -- will not save
The same standalone dragged to the desktop - will save
The same standalone dragged back to it’s original folder - will not save
copied to another drive - will not save
Then dragged to another folder on that new drive - will save
Then copied to yet another dirve - will save

So, it is a bit confusing, but I'm thinking it must have something to  
do with permissions. The owner and permissions of the standalones  
that save data are the same as those that do not.

Anyone have any idea about how I can fix this problem?

Thanks,

Rich Lague


More information about the use-livecode mailing list