blazek/spline

impossible to validate geometry

Closed this issue · 1 comments

Hi,
After few tests between versions 2.2 and 2.4 (with the same parameters), your plugin doesn't work on the last version of qgis (it's impossible to validate the geometry)

Do you have the same problem ?

Thanks,

PS : after having re-install the plugin : this traceback appears :
Une erreur est apparue lors de l'exécution du code Python :
Traceback (most recent call last):
File "C:/Users/.../.qgis2/python/plugins\spline\spline.py", line 154, in canvasMoveEvent
startingPoint = QPoint(x,y)
TypeError: 'NoneType' object is not callable

Version de Python :
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]

Version de QGIS :
2.4.0-Chugiak Chugiak, 8fdd08a

I cannot confirm, it works for me.

It seems that QPoint is defined as NoneType, otherwise, if it was not defined at all (e.g. not imported) it would say NameError: name 'QPoint' is not defined.

Can you try from Python console in QGIS:
from PyQt4.QtCore import QPoint
QPoint(0,0)