M micro Well-Known Member Licensed User Longtime User Oct 22, 2017 #1 Hi to all this's a error on raspberry with LoadCsv(jStringUtils library function) Code: Copy Log(File.Exists("/mnt/usb/", namef)) 'true, test file the file is present table = su.LoadCSV("/mnt/usb/", namef, ";") 'Or table = su.LoadCSV("/mnt/usb", namef, ";") 'java.lang.StringIndexOutOfBoundsException: String index out of range: -996 With Code: Copy table = su.LoadCSV("mnt/usb", namef, ";") 'java.io.FileNotFoundException: mnt/usb/format.csv (File o directory non esistente) The correct path is "/mnt/usb/" infact with FileExists work. The version of jstringUtils is 1.00 Thanks
Hi to all this's a error on raspberry with LoadCsv(jStringUtils library function) Code: Copy Log(File.Exists("/mnt/usb/", namef)) 'true, test file the file is present table = su.LoadCSV("/mnt/usb/", namef, ";") 'Or table = su.LoadCSV("/mnt/usb", namef, ";") 'java.lang.StringIndexOutOfBoundsException: String index out of range: -996 With Code: Copy table = su.LoadCSV("mnt/usb", namef, ";") 'java.io.FileNotFoundException: mnt/usb/format.csv (File o directory non esistente) The correct path is "/mnt/usb/" infact with FileExists work. The version of jstringUtils is 1.00 Thanks
Erel B4X founder Staff member Licensed User Longtime User Oct 22, 2017 #2 Can you post the full error message from the logs? What is the output of File.ReadString(<path here>) ? Upvote 0
Can you post the full error message from the logs? What is the output of File.ReadString(<path here>) ?
M micro Well-Known Member Licensed User Longtime User Oct 22, 2017 #3 Erel said: Can you post the full error message from the logs? What is the output of File.ReadString(<path here>) ? Click to expand... [SOLVED] Excuse me but it worked fine was a problem on the separator Upvote 0
Erel said: Can you post the full error message from the logs? What is the output of File.ReadString(<path here>) ? Click to expand... [SOLVED] Excuse me but it worked fine was a problem on the separator
Cableguy Expert Licensed User Longtime User Oct 22, 2017 #4 micro said: [SOLVED] Excuse me but it worked fine was a problem on the separator Click to expand... You should edit the post title and add the prefix [SOLVED] to it Upvote 0
micro said: [SOLVED] Excuse me but it worked fine was a problem on the separator Click to expand... You should edit the post title and add the prefix [SOLVED] to it