View Issue Details

IDProjectCategoryView StatusLast Update
0027262RunnerFunctionsPublic2019-01-04 16:45
ReporterStewart BishopAssigned ToCoreTech 
PriorityLowSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Product Version2.1.4 
Target Version2.2.1Fixed in Version2.2.1 
Summary0027262: Functions: load_csv() not reading the last line in a CSV
DescriptionWithin the attached project if you attempt to load in a csv it will not read in the last line correctly even if you place in a blank line at the end.

load_csv() should not require a blank line at the end of the sheet, as some exporters (such as Google Sheets) do not add any trailing rows, as the csv standard says that either should be treated as valid.

https://tools.ietf.org/html/rfc4180

(Note that if we're not able to fix this, our manual page makes no mention of this requirement either, so that should be updated.)
Steps To Reproduce1) Open attached project
2) See that this crashes
3) Open the csv in Excel and save it to add in a blank line at the end
4) Run the project again
5) See that this now works
Tagsfunctions, Runner
1.4 Found In
2.x Runtime Found In2.1.4.212
2.x Runtime Verified In9.9.1.1075

Relationships

has duplicate 0027558 ClosedClaire Hall Functions: load_csv() should not require a blank line at the end of the sheet, some exporters do not add as standards 
has duplicate 0029706 ClosedPeter Hall load_csv can cause games to crash 

Activities

Stewart Bishop

2018-04-20 12:10

Developer  

CSV_doesnt_work.yyz (13,073 bytes)