Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not reading CSV TXT sources not #48422

Closed
2 tasks done
grandebooz opened this issue May 2, 2022 · 12 comments
Closed
2 tasks done

not reading CSV TXT sources not #48422

grandebooz opened this issue May 2, 2022 · 12 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Delimited text data provider Feedback Waiting on the submitter for answers Regression Something which used to work, but doesn't anymore

Comments

@grandebooz
Copy link

What is the bug or the crash?

After updating project file to version 3.22.6 (ltr) and closing qgis, when reloading it it doesn't load the txt or csv sources.
It doesnt work auto-correct, 'browse' doesnt open and 'repair data source', doesnt see the txt files and reselecting csv sources seems to work but not always. maybe with ';' separator only, otherwise it looses the geometry from crd fields..
Anyway after saving , closing, reopening, we are back to start condition.

Thanx
grandebooz

Steps to reproduce the issue

image

Versions

3.22.6 ltr

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

Never seen in 3.16 version, it started now with 3.22 after saving the project file.
Using win 11 pro and loading data from smb files sources. (net volume assigned)

@grandebooz grandebooz added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 2, 2022
@Pedro-Murteira
Copy link

@grandebooz Can you attach those files for further testing?

@Pedro-Murteira Pedro-Murteira added the Feedback Waiting on the submitter for answers label May 2, 2022
@grandebooz
Copy link
Author

RIDUTTORI.txt
TEST.zip

WELL,
you can extract the zip file, there is a very simple txt source, wich is loaded fina by the test_316.qgs prj file.
Onece this file is saved by 3.22 qgis in the test_322.qgs, then becomes not functional

@Pedro-Murteira Pedro-Murteira added Regression Something which used to work, but doesn't anymore and removed Feedback Waiting on the submitter for answers labels May 2, 2022
@Pedro-Murteira
Copy link

I can confirm aswell, file does not load on 3.22.6 and 3.24.2.

@grandebooz
Copy link
Author

yes.
although test_322 file is correctly loaded under qgis 316 , isn't it ?

@Pedro-Murteira
Copy link

@grandebooz Correct, I've tested on QGIS 3.16.16 and both prj files load just fine.

@grandebooz
Copy link
Author

well, so if you whant to replicate the bug you can load the 316 project with qgis 322 and save as new file.
Then you reload with the qgis 322.
If it works then the trouble is on my pc.
Thanks a lot!
Seeyou.

@Pedro-Murteira
Copy link

@grandebooz I see, it did work, it might be related to your pc.

@grandebooz
Copy link
Author

thank you very much.
I did a osg4w online install and something should have gone wrong.
I will reinstall 3.22 from a standalone package.
Solved! (I guess)

@grandebooz
Copy link
Author

It re-happens!
It happens on qgis 3.22-6 after it worked well for more than a month.
I installed 3.22-7. it worked for a while then it causes the trouble itself.
I found out other users with the same trouble, and after a lot of research i'm almost sure that the problemi is that the saved file miss the 'file:' keyword .
for example:
"file:./sourcedata.txt..."
becomes
"./sourcedata.txt..."

A user that had this trouble posted this:
https://gis.stackexchange.com/questions/427340/inconsistent-error-opening-tab-delimited-text-files/434365#434365

he says the trouble is caused by a change in the delimiter, but i dont think so.
If you notice the 4 examples he reports at the end, you see the missing word 'file:'.
Somehow it seems to be true that it happens only in network paths.
I run windows 11 although this guy is running win10.
ThanX

@alexbruy
Copy link
Contributor

Is this still an issue?

@alexbruy
Copy link
Contributor

Tested on Windows and Linux with the latest master (2d64df2) and can't reproduce

@alexbruy alexbruy added the Feedback Waiting on the submitter for answers label Oct 22, 2023
@grandebooz
Copy link
Author

I think it has been resolved.
Now i'm using the build 3.28-6 and it works fine.
Thanks to everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Delimited text data provider Feedback Waiting on the submitter for answers Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

3 participants