Erros Python aplicação DZETSAKA

9 views
Skip to first unread message

Igor Monteiro

unread,
Jun 28, 2024, 5:55:16 PM (8 days ago) Jun 28
to qgisbrasil
Olá!  Tenho enfrentado repentinos erros durante a execução de complementos do QGis. 
O mais recente é quanto tento treinar classificação supervisionada do aplicativo Dzetsaka, que apresenta o  erro listado abaixo. Alguem poderia elucidar espe problema pra mim?  As vesões do Qgis e complementos listo abaixo do erro  :

Um erro ocorreu enquanto executava o código Python:

TypeError: setMaximum(self, maximum: int): argument 1 has unexpected type 'float' Traceback (most recent call last):
  File "C:\Users/IRTM/AppData/Roaming/QGIS/QGIS3\profiles\IRTM/python/plugins\dzetsaka\dzetsaka.py", line 750, in runMagic
    temp.initPredict(
  File "C:\Users/IRTM/AppData/Roaming/QGIS/QGIS3\profiles\IRTM/python/plugins\dzetsaka\scripts\mainfunction.py", line 701, in initPredict
    predictedImage = self.predict_image(
                    ^^^^^^^^^^^^^^^^^^^
  File "C:\Users/IRTM/AppData/Roaming/QGIS/QGIS3\profiles\IRTM/python/plugins\dzetsaka\scripts\mainfunction.py", line 850, in predict_image
    progress = pB.progressBar('Predicting model...', total / 10)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users/IRTM/AppData/Roaming/QGIS/QGIS3\profiles\IRTM/python/plugins\dzetsaka\scripts\progressBar.py", line 38, in __init__
    prgBar.setMaximum(inMaxStep)
TypeError: setMaximum(self, maximum: int): argument 1 has unexpected type 'float'


Versão do Python: 3.12.4 (main, Jun 10 2024, 12:48:35) [MSC v.1938 64 bit (AMD64)]
Versão do QGIS: 3.34.8-Prizren Prizren, 91642333

Caminho do Python:
  • C:\Users/IRTM/AppData/Roaming/QGIS/QGIS3\profiles\IRTM/python/plugins\OpenTopography-DEM-Downloader
  • C:/PROGRA~1/QGIS33~1.8/apps/qgis-ltr/./python
  • C:/Users/IRTM/AppData/Roaming/QGIS/QGIS3\profiles\IRTM/python
  • C:/Users/IRTM/AppData/Roaming/QGIS/QGIS3\profiles\IRTM/python/plugins
  • C:/PROGRA~1/QGIS33~1.8/apps/qgis-ltr/./python/plugins
  • C:\PROGRA~1\QGIS33~1.8\apps\grass\grass83\etc\python
  • C:\Users\IRTM\Documents
  • C:\Program Files\QGIS 3.34.8\bin\python312.zip
  • C:\PROGRA~1\QGIS33~1.8\apps\Python312\DLLs
  • C:\PROGRA~1\QGIS33~1.8\apps\Python312\Lib
  • C:\Program Files\QGIS 3.34.8\bin
  • C:\PROGRA~1\QGIS33~1.8\apps\Python312
  • C:\PROGRA~1\QGIS33~1.8\apps\Python312\Lib\site-packages
  • C:\PROGRA~1\QGIS33~1.8\apps\Python312\Lib\site-packages\win32
  • C:\PROGRA~1\QGIS33~1.8\apps\Python312\Lib\site-packages\win32\lib
  • C:\PROGRA~1\QGIS33~1.8\apps\Python312\Lib\site-packages\Pythonwin
  • C:/Users/IRTM/AppData/Roaming/QGIS/QGIS3\profiles\IRTM/python
  • D:/CursoGEOPRO/projetos

Versões: 
Versão do QGIS
3.34.8-Prizren
Código da versão do QGIS
91642333
Versão Qt
5.15.13
Versão do Python
3.12.4
Versão GDAL/OGR
3.9.0
Versão PROJ
9.4.0
Versão da base de dados do registro EPSG
v11.004 (2024-02-24)
Versão GEOS
3.12.2-CAPI-1.18.2
Versão SQLite
3.45.1
Versão PDAL
2.6.3
Versão cliente PostgreSQL
16.2
Versão SpatiaLite
5.1.0
Versão QWT
6.2.0
Versão QScintilla2
2.14.1
Versão OS
Windows 11 Version 2009




Plugins Python ativos
ana_data_acquisition
1.0
AzimuthDistanceCalculator
2.0.2
BufferByPercentage
0.3.3
dzetsaka
3.70
latlontools
3.6.20
mapbiomas-api
0.3.1
mapbiomascollection
1.4
OpenTopography-DEM-Downloader
2.0
PLUGIN
1.2.2
processing_saga_nextgen
1.0.0
profiletool
4.2.6
qgis-maptiler-plugin
3.3
Qgis2threejs
2.7.3
qgsAzimuth
0.9.19
quick_map_services
0.19.34
SemiAutomaticClassificationPlugin
8.2.2
slyr_community
5.0.0
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.6
otbprovider
2.12.99
processing
2.12.99


Reply all
Reply to author
Forward
0 new messages