Bug 1731 - CSV import: hangup if non-numeric data are present in the file
Summary: CSV import: hangup if non-numeric data are present in the file
Status: CONFIRMED
Alias: None
Product: PulseView
Classification: Unclassified
Component: File handling (show other bugs)
Version: 0.5.0
Hardware: x86 Windows
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-02 10:11 CEST by Eugene Muzychenko
Modified: 2021-09-02 10:11 CEST (History)
0 users



Attachments
CSV file example, non-numeric data in the second line (173 bytes, text/plain)
2021-09-02 10:11 CEST, Eugene Muzychenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Muzychenko 2021-09-02 10:11:04 CEST
Created attachment 747 [details]
CSV file example, non-numeric data in the second line

Summary:

If I try to import a CSV file containing non-numeric data (for example, exported from Rigol DS-1102E oscilloscope), PulseView hangs.



Steps to reproduce:

Add a non-numeric line to the CSV file anywhere after the header (I tried only analog formats, like the attached example).



Actual results:

PulseView hangs indefinitely (see the screenshot).



Expected results:

An error message is expected, with at least a line number.



Versions affected:

0.4.2 release, 0.5.0-git-3ce5dd9 nighty build.