gltn / stdm

STDM is a free and open source pro-poor land recordation system based on QGIS, PostgreSQL and PostGIS.
http://stdm.gltn.net/
GNU General Public License v2.0
30 stars 30 forks source link

Download not responding #480

Open pgathogo opened 2 years ago

pgathogo commented 2 years ago

@strabzounly, when I click Start Download nothing seems to happen

image

strabzounly commented 2 years ago

Dear @pgathogo , Kindly be informed that I don't have this bug, and kindly be informed that I have committed a temporary code to check it: Replaced QgsNetworkAccessManager By QNetworkAccessManager Replaced QEventLoop By While loop and added two counters: Timeout counter to break the loop. Requested time to end file download (frequently messages while downloading a file (just to know where did the script stopped and will be removed later ).

Current script result: image

Old script result (which was reported as bug): image

strabzounly commented 2 years ago

Dear @pgathogo , Kindly be informed that the code has been restored and the used classes are now:

Thank you very much!