LiveCode won't recognize my stack
bvlahos at mac.com
Mon Jan 6 19:01:40 EST 2020
Richard and Brian,
I think you guys are on to something. The LiveCode open dialog filter is a different issue than actually being able to open the file as a stack. Thanks.
For some reason my OpenStack handler in the Card script isn’t being triggered. This is causing a number of issues including failing to “start using…” some library stacks and the one I reported here.
I’m looking into that now.
> Have you tried addressing it via the full path?
> put the uProperty of stack “/fullPathToFile/actualFileName” into tVar
> On Jan 1, 2020, at 4:48 PM, Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
> Bill Vlahos wrote:
>> I’m running the different versions of LiveCode on the same Mac and looking at the same file so I don’t think the OS is affecting this.
>> I’m just asking if there is a stack with the correct name and getting “false” as the answer if using LC 9.5.1.
>> If I ask for “file” and not “stack” then the result is “true”.
>> The path to the LicenseKey.IW file is correct at: /Volumes/HP c310w/InfoWallet 1.4/Info Files
>> Here is the error message:
>> Executing at 4:47:43 PM on Tuesday, December 31, 2019
>> Type: Chunk: can't find stack
>> Object: stack '/Volumes/HP c310w/InfoWallet 1.4/Info Files/InfoWallet.app/Contents/MacOS/InfoWallet'
>> Line Num: 26
>> Hint: populateFileList
>> Comments: I think LC must have changed how they are validating “stack” in version 8 compared to version 7.
> Maybe, but if so it's happening in a way not even Mark Waddingham is aware of (see his earlier post), and in ways I've never seen (and I do some weird things with stack files).
> Most interesting here is that "is a file" returns true while "is a stack" returns false.
> Were both of those tests run in the standalone? MacOS changed some aspects of how apps are allowed to address contents of its internal bundle folders a while back, but I would be surprised if those come into play only when testing "is a stack" but not "is a file".
> Is the stack file openable in the IDE?
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> Ambassador at FourthWorld.com <mailto:Ambassador at FourthWorld.com> http://www.FourthWorld.com <http://www.fourthworld.com/>
> use-livecode mailing list
> use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode <http://lists.runrev.com/mailman/listinfo/use-livecode>
More information about the use-livecode