Problem with revMacFromUnixPath() at OpenStack
Posted: Thu Jul 17, 2014 9:22 am
I have a stack that has been working fine but I have made some changes and now there is a problem. It is a stack running in LiveCode 6.5.0 on mac, and not a stand-alone.
On OpenStack I need to set some paths. I have the following script:
put revMacFromUnixPath(the_full_path) into mac_path
the variables the_full_path and mac_path are both defined. The error I get on opening the stack is:
Function: error in function handler
Object [...]
Line put revMacFromUnixPath(the_full_path) into mac_path
Hint revMacFromUnixPath
If I comment out the command, open the stack, then run the command in msg box, it works fine.
I note from google pages (not allowed to post links here) that there is an issue in standalones, namely that this function may not be available before start-up of App is completed. So this might be related. I have tried to put it as late as possible in OpenStack, but still not working.
Any hints appreciated.
On OpenStack I need to set some paths. I have the following script:
put revMacFromUnixPath(the_full_path) into mac_path
the variables the_full_path and mac_path are both defined. The error I get on opening the stack is:
Function: error in function handler
Object [...]
Line put revMacFromUnixPath(the_full_path) into mac_path
Hint revMacFromUnixPath
If I comment out the command, open the stack, then run the command in msg box, it works fine.
I note from google pages (not allowed to post links here) that there is an issue in standalones, namely that this function may not be available before start-up of App is completed. So this might be related. I have tried to put it as late as possible in OpenStack, but still not working.
Any hints appreciated.