[Qgis-developer] CAD Tools: error in rotation tool

Paolo Cavallini cavallini at faunalia.it
Fri Mar 16 06:24:53 EDT 2012

Hi all.

When clicking twice on "OK", I get:

Errore durante l'esecuzione di codice Python:

Traceback (most recent call last):
line 75, in rotateObject
     geom = cadutils.rotate(self.feat.geometry(), self.p1,  angle * 
math.pi / 180)
   File "/home/paolo/.qgis/python/plugins/cadtools/tools/cadutils.py", 
line 136, in rotate
     p1 = QgsPoint(k.x() - point.x(),  k.y() - point.y())
AttributeError: 'NoneType' object has no attribute 'x'

I think the error should be intercepted.
All the best.

Paolo Cavallini
See: http://www.faunalia.it/pc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120316/114b746c/attachment-0001.html

More information about the Qgis-developer mailing list