LiveCloud Forums
Error when saving a standalone... - Printable Version

+- LiveCloud Forums (https://forums.livecloud.io)
+-- Forum: General (https://forums.livecloud.io/forumdisplay.php?fid=1)
+--- Forum: General (https://forums.livecloud.io/forumdisplay.php?fid=3)
+--- Thread: Error when saving a standalone... (/showthread.php?tid=502)



Error when saving a standalone... - philippecoenen - 10-28-2021

Hi, I have an error when I try to save a standalone.

"We encountered an error while initializing CanelaDB:

91,44,1
568,44,1


I have included what I think is needed for the build...
Did I miss something?

Can you help with this?

I thank you already,

Phil


RE: Error when saving a standalone... - Linda Lu - 10-28-2021

Hi Phil,

In the standalone application settings in Livecode, do you have the CanelaDB folder included in the copy files section? You can do this by clicking the "Add Folder..." button and selecting the CanelaDB folder of your project.


RE: Error when saving a standalone... - philippecoenen - 10-29-2021

(10-28-2021, 05:39 PM)Linda Lu Wrote: Hi Phil,

In the standalone application settings in Livecode, do you have the CanelaDB folder included in the copy files section? You can do this by clicking the "Add Folder..." button and selecting the CanelaDB folder of your project.

I believe yes. I will try again to be sure, but that's what I did.
There is no error while compiling, but when I launch the app.


RE: Error when saving a standalone... - mark_talluto - 10-29-2021

The LiveCode errors:
91,44,1
568,44,1

Translation:
91 Chunk: can't find stack
568 start: can't find object

My guess is that the initializeCanelaDB code we provided is not working for you. The common reason is a matter of pathing. If you place the CanelaDB folder in a place that does not match the pathing you have two options. Either move the CanelaDB folder to match the coded pathing or update the pathing code to match where you want to place the CanelaDB folder.