-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Wrong default extension picked for table outputs #24045
Comments
Author Name: Victor Olaya (@volaya) Two questions: Does the mentioned layer file exist and can be opened manually from QGIS? Does this happen with other algorithms that generate tables? It might be an error fo the algorithm itself, or a more generic thing affecting table outputs |
Author Name: matteo ghetta (@ghtmtt)
yes, they exist. In fact, I tried the algorithm with some custom test data of processing (points, polys) and other standard shapefiles with I can normally work (other algorithms works fine)
I guess you are right. The algorithm Statistics by categories gives the same error. BTW: I tried the same algorithms in 2.18 (same input layer) and they work just fine Can I help in other ways? Thanks! |
Author Name: Alexander Bruy (@alexbruy) Well, all algorithms that produce table output work like a charm. They fail only if output saved to the temporary file. And fail because temporary file uses wrong extension by default: ".dbf" instead of ".csv".
|
Author Name: matteo ghetta (@ghtmtt) Ok, I see that the algorithm works fine if the file is saved somewhere else. But, how to deal with temporary tables? Should we not consider this a bug? Thanks |
Author Name: Giovanni Manghi (@gioman) In master "statistics by category" does not work regardless if the output is temporary or if the user chooses a location on disk. The tool works fine on 2.18.4. Maybe other tools are affected on master(?). 2017-03-07T11:25:25 2 Error loading result layer: 2017-03-07T11:25:45 2 Error loading result layer:
|
Author Name: Arnaud Morvan (@arnaud-morvan) This seems to have been introduced by #dfb4cdd34b93d0d05ce94a842a4cf871c5a900fd I also note this the TableWriter add a .csv extension if it is not there. So the file is really created with .dbf.csv extension and the ouput value is not updated. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Nyall Dawson (@nyalldawson) Should no longer be an issue on master - we now use proper layers instead of the old table outputs, so format/extension is any valid vector format.
|
Author Name: matteo ghetta (@ghtmtt) Confirmed. I think we can close this issue. Thanks |
Author Name: Nyall Dawson (@nyalldawson)
|
Author Name: matteo ghetta (@ghtmtt)
Original Redmine Issue: 16133
Affected QGIS version: master
Redmine category:processing/qgis
Assignee: Victor Olaya
By default Processing assigns ".dbf" extension to table outputs, while actually it creates ".csv" files. This causes problem with loading output after algorithm execution. If output saved to the file with correct extension there are no error.
The text was updated successfully, but these errors were encountered: