Open mjmolivo opened 9 months ago
Hi, No idea, this is the first time I see this error. Could you post full log message with debug mode ?
Regards
Hello, Sure, I join the log to the conversation :
[2024-02-22 08:59:53] [info] Debug mode activated [2024-02-22 08:59:55] [debug] [loadNTab] 1 [2024-02-22 08:59:55] [debug] Help file = /home/maxime_olivo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/FragScape/help/landuseHelp-en.html [2024-02-22 08:59:55] [debug] path = /home/maxime_olivo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/FragScape/help/landuseHelp-en.html [2024-02-22 08:59:55] [debug] pathparts = ('/', 'home', 'maxime_olivo', '.local', 'share', 'QGIS', 'QGIS3', 'profiles', 'default', 'python', 'plugins', 'FragScape', 'help', 'landuseHelp-en.html') [2024-02-22 08:59:56] [debug] bioDispHook [2024-02-22 08:59:56] [debug] -------------------------------------------------------------------------------- TypeError : arguments did not match any overloaded call: QPoint(): too many arguments QPoint(int, int): argument 1 has unexpected type 'float' QPoint(QPoint): argument 1 has unexpected type 'float' -------------------------------------------------------------------------------- [2024-02-22 08:59:56] [warn] Traceback : File "/home/maxime_olivo/.local/share/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 "/home/maxime_olivo/.local/share/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() + [2024-02-22 08:59:56] [Unexpected error] -------------------------------------------------------------------------------- TypeError : arguments did not match any overloaded call: QPoint(): too many arguments QPoint(int, int): argument 1 has unexpected type 'float' QPoint(QPoint): argument 1 has unexpected type 'float' -------------------------------------------------------------------------------- [2024-02-22 08:59:56] [debug] [loadNTab] 4 [2024-02-22 08:59:56] [debug] Help file = /home/maxime_olivo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/FragScape/help/logHelp-en.html [2024-02-22 08:59:56] [debug] path = /home/maxime_olivo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/FragScape/help/logHelp-en.html [2024-02-22 08:59:56] [debug] pathparts = ('/', 'home', 'maxime_olivo', '.local', 'share', 'QGIS', 'QGIS3', 'profiles', 'default', 'python', 'plugins', 'FragScape', 'help', 'logHelp-en.html') [2024-02-22 08:59:56] [debug] bioDispHook [2024-02-22 08:59:56] [debug] -------------------------------------------------------------------------------- TypeError : arguments did not match any overloaded call: QPoint(): too many arguments QPoint(int, int): argument 1 has unexpected type 'float' QPoint(QPoint): argument 1 has unexpected type 'float' -------------------------------------------------------------------------------- [2024-02-22 08:59:56] [warn] Traceback : File "/home/maxime_olivo/.local/share/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 "/home/maxime_olivo/.local/share/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() + [2024-02-22 08:59:56] [Unexpected error] -------------------------------------------------------------------------------- TypeError : arguments did not match any overloaded call: QPoint(): too many arguments QPoint(int, int): argument 1 has unexpected type 'float' QPoint(QPoint): argument 1 has unexpected type 'float' --------------------------------------------------------------------------------
Hi, I launched my project on a Windows 10 OS and the error is no more, the field values loading is working great here. Maybe there's a problem with the Linux environment. Have a nice day
Hello, When I launch the land cover step, the error message appears :
TypeError : arguments did not match any overloaded call: QPoint(): too many arguments QPoint(int, int): argument 1 has unexpected type 'float' QPoint(QPoint): argument 1 has unexpected type 'float'
I checked my table and my field format is in integer4. I'm using QGIS 3.18.15 under Ubuntu 22.04.3 LTS.
The curious thing is when I do the same operation on my other smaller laptop (Windows 10), everything's fine.
Do you know where does this come from ? Thanks