Opened 14 years ago
Closed 14 years ago
#2540 closed bug (worksforme)
Join by attributes throws an error if a table contains fields with cyrrilics
Reported by: | gislab | Owned by: | cfarmer |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.5.0 |
Component: | Python plugins and bindings | Version: | Trunk |
Keywords: | Cc: | dr, alexbruy | |
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
Though I understand this is not smart for the person to create such fields, field names in language other than English are typical and better be handled.
See attachment for testing.
Error:
При выполнении Python-кода возникла ошибка: Traceback (most recent call last): File "c:\OSGeo4w\apps\qgis-dev\python\plugins\fTools\tools\doJoinAttributes.py", line 139, in inFile self.updateTableFields() File "c:\OSGeo4w\apps\qgis-dev\python\plugins\fTools\tools\doJoinAttributes.py", line 151, in updateTableFields self.joinField.addItem(unicode(i)) UnicodeDecodeError: 'ascii' codec can't decode byte 0x8f in position 0: ordinal not in range(128)
Attachments (1)
Change History (5)
by , 14 years ago
comment:1 by , 14 years ago
Owner: | changed from | to
---|
comment:2 by , 14 years ago
comment:3 by , 14 years ago
Platform: | Windows → All |
---|
comment:4 by , 14 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
while working today I spotted this python error when clicking on the "join by attributes" tool.
nevertheless the error wasn't critical as it was possible to close the window and use normally the tool. I had a number of vectors in the project at the time the error appeared.
Clicking the tool in an empty project or with other data in it didn't worked to reproduce the error.