grafana-csv-datasource icon indicating copy to clipboard operation
grafana-csv-datasource copied to clipboard

Windows: Error when using backslashes in local file path

Open marcusolsson opened this issue 4 years ago • 1 comments

From: https://github.com/marcusolsson/grafana-csv-datasource/issues/6#issuecomment-755061701

On Windows 10, importing files with backslashes in the path fails, e.g. c:\temp\file.csv, whereas importing files with forward slashes succeeds, e.g. c:/temp/file.csv

Confirmed in v0.3.0: https://github.com/marcusolsson/grafana-csv-datasource/issues/6#issuecomment-758186790

More details:

I added the filepath.ToSlash that looks like what we need, but it seems like the problem persists.

I need to get a development environment set up on a Windows machine to test this, so not sure when I'll be able to look into this.

If you have a Go environment set up on your Windows machine, I'd appreciate help testing this.

marcusolsson avatar Jan 30 '21 09:01 marcusolsson

any news?

nosevie avatar Jun 09 '23 16:06 nosevie