We have the same problem with QGIS 3.22.0.1

Running this script in the Python console:

feedback=QgsFeedback()
req= QNetworkRequest(QUrl('https://qgis.org'))
print('a')
print(QgsBlockingNetworkRequest().get(req,True,feedback))
print('b')

Shows the letter "a " and never "b". And QGIS hangs


Med venlig hilsen / Kind regards

Bo Victor Thomsen

Den 03-11-2021 kl. 06:19 skrev Nyall Dawson:
On Wed, 3 Nov 2021 at 14:58, Richard Duivenvoorde <rdmaili...@duif.net> wrote:
On 11/3/21 2:15 AM, Nathan Woodrow wrote:
My download of 3.16.12 is using SIP 5.4.0 it says:

image.png
Is that osgeo4w or msi?

How to check?
Looks like it DOES suffer the SIP Python GIL regression. Running this
script in the console will trigger it:

feedback=QgsFeedback()
req= QNetworkRequest(QUrl('https://qgis.org'))
print(QgsBlockingNetworkRequest().get(req,True,feedback))

This works fine on 3.16.11, but hangs on 3.16.12 (and other builds
based on sip > 4)

Nyall



Regards,

Richard
_______________________________________________
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 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