-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Windows: cannot save updates in csv file opened as OGR vector layer #25421
Comments
Author Name: Giovanni Manghi (@gioman) Please update to 2.18.14 (the new LTR release) and try again. Thanks!
|
Author Name: Olga Grabek (Olga Grabek) Unfortunately, the issue still exists in 2.18.14. When I change any attribute in the _ Attribute Table_ and click Save Edits I get this error. The same issue is also when I try to add a new feature to the layer. I can only remove features from layer without errors from OGR. I'm not sure this is helpful but when I opened Log Messages Panel OGR reports: Unbalanced call to leaveUpdateMode() w.r.t. enterUpdateMode()
|
Author Name: Giovanni Manghi (@gioman) Cannot replicate here with the data you provided.
|
Author Name: Olga Grabek (Olga Grabek) Giovanni Manghi wrote:
Thanks for a response. Did you try to reproduce it on a Window's machine ? This is strange that you can't reproduce it, as we are getting the same error on four different machines with Windows OS (2xWindows 10, 1xWindows 7 and 1xWindows Server). Be aware that the error is thrown when you change any attribute in Attribute table and then try to SAVE changes. |
Author Name: Olga Grabek (Olga Grabek)
|
Author Name: Giovanni Manghi (@gioman) Olga Grabek wrote:
this means adding/deleting/editing a column or changing its content? |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Olga Grabek (Olga Grabek) It means changing a content in any column. |
Author Name: Richard Duivenvoorde (@rduivenvoorde) Confirmed here with 2.18.4 AND master on Windows10. As said: on Linux it is not a problem, it just works. Seems an OGR - Windows problem (when opening with as txt delimited file, editing is not possible)
|
Author Name: Giovanni Manghi (@gioman)
correct, it is problem on Windows. If the CSV is added as vector is editable but on save the reported error is thrown. To add insult to injury if the table covers the message bar the user don't see the error and when toggling editing the unsaved values are sticking in the table giving the sensation that edits went well... Confirmed also on master.
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman) Please check if this issue is still valid on QGIS 3.4.5 or 3.6.
|
Duplicate of #35144 |
Author Name: Olga Grabek (Olga Grabek)
Original Redmine Issue: 17524
Affected QGIS version: master
Redmine category:vectors
Steps to reproduce:
The error is thrown: "OGR error syncing to disk: Cannot rename files"
It seems to be problem only on Windows (tested on two devices with Windows 10). On Mac everything seems to be working.
The text was updated successfully, but these errors were encountered: