How to solve "can't find stack" error

Robert Brenstein rjb at robelko.com
Thu Jan 15 19:41:52 EST 2015


On 14.01.2015 at 17:01 Uhr -0800 tbodine apparently wrote:
>Hi all.
>
>Looking for some insight here... I have a desktop program built in LC 6.5.1
>that uses LC stacks as user files for storing user data in fields and
>cprops. Mostly this works well. However, I get occasional Error Reports when
>a few users have tried to reopen a file they created. Error type is "Chunk:
>can't find stack". I know the file exists because the user just picked it
>with the answer file command.
>
>The error occurs at a line where I first read a cprop from the stack. And
>the line just prior to that loads the stack with "go invisible to card 1 of
>stack tFullFilePath"

Have you tried adding a check after the go command to see whether it 
is successful? Some versions of LC had issues with some chars in the 
path, for example. Does your file selector allows to pick only LC 
stacks?

RObert




More information about the use-livecode mailing list