[QGIS-trac] [Quantum GIS] #2540: Join by attributes throws an error if a table contains fields with cyrrilics

Quantum GIS qgis at qgis.org
Wed Mar 10 11:34:02 EST 2010


#2540: Join by attributes throws an error if a table contains fields with
cyrrilics
------------------------------------------------+---------------------------
   Reporter:  gislab                            |              Owner:  borysiasty   
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.5.0
  Component:  Python plugins and bindings       |            Version:  HEAD         
   Keywords:                                    |   Platform_version:               
   Platform:  Windows                           |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 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)
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2540>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list