You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to table a lua table and encode it as a csv then write it to a csv file. my table is a simple table with only one column but I keep getting this error.
local fileOutput = ftcsv.encode(tagsOut,",") local file = assert(io.open(file),"w") file:write(fileOutput) file:close()
I get this error: �/usr/qsc/www/designs/NgwUmIDsUYkk/lua/ftcsv/init.lua:768: bad argument #1 to 'pairs' (table expected, got string)
The text was updated successfully, but these errors were encountered:
I tried encoding a single column table, and it seems to work okay. The table does need to be in a specific format, so you might be running into issues there.
I am trying to table a lua table and encode it as a csv then write it to a csv file. my table is a simple table with only one column but I keep getting this error.
local fileOutput = ftcsv.encode(tagsOut,",") local file = assert(io.open(file),"w") file:write(fileOutput) file:close()
I get this error:
�/usr/qsc/www/designs/NgwUmIDsUYkk/lua/ftcsv/init.lua:768: bad argument #1 to 'pairs' (table expected, got string)
The text was updated successfully, but these errors were encountered: