[Qgis-developer] table manager plugin problems

Giovanni Manghi giovanni.manghi at gmail.com
Mon Jul 12 10:13:00 EDT 2010


Hi,

I'm experiencing a couple of problems with the table manager plugin
while working on a point vector that has non ascii chars in the name of
the columns of the table of attibutes.

*) if I try to delete one column the plugin throws this

Traceback (most recent call last):
  File
"/home/gio/.qgis/python/plugins/tablemanager/tableManager_gui.py", line
373, in doDelete
    all_fields_to_del = [str(self.fields[i].name()) for i in
self.selection_list if i -1]
UnicodeEncodeError: 'ascii' codec can't encode character u'\xea' in
position 5: ordinal not in range(128)


*) if I rename one or more columns, then when I hit the "save" button
the plugin throws this message

"Error creating file. Check permissions."

followed by

"Failed saving the changes to the temporary directory: /tmp !
The layer won't be changed, please use the Save As button."

if I hit the "save as" button it returns the same messages but I even
experienced a crash:

"terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted"


if necessary I can provide sample data


cheers

-- Giovanni --







More information about the Qgis-developer mailing list