Hello everyone, 

my name is Jose and I have just suscribed to this mailing list.
Apologies if my English is not very accurate, as I don't practice it
very often here in Spain :-) 

My organization is having problems when using QGIS 3.14.15 with the
"SIGPAC downloader" plugin. And I haven't found any bug tracker for that
specific plugin so according to the QGIS Plugin page I should report the
problem on this list. Upgrading to QGIS 3.22 doesn't solve the problem. 

The first issue comes when the plugin is installed. An error says "The
plugin 'sigpac_downloader' could not be loaded because an error ocurred
when calling the classFactory method" (translated from my spanish
version of QGIS) 

The full error trace is provided in the attached document
"SIGPACDownloader_install.txt" 

However there is apparently one workaround to that issue, you just have
to select "reinstall" plugin and it finishes ok. After re-entering QGIS,
the plugin is loaded and the menu entry appears in the "plugins" menu
entry. 

But the real problem comes when trying to use the plugin: The SIGPAC
Downloader window opens and says you have to accept the Terms Of Use.
When clicking on the proper button, a new window opens with blank
content (nothing is loaded) and after a few seconds the QGIS "Unexpected
Error" window appears suggesting to report the crash and quit the
program. The crash report is enclosed in this email as "stack.txt" 

Some relevant information about our QGIS settings: An HTTP Proxy is used
for web connections, so the server, port, username and password are set
in order to access the plugin repository. 

Looking forward to read from you. 

Kid regards, 

Jose.
No se pudo cargar el complemento 'sigpac_downloader' debido a un error al 
llamar a su método classFactory() 

TypeError: 'QVariant' object is not subscriptable 
Traceback (most recent call last):
  File "C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python\qgis\utils.py", line 334, in 
_startPlugin
    plugins[packageName] = package.classFactory(iface)
  File 
"C:/Users/jose.fernandez.marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\sigpac_downloader\__init__.py",
 line 36, in classFactory
    return sigpac_downloader(iface)
  File 
"C:/Users/jose.fernandez.marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\sigpac_downloader\sigpac_downloader.py",
 line 51, in __init__
    locale = QSettings().value('locale/userLocale')[0:2]
TypeError: 'QVariant' object is not subscriptable


Versión de Python: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC 
v.1914 64 bit (AMD64)] 
Versión de QGIS: 3.14.15-Pi Pi, d5114d2cfa 

Ruta de Python:
C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python
C:/Users/jose.fernandez.marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/jose.fernandez.marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python/plugins
C:\PROGRA~1\QGIS3~1.14\apps\Python37
C:\PROGRA~1\QGIS3~1.14\apps\Python37\Scripts
C:\Program Files\QGIS 3.14\bin\python37.zip
C:\PROGRA~1\QGIS3~1.14\apps\Python37\DLLs
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib
C:\Program Files\QGIS 3.14\bin
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\win32
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\win32\lib
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\Pythonwin
C:/Users/jose.fernandez.marti/AppData/Roaming/QGIS/QGIS3\profiles\default/python
Crash ID: 472ea3512682a3798d2cecc71f612973b1cc7185


Stack Trace


QMetaObject::activate :
QHttpMultiPart::qt_metacast :
QSslKey::operator!= :
QSslKey::operator!= :
QMetaObject::activate :
QAbstractSocket::proxyAuthenticationRequired :
QMetaObject::activate :
QAbstractSocket::proxyAuthenticationRequired :
QNetworkProxyQuery::networkConfiguration :
QMetaObject::activate :
QAbstractSocket::disconnected :
QAbstractSocket::canReadLine :
QNetworkProxyQuery::networkConfiguration :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QEventDispatcherWin32::processEvents :
UserCallWinProcCheckWow :
DispatchMessageWorker :
QEventDispatcherWin32::processEvents :
QEventLoop::exec :
QThread::exec :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :




QGIS Info
QGIS Version: 3.14.15-Pi
QGIS code revision: d5114d2cfa
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 3.0.4
Running against GDAL: 3.0.4



System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19045
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to