[Qgis-user] Error running fTools_preview2/Random points

Agustin Lobo aloboaleu at gmail.com
Tue Nov 18 01:41:42 PST 2008


Barry,

After entering the output file name and clicking OK
in the fTools_preview2/Random points panel I get the following error
(binary ubuntu preview2 version):

An error has occured while executing Python code:

Traceback (most recent call last):
   File 
"/home/alobo/.qgis/python/plugins/fTools_preview2/tools/doRandPoints.py", 
line 123, in accept
     self.randomize(inLayer, outPath, minimum, design, value, 
self.progressBar)
   File 
"/home/alobo/.qgis/python/plugins/fTools_preview2/tools/doRandPoints.py", 
line 269, in randomize
     points = self.simpleRandom(int(value), bound, ext.xMin(), 
ext.xMax(), ext.yMin(), ext.yMax())
AttributeError: xMin

Also, most of the options except "Use this number of points"
are greyed and cannot be filed.

Thanks!

Agus
-- 
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster



More information about the Qgis-user mailing list