Page 1 of 1

External call to simCallScriptFunction failed ('parseCSVFile'): error in script function.

Posted: 22 Sep 2023, 14:00
by mikkylok
I encountered the same mistake in this link: https://forum.coppeliarobotics.com/view ... hp?t=10162
I do not think this problem has been solved.

The complete error is:

Code: Select all

[/WorldFrame/youBot@childScript:error] [string "/WorldFrame/youBot@childScript"]:76: attempt to index a nil value (local
'fout')
stack traceback:[string "/WorldFrame/youBot@childScript"]:76: in function 'parseCSVFile'
[CoppeliaSim:error] External call to simCallScriptFunction failed ('parseCSVFile'): error in script function.
The .csv file is:
https://www.dropbox.com/sh/l9z8engd8hp3 ... xample.csv
the .ttt file is:
https://www.dropbox.com/sh/l9z8engd8hp3 ... ot_csv.ttt

I am using CoppeliaSim for Mac 13+ apple silicon. There is no error during installation.

Does anyone know what is the root cause of this?

Re: External call to simCallScriptFunction failed ('parseCSVFile'): error in script function.

Posted: 24 Sep 2023, 15:48
by fferri
You have some unhandled error in your model's script.

For the reasons io.open(... 'w') can return nil, see https://stackoverflow.com/questions/753 ... ile-handle

Re: External call to simCallScriptFunction failed ('parseCSVFile'): error in script function.

Posted: 19 Dec 2024, 07:14
by sinadaneshvar
anyone found a solution to this? I have the same issue.