Bug 496805 - LabPlot cannot open CSV file under Windows
Summary: LabPlot cannot open CSV file under Windows
Status: RESOLVED FIXED
Alias: None
Product: LabPlot2
Classification: Applications
Component: general (show other bugs)
Version: 2.11.1
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Stefan Gerlach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-29 00:14 UTC by uwestoehr
Modified: 2024-12-16 02:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (22.89 KB, image/png)
2024-11-29 00:14 UTC, uwestoehr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description uwestoehr 2024-11-29 00:14:11 UTC
Created attachment 176200 [details]
screenshot

- take the attached CSV file.
- in Windows' explorer, right-click on the CSV and select then to open the CSV with labPlot

result: the CSV cannot be import. I get the attached dialog and there I see that the file path was somehow destroyed.

The CSV file I want to open is under
D:\usti\Julia
and LabPlot mangled the backslashes.
Comment 1 Stefan Gerlach 2024-12-14 21:59:00 UTC
Git commit b8b4b1e821d2fed6a8c2d5cc8a8c629865e733df by Stefan Gerlach.
Committed on 14/12/2024 at 21:39.
Pushed by sgerlach into branch 'master'.

fix converting Windows path from command line

M  +12   -4    src/frontend/datasources/ImportFileWidget.cpp

https://invent.kde.org/education/labplot/-/commit/b8b4b1e821d2fed6a8c2d5cc8a8c629865e733df
Comment 2 uwestoehr 2024-12-16 02:39:14 UTC
Man thanks, confirmed fixed