Dear all,

Using Qgis 2.18.9 on Windows (OSGeo4W64) I'm trying to import a .csv file and adding a text field. This is what I do:
1. add the .csv using add vector layer
2. open attribute table then use the field calculator
3. add text field, OK
4. toggle editing, save edits when asked.
I then get the following error messages:

Could not commit changes to layer test_fieldcalculator1


Errors: ERROR: 1 new attribute(s) not added

SUCCESS: 1 attribute value(s) changed.

Provider errors:

OGR error creating field txt:

Feature 1 for attribute update not found.

OGR error syncing to disk:


The capabilities of this layer show:

Add Features, Delete Features, Change Attribute Values, Add Attributes, Delete Attributes, Rename Attributes, Change Geometries, Curved Geometries

which makes me think it should be possible to add attributes to this layer. Is this a bug or am I missing something? If a bug, is it in OGR or QGIS?


Thanks for any insight,

Janneke


_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to