Re: [QGIS-Developer] QGIS Plugin crash

2023-02-08 Thread Richard Duivenvoorde via QGIS-Developer

If you search for "SIGPAC downloader" in the Plugin manager,

You see in the right panel: 'More info" with (if all is ok) links to the
- Plugin Homepage
- bug tracker of the plugin
- public code repository

If I do that, I see that

https://github.com/geomatico/qgis-sigpac/ is the code repo AND the homepage
https://github.com/geomatico/qgis-sigpac/issues is the bug tracker

So please create an issue there, or try to contact the plugin authors there
(if you click the authors, they have public x...@geomati.co mail addresses)

Regards,

Richard Duivenvoorde

On 11/23/22 11:52, Jose Antonio Fernandez Martin via QGIS-Developer wrote:

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.


___
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


___
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


Re: [QGIS-Developer] QGIS Plugin crash

2022-11-23 Thread Alexandre Neto via QGIS-Developer
Hello Jose,

Your English sounded quite good to me :)

This is the repository where you should report these bugs to the plugin
authors:

https://github.com/geomatico/qgis-sigpac/issues

Best regards,

Alexandre Neto

Jose Antonio Fernandez Martin via QGIS-Developer <
qgis-developer@lists.osgeo.org> escreveu no dia quarta, 23/11/2022 à(s)
11:52:

> 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.
> ___
> 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
>
___
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


[QGIS-Developer] QGIS Plugin crash

2022-11-23 Thread Jose Antonio Fernandez Martin via QGIS-Developer
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/pythonCrash 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