Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fehler ab Version Python-Version: 3.12.5 | QGIS-Version: 3.34.10-Prizren #20

Open
Roesslix opened this issue Sep 17, 2024 · 2 comments
Open

Comments

@Roesslix
Copy link

Konnte Erweiterung 'qdraw' nicht laden aufgrund eines Fehlers beim Aufruf der classFactory() Methode

TypeError: arguments did not match any overloaded call: move(self, a0: QPoint): argument 1 has unexpected type 'float' move(self, ax: int, ay: int): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "C:\PROGRA1/QGIS331.10/apps/qgis-ltr/./python\qgis\utils.py", line 423, in startPlugin
plugins[packageName] = package.classFactory(iface)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AKS4\AKS-QGIS-Konfig\qgis3\profiles\default/python/plugins\qdraw_init
.py", line 22, in classFactory
return Qdraw(iface)
^^^^^^^^^^^^
File "D:\AKS4\AKS-QGIS-Konfig\qgis3\profiles\default/python/plugins\qdraw\qdraw.py", line 78, in init
self.settings = QdrawSettings()
^^^^^^^^^^^^^^^
File "D:\AKS4\AKS-QGIS-Konfig\qgis3\profiles\default/python/plugins\qdraw\qdrawsettings.py", line 36, in init
self.center()
File "D:\AKS4\AKS-QGIS-Konfig\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, a0: QPoint): argument 1 has unexpected type 'float'
move(self, ax: int, ay: int): argument 1 has unexpected type 'float'

Python-Version: 3.12.5 (main, Aug 8 2024, 11:21:54) [MSC v.1938 64 bit (AMD64)]
QGIS-Version: 3.34.10-Prizren Prizren, 113de9e1

Python-Pfad:
C:/PROGRA1/QGIS331.10/apps/qgis-ltr/./python
D:\AKS4\AKS-QGIS-Konfig\qgis3\profiles\default/python
D:\AKS4\AKS-QGIS-Konfig\qgis3\profiles\default/python/plugins
C:/PROGRA1/QGIS331.10/apps/qgis-ltr/./python/plugins
C:\PROGRA1\QGIS331.10\apps\grass\grass84\etc\python
C:\Program Files\QGIS 3.34.10\bin
C:\Program Files\QGIS 3.34.10\bin\python312.zip
C:\PROGRA1\QGIS331.10\apps\Python312\DLLs
C:\PROGRA1\QGIS331.10\apps\Python312\Lib
C:\PROGRA1\QGIS331.10\apps\Python312
C:\PROGRA1\QGIS331.10\apps\Python312\Lib\site-packages
C:\PROGRA1\QGIS331.10\apps\Python312\Lib\site-packages\win32
C:\PROGRA1\QGIS331.10\apps\Python312\Lib\site-packages\win32\lib
C:\PROGRA1\QGIS331.10\apps\Python312\Lib\site-packages\Pythonwin
D:\AKS4\AKS-QGIS-Konfig\qgis3\profiles\default/python
D:/AKS4/GIS_Projekte/brwzonen/rwz_014ub210040
C:\Program Files\QGIS 3.34.10\bin

@tilmanb
Copy link

tilmanb commented Nov 24, 2024

Is this a regression from #8 ?

Probably the problem is the version in the QGIS plugin repo https://plugins.qgis.org/plugins/qdraw/#plugin-versions is 3.0.2 , date: 2021-08-20 which does not contain #12 (date: 2022-10-22) so the install from the QGIS plugins menu fails.

@tilmanb
Copy link

tilmanb commented Nov 27, 2024

There are more fixes in this commit in a fork from @LreeLenn master...LreeLenn:qdraw:master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants