1

I am trying to install the 'Digitizing Tools' plugin in QGIS version 3.30.0-'s-Hertogenbosch but am getting the below error. I am not a GIS tech and have no idea what this means and google is not giving me many answers. Could someone explain in layman terms and methods for troubleshooting?

enter image description here

1
  • Bug recently reported #60
    – user2856
    Mar 22, 2023 at 0:43

1 Answer 1

6

The problem is QgsRubberBand was changed in recent versions of QGIS. You have to use an old version of Qgis with this plugin (3.16 seems to work), wait for the developer to update the plugin or go into the Python code of the plugin yourself to make a simple change.

First, search for the file "dtmovesidebydistance.py" (the screenshot you showed has the info of where to find it) and put this in the top, where the imports are:

from qgis.core import QgsWkbTypes

Then, change the error line (originally line 42) for this one:

self.rbl = QgsRubberBand(self.canvas, QgsWkbTypes.GeometryType.Line)

This is not guaranteed to solve further problems, since the plugin apparently isn't updated for this version of Qgis.

The simple answer is, then, use another version of Qgis (you should try LTR, which is 3.28).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.