Skip to content

error on macOS / M2 silicon #10

@geomoes

Description

@geomoes

The plugin still opens and lists the underlying features. they are highlighted on hover, but when I try to select one layer the plugin throws the following error in QGIS 3.38.3-Grenoble.

WARNING    Traceback (most recent call last):
              File "/Users/gm/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/plaingeometryeditor/plaingeometryeditor.py", line 72, in editGeometry
              dlg = GeomEditorDialog(layer, feature, self.mapCanvas, self.iface.mainWindow())
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/Users/gm/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/plaingeometryeditor/gui/geomeditordialog.py", line 80, in __init__
              self.updateFeatureRubber()
              File "/Users/gm/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/plaingeometryeditor/gui/geomeditordialog.py", line 172, in updateFeatureRubber
              self.featureRubber.setWidth(self.settings.value("featureRubberSize"))
             TypeError: QgsRubberBand.setWidth(): argument 1 has unexpected type 'float' 

QGIS 3.38.3-Grenoble was installed trough MacPorts on M2 Apple Silicon.

Here the different software-packages on my system:

Qt-Version | 5.15.15
Python-Version | 3.12.6
GDAL-Version | 3.9.2
PROJ-Version | 9.4.1
EPSG-Registraturdatenbankversion | v11.006 (2024-03-13)
GEOS-Version | 3.12.2-CAPI-1.18.2
SQLite-Version | 3.46.1
PDAL-Version | 2.8.0
PostgreSQL-Client-Version | unknown
SpatiaLite-Version | 5.1.0
QWT-Version | 6.1.6
QScintilla2-Version | 2.13.3
BS-Version | macOS 13.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions