JulesGrillot / plugin_bd_topo_extractor

GNU General Public License v2.0
2 stars 0 forks source link

Bug : not connected to internet #20

Closed Jibede closed 10 months ago

Jibede commented 11 months ago

What is the bug or the crash?

test d'installation dans QGIS 3.28.0. Au lancement une fenêtre "vous n'êtes pas connecté à internet" apparait.

Steps to reproduce the issue

installer l'extension cliquer sur le bouton de l'extension. le proxy est configuré, testé en default et en httpproxy paramétré.

Versions

3.28.0

Supported QGIS version

New profile

Additional context

No response

JulesGrillot commented 11 months ago

Maybe the timeout to test the internet connexion of the user is to short. Right now it's set to 1s to ping "https://github.com/"

I'll try to change it to 5s.

JulesGrillot commented 11 months ago

I still use urllib to ping the website but I must change it to QgsNetworkAcessManager like in the documentation to publish plugins : Plugins should make use of QgsNetworkAccessManager instead of using urllib2/requests/etc... which often fail to use correct proxy settings.

JulesGrillot commented 10 months ago

@Jibede The plugin as been updated.

Can you test it and tell me if the bug is fixed ?

Jibede commented 10 months ago

The issue is solved. I have another one, I'll open a new issue.