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

Typically: "How do I... ", "How can I... " questions
Post Reply
mikkylok
Posts: 1
Joined: 22 Sep 2023, 02:27

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

Post 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?
fferri
Posts: 1334
Joined: 09 Sep 2013, 19:28

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

Post 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
sinadaneshvar
Posts: 1
Joined: 18 Nov 2024, 02:51

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

Post by sinadaneshvar »

anyone found a solution to this? I have the same issue.
Post Reply