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

It does not work with QGIS: 3.34.10-Prizren Prizren, 113de9e1 #18

Open
BaBoWaGa opened this issue Sep 17, 2024 · 0 comments
Open

It does not work with QGIS: 3.34.10-Prizren Prizren, 113de9e1 #18

BaBoWaGa opened this issue Sep 17, 2024 · 0 comments

Comments

@BaBoWaGa
Copy link

Si è verificato un errore durante l'esecuzione del codice Python:

TypeError: QgsMarkerSymbolLayer.setSizeUnit(): argument 1 has unexpected type 'int'
Traceback (most recent call last):
File "C:\Users/gianl/AppData/Roaming/QGIS/QGIS3\profiles\BaBoWaGa/python/plugins\milstd2525\renderer.py", line 162, in createRendererWidget
return MilStd2525RendererWidget(layer, style, renderer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/gianl/AppData/Roaming/QGIS/QGIS3\profiles\BaBoWaGa/python/plugins\milstd2525\renderer.py", line 128, in init
self.r = MilStd2525Renderer(field=field)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/gianl/AppData/Roaming/QGIS/QGIS3\profiles\BaBoWaGa/python/plugins\milstd2525\renderer.py", line 54, in init
self._defaultSymbol = getDefaultSymbol(int(size))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/gianl/AppData/Roaming/QGIS/QGIS3\profiles\BaBoWaGa/python/plugins\milstd2525\milstd2525symbology.py", line 134, in getDefaultSymbol
symbolLayer.setSizeUnit(3)
TypeError: QgsMarkerSymbolLayer.setSizeUnit(): argument 1 has unexpected type 'int'

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

Percorso Python:
C:\Users/gianl/AppData/Roaming/QGIS/QGIS3\profiles\BaBoWaGa/python/plugins\lftools
C:\Users/gianl/AppData/Roaming/QGIS/QGIS3\profiles\BaBoWaGa/python/plugins\aino-qgis-plugin-main
C:/PROGRA1/QGIS331.10/apps/qgis-ltr/./python
C:/Users/gianl/AppData/Roaming/QGIS/QGIS3\profiles\BaBoWaGa/python
C:/Users/gianl/AppData/Roaming/QGIS/QGIS3\profiles\BaBoWaGa/python/plugins
C:/PROGRA1/QGIS331.10/apps/qgis-ltr/./python/plugins
C:\PROGRA1\QGIS331.10\apps\grass\grass84\etc\python
C:\Users\gianl\Documents
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:\Program Files\QGIS 3.34.10\bin
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
C:/Users/gianl/AppData/Roaming/QGIS/QGIS3\profiles\BaBoWaGa/python
C:\Users\gianl\AppData\Roaming\QGIS\QGIS3\profiles\BaBoWaGa\python\plugins\HCMGIS/forms
C:\Users\gianl\AppData\Roaming\QGIS\QGIS3\profiles\BaBoWaGa\python\plugins\milstd2525\extlibs
.
C:/Users/gianl/Documents/OSINT World/osintworld.net/server/qgiscloud

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

1 participant