lmotta / mapswipetool_plugin

GNU General Public License v2.0
19 stars 10 forks source link

QGIS crashes immediately upon activating tool #14

Open JmeCS opened 2 years ago

JmeCS commented 2 years ago

QGIS Version 3.20

Installed plugin. Any time I click on the toolbar button to activate, QGIS immediately crashes.

lmotta commented 2 years ago

Thanks to report. My plugins are updated for each LTR version. At the moment, the LTR version is 3.16.x.

jfbourdon commented 2 years ago

I'm with 3.20.0 and it doesn't crash so must have to do with more than just the QGIS version.

lmotta commented 2 years ago

It's strange, i never had crash, but, i ever using the LTS version. Next month, i will starting migrate mine plugins for new LTS, then, can check the unstability this plugin.

tiagotjferr commented 1 year ago

Boa tarde, utilizo o plugin para fazer análise de remoção de vegetação. Depois da ultima atualização do qgis não estou mais conseguindo utilizar o plugin está gerando o seguinte erro: TypeError: arguments did not match any overloaded call: QLine(): too many arguments QLine(QPoint, QPoint): argument 1 has unexpected type 'int' QLine(int, int, int, int): argument 4 has unexpected type 'float' QLine(QLine): argument 1 has unexpected type 'int' Traceback (most recent call last): File "/home/tiago/.local/share/QGIS/QGIS3/profiles/default/python/plugins/mapswipetool_plugin/swipemap.py", line 62, in paint line = QLine( w-1,0,w-1,h-1 ) TypeError: arguments did not match any overloaded call: QLine(): too many arguments QLine(QPoint, QPoint): argument 1 has unexpected type 'int' QLine(int, int, int, int): argument 4 has unexpected type 'float' QLine(QLine): argument 1 has unexpected type 'int'

Versão do Python: 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0] Versão do QGIS: 3.22.9-Białowieża Białowieża, a8e9e6fae5

zsiki commented 1 year ago

Pull request #17 solves the QLine argument error.