[QGIS-trac] [Quantum GIS] #2501: Adding projection information (prj-file) throws an error if folder has cyrrilics

Quantum GIS qgis at qgis.org
Sat Mar 6 20:32:51 EST 2010


#2501: Adding projection information (prj-file) throws an error if folder has
cyrrilics
--------------------------------+-------------------------------------------
   Reporter:  gislab            |              Owner:  nobody       
       Type:  bug               |             Status:  new          
   Priority:  minor: annoyance  |          Milestone:  Version 1.5.0
  Component:  Vectors           |            Version:  HEAD         
   Keywords:                    |   Platform_version:               
   Platform:  Windows           |           Must_fix:  No           
Status_info:  0                 |  
--------------------------------+-------------------------------------------
 Subj, you can try to replicate with folder name "Куку"

 Error message:

 {{{
 Traceback (most recent call last):
 File "C:\OSGeo4W\apps\qgis-
 dev\python\plugins\fTools\tools\doDefineProj.py", line 84, in accept
 outputPrj = open(inPath + ".prj", "w")
 IOError: [Errno 2] No such file or directory:
 PyQt4.QtCore.QString(u'D:/Robins/\u0417\u044b\u0440\u044f\u043d\u043a\u0438/vegetationtype.prj')

 Версия Python:
 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]

 Путь поиска Python: ['C:/OSGeo4W/apps/qgis-dev/./python', 'C:/Documents
 and Settings/1/.qgis//python', 'C:/Documents and
 Settings/1/.qgis//python/plugins', 'C:/OSGeo4W/apps/qgis-
 dev/./python/plugins', 'C:\\OSGeo4W\\apps\\gdal-16\\pymod', 'C:\\',
 'C:\\OSGeo4W\\bin\\python25.zip', 'C:\\OSGeo4W\\apps\\Python25\\DLLs',
 'C:\\OSGeo4W\\apps\\Python25\\lib', 'C:\\OSGeo4W\\apps\\Python25\\lib\\
 plat-win', 'C:\\OSGeo4W\\apps\\Python25\\lib\\lib-tk',
 'C:\\OSGeo4W\\apps\\qgis-dev\\bin', 'C:\\OSGeo4W\\apps\\Python25',
 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages',
 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32',
 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32\\lib',
 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\Pythonwin',
 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
 'C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\fTools\\tools']
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2501>
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