• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
standalone not logging in...
#3
Thanks Mark,

I don't think that was it -- despite a couple of differences differences between the stack code in the toolkit and the code you provide, no error was being generated and nothing worked.

The differences with the toolkit code that i could see were the location of the SDK within the mac app bundle (according to your path above, the SDK is in /Contents/Resources/_MacOS/data/config/CanelaDB, whereas in my bundle it's in /Contents/Resources/_MacOS/CanelaDB. Also the stack script is slightly different - yours uses specialFolderPath("support"), whereas the stack script is specialFolderPath("resources") in case "MacOS"

Changing all of the above to match your script above made no difference whatsoever.
Then i decided to see if the startup script was even being triggered, by adding an answer dialog to state what environment was being detected in the preOpenStack script.
And then the login worked!

I wondered if the wait 0 milliseconds with messages needed a larger value, but removing the debug code didn't make a difference - it still works now.
I can only presume this is some kind of odd gremlin/corruption in my stack which has somehow ironed itself out. 

I'm now faced with other unexpected behaviour with the standalone (i've set the database to be local and sync from cloud on start up but this isn't happening now in standalone - only works inside liveCode) -- but that's a struggle for another day Smile
  Reply


Messages In This Thread
standalone not logging in... - by stamatis - 11-08-2020, 01:27 AM
RE: standalone not logging in... - by stamatis - 11-11-2020, 02:40 AM
RE: standalone not logging in... - by stamatis - 11-12-2020, 03:02 AM
RE: standalone not logging in... - by stamatis - 11-20-2020, 06:16 PM
RE: standalone not logging in... - by JereMiami - 10-02-2021, 12:15 PM
RE: standalone not logging in... - by Hendricus - 10-13-2021, 09:28 PM
RE: standalone not logging in... - by Hendricus - 10-14-2021, 07:46 AM
RE: standalone not logging in... - by Hendricus - 10-15-2021, 02:43 PM
RE: standalone not logging in... - by Hendricus - 10-15-2021, 09:22 PM
RE: standalone not logging in... - by Hendricus - 10-16-2021, 07:09 PM
RE: standalone not logging in... - by Hendricus - 10-20-2021, 09:09 PM
RE: standalone not logging in... - by Hendricus - 10-22-2021, 11:42 AM
RE: standalone not logging in... - by Hendricus - 10-27-2021, 09:44 PM
RE: standalone not logging in... - by JereMiami - 11-30-2021, 09:27 AM
RE: standalone not logging in... - by stamatis - 11-30-2021, 11:12 AM
RE: standalone not logging in... - by Linda Lu - 11-30-2021, 05:47 PM
RE: standalone not logging in... - by stamatis - 11-30-2021, 07:54 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)