jeremyk6/qdraw

TypeError: arguments did not match any overloaded call: move(self, QPoint): argument 1 has unexpected type 'float' move(self, int, int): argument 1 has unexpected type 'float'

Closed this issue · 0 comments

I got this error after download:

TypeError: arguments did not match any overloaded call: move(self, QPoint): argument 1 has unexpected type 'float' move(self, int, int): argument 1 has unexpected type 'float'

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qgis/utils.py", line 423, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "/home/gabriel/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qdraw/init.py", line 22, in classFactory
return Qdraw(iface)
File "/home/gabriel/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qdraw/qdraw.py", line 78, in init
self.settings = QdrawSettings()
File "/home/gabriel/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qdraw/qdrawsettings.py", line 36, in init
self.center()
File "/home/gabriel/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qdraw/qdrawsettings.py", line 81, in center
self.move((screen.width() - size.width()) / 2,
TypeError: arguments did not match any overloaded call:
move(self, QPoint): argument 1 has unexpected type 'float'
move(self, int, int): argument 1 has unexpected type 'float'

System info:

- Qgis: 3.24.3-Tisler
- Python: 3.10.4
- OS: Ubuntu 22.04

Anything i can do now to solve this?, I planning to solve this and start a PR asap.

Thanks.