LiveCloud Forums
Library error - Printable Version

+- LiveCloud Forums (https://forums.livecloud.io)
+-- Forum: Support (https://forums.livecloud.io/forumdisplay.php?fid=5)
+--- Forum: Bug Reports (https://forums.livecloud.io/forumdisplay.php?fid=6)
+--- Thread: Library error (/showthread.php?tid=439)



Library error - Pebah - 07-10-2020

Hi, I'm getting this LC script error when I call initializeCanelaDB.

Error: stack "CDB_Header.lib" execution error at line 10 (Function: error in function handler) near "cdbi_create", char 13

Message execution error:
Error description: Handler: can't find handler
Hint: cdbi_setLogMode

I seem to be using the latest library files (I reexported the tools and restarted the program). The two .lib files are dated 6/30/20.

Peter Bogdanoff


RE: Library error - Linda Lu - 07-10-2020

Can you reexport the toolkit and confirm the date modified for the library files? The date for CDB_Header.lib should be June 10, 2020 and the date for CDB_Starter.lib should be April 29, 2020.

Have you also tried replacing the initialization script?


RE: Library error - Pebah - 07-10-2020

Hi, still having a problem.
1. I reinstalled the LiveCloud application
2. Exported the toolKit again
3. Copied the initialization script to my application "Media Index.livecode"

The two library files show: date modified--today, created--5/17/19

My stack opens without any visible errors. When I go to create a key, I get an error in the script:
stack "Media Index": execution error at line 40 (Function: error in function handler) near "cdb_create", char 8

My script:
## tLine is: Au,71NInvocationOfCalliope.mov,MITA,2702
## tMitaID is: 71NInvocationOfCalliopeMITA2702
put item 2 of tLine into tDataA["item"]
put item 3 of tLine into tDataA["section"]
put item 4 of tLine into tDataA["location"]
put tMitaID into tDataA["mitaID"]
put "audio" into tTable
put "cloud" into tTarget
put true into tInternalA["delaySend"]
put cdb_create(tDataA,tTable,tTarget,tInternalA) into tRecordID

So I run from the message box:
send preOpenStack to stack "Media Index"
Message box response:

Message execution error:
Error description: Handler: can't find handler
Hint: cdbi_setLogMode

My table in LCM:

[Image: mitaMediaImage.png]


RE: Library error - Jason Lam - 07-10-2020

Hi Peter,

Can we remotely connect to your machine to help diagnose the issue?


RE: Library error - Linda Lu - 07-10-2020

You can contact us at +1 (866) 410-2377 from Monday to Friday between 8AM PST and 5PM PST or attach a sample stack of your project. If you are attaching a sample stack, please include the CanelaDB folder with your stack.


RE: Library error - Pebah - 07-13-2020

(07-10-2020, 08:00 PM)Jason Lam Wrote: Hi Peter,

Can we remotely connect to your machine to help diagnose the issue?

Yes, please. I called on the tech support phone and left a message also.


RE: Library error - Linda Lu - 07-14-2020

Bug report has been resolved. This error occurs when using a version of LiveCode prior to LiveCode 9.0, which is not supported by LiveCloud.