CSV Data Loop with text from variable

Discuss RoboTask here
Post Reply
sarnusch
Posts: 35
Joined: Thu Apr 28, 2022 9:05 am

CSV Data Loop with text from variable

Post by sarnusch »

Hello,
I am just testing the new CSV features of version 9.6 and I noticed the following error.
After opening a CSV file ('CSV Open Data') and saving it to a variable ('CSV Save Data') I can not use a 'CSV Data Loop'.
The following error occurs:

Screenshot 2023-07-10 151925.png
Screenshot 2023-07-10 151925.png (14.4 KiB) Viewed 2784 times

After disabeling 'Skip empty lines' the loop works:
Screenshot 2023-07-10 152046.png
Screenshot 2023-07-10 152046.png (25.11 KiB) Viewed 2784 times

This is odd because the lines are not empty.

Content of example file (csv_test.csv):
1;2;3;4;5
6;7;8;9;10
11;12;13;14;15
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: CSV Data Loop with text from variable

Post by Oleg »

Send your task example to me, please
Aslo exact CSV file. It seem it has empty lines at the end.

But you are correct. There is some bug. We'll fix it ASAP
Oleg Yershov
sarnusch
Posts: 35
Joined: Thu Apr 28, 2022 9:05 am

Re: CSV Data Loop with text from variable

Post by sarnusch »

Hello,
you can find the task and the file in the attachement of this post.
Attachments
OpenCSVLoop.zip
(1016 Bytes) Downloaded 205 times
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: CSV Data Loop with text from variable

Post by Oleg »

Thank you very much for your simple example
This helped to detect and remove several bugs in the plugin.
The plugin already fixed. Download and test your examples.
>> Download fresh copy (ver 9.6.3) <<
Oleg Yershov
sarnusch
Posts: 35
Joined: Thu Apr 28, 2022 9:05 am

Re: CSV Data Loop with text from variable

Post by sarnusch »

Hi,
i installed new version and tested it and the problem is solved.
Thanks!
Post Reply