bstroebl / DigitizingTools

A QGIS plugin, that subsumes different tools useful during digitizing sessions
GNU General Public License v2.0
22 stars 9 forks source link

qgis 3.2.0 bug when selecting and splitting polygon with lines #37

Closed majesticpdx closed 6 years ago

majesticpdx commented 6 years ago

Hello,

In Qgis 3.2, I'm receiving the following error when selecting polygons.

     WARNING    Traceback (most recent call last):
              File "C:\Users\****\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\tools\dttools.py", line 252, in enable level=QgsMessageBar.WARNING, duration = 10)
 AttributeError: type object 'QgsMessageBar' has no attribute 'WARNING'

Also while attempting to split a polygon with lines, I'm receiving the following error:

     WARNING    Traceback (most recent call last):
              File "C:\Users\****\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\tools\dtsplitter.py", line 90, in process
              selGeom.transform(QgsCoordinateTransform(passiveCRSSrsid, projectCRSSrsid))
             TypeError: QgsCoordinateTransform(): arguments did not match any overloaded call:
              overload 1: too many arguments
              overload 2: argument 1 has unexpected type 'int'
              overload 3: argument 1 has unexpected type 'int'
              overload 4: argument 1 has unexpected type 'int'
              overload 5: argument 1 has unexpected type 'int'
bstroebl commented 6 years ago

Already reported in #36 and fixed, please try the latest release

majesticpdx commented 6 years ago

Perfect, thanks.