Skip to content

Error while loading field values in 2025 #18

@lfssekyondwa

Description

@lfssekyondwa

**Hello,

Firstly, thank you for the FragScape plug. It is indeed a savior.

When I input my landcover raster in the land cover step, the error message appears :**

"[2025-06-13 15:40:19] [warn] Traceback : File "C:\Users/Frank Ssekyondwa/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\FragScape\qgis_lib_mc\abstract_model.py", line 918, in paint check_box_style_option.rect = self.getCheckBoxRect(option) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/Frank Ssekyondwa/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\FragScape\qgis_lib_mc\abstract_model.py", line 971, in getCheckBoxRect check_box_point = QtCore.QPoint (option.rect.x() + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-06-13 15:40:19] [Unexpected error] -------------------------------------------------------------------------------- TypeError : arguments did not match any overloaded call: QPoint(): too many arguments QPoint(xpos: int, ypos: int): argument 1 has unexpected type 'float' QPoint(a0: QPoint): argument 1 has unexpected type 'float' --------------------------------------------------------------------------------
[2025-06-13 15:40:19] [warn] Traceback : File "C:\Users/Frank Ssekyondwa/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\FragScape\qgis_lib_mc\abstract_model.py", line 918, in paint check_box_style_option.rect = self.getCheckBoxRect(option) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/Frank Ssekyondwa/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\FragScape\qgis_lib_mc\abstract_model.py", line 971, in getCheckBoxRect check_box_point = QtCore.QPoint (option.rect.x() + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-06-13 15:40:19] [Unexpected error] -------------------------------------------------------------------------------- TypeError : arguments did not match any overloaded call: QPoint(): too many arguments QPoint(xpos: int, ypos: int): argument 1 has unexpected type 'float' QPoint(a0: QPoint): argument 1 has unexpected type 'float' --------------------------------------------------------------------------------
[2025-06-13 15:40:19] [warn] Traceback : File "C:\Users/Frank Ssekyondwa/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\FragScape\qgis_lib_mc\abstract_model.py", line 918, in paint check_box_style_option.rect = self.getCheckBoxRect(option) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/Frank Ssekyondwa/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\FragScape\qgis_lib_mc\abstract_model.py", line 971, in getCheckBoxRect check_box_point = QtCore.QPoint (option.rect.x() + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-06-13 15:40:19] [Unexpected error] -------------------------------------------------------------------------------- TypeError : arguments did not match any overloaded call: QPoint(): too many arguments QPoint(xpos: int, ypos: int): argument 1 has unexpected type 'float' QPoint(a0: QPoint): argument 1 has unexpected type 'float' --------------------------------------------------------------------------------

What could be the issue, and how do I go around it? I am using v3.42.3 of QGIS and v2.06 of FragScape.

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions