[QGIS-trac] [Quantum GIS] #2522: Random points tool throws an error
if folder has cyrrilics
Quantum GIS
qgis at qgis.org
Sun Mar 7 13:07:47 EST 2010
#2522: Random points tool throws an error if folder has cyrrilics
---------------------------------------------------------+------------------
Reporter: dr | Owner: borysiasty
Type: bug | Status: new
Priority: critical: causes crash or data corruption | Milestone: Version 1.5.0
Component: Python plugins and bindings | Version: HEAD
Keywords: | Platform_version:
Platform: All | Must_fix: Yes
Status_info: 0 |
---------------------------------------------------------+------------------
Subj, you can try to replicate with folder name "Шейп"
Error message:
{{{
An error has occured while executing Python code:
Traceback (most recent call last):
File "C:\OSGeo4W\apps\qgis-
dev\python\plugins\fTools\tools\doRandPoints.py", line 123, in accept
self.randomize(inLayer, outPath, minimum, design, value,
self.progressBar)
File "C:\OSGeo4W\apps\qgis-
dev\python\plugins\fTools\tools\doRandPoints.py", line 209, in randomize
else: bound = self.createSinglePolygon(inLayer, progressBar)
File "C:\OSGeo4W\apps\qgis-
dev\python\plugins\fTools\tools\doRandPoints.py", line 142, in
createSinglePolygon
allAttrs = provider.attributeIndexes()
AttributeError: 'NoneType' object has no attribute 'attributeIndexes'
Python version:
2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
}}}
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2522>
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