[Qgis-user] QgsBlockingNetworkRequest causes SIGSEGV

2021-05-22 Thread Frank Broniewski
Hi all, I am trying to replace the `requests` module with QgsBlockingNetworkRequest to remove a potentially unnecessary dependency from my QGIS plugin. But I am having trouble using it so far as Python crashes on the command line with a SIGSEGV all the time. First of all, things work from withi

Re: [Qgis-user] QgsBlockingNetworkRequest causes SIGSEGV

2021-05-23 Thread Richard Duivenvoorde
Hi Frank, Moving this to dev list as I think that is more appropriate for this question. I can easily replicate your issue (on Debian Testing, see below the coredump.txt) BUT: are you sure you want to use it outside of QGIS in a standalone script? Because I think these things will need some ki

Re: [Qgis-user] QgsBlockingNetworkRequest causes SIGSEGV

2021-05-24 Thread Frank Broniewski
Hi Richard, I must admit that I am not sure myself. I have a script that can communicate with the public Web-API of the official luxemburgish geoportal. I use the `requests` module in that and it has a nice little command line interface, nice for testing and such. Then I read in a post from N

Re: [Qgis-user] QgsBlockingNetworkRequest causes SIGSEGV

2021-05-27 Thread Andrea Giudiceandrea
Frank Broniewski-6 wrote > 1) open a Python3 shell > 2) >>> import qgis from qgis.core import QgsBlockingNetworkRequest as bnr r = bnr() > fish: Job 1, 'python' terminated by signal SIGSEGV (Adressbereichsfehler) > > I did look at the unittest Testcases [1] for the class, e.g the > tes