Skip to content

Commit

Permalink
Stdm syria-fixed bug: document-downloading feature - Issue: QGIS Brea…
Browse files Browse the repository at this point in the history
…k after several documents downloaded (#483)

* altered value-list.py to change value maximaximum to 100, code maximum to 10

* Delete Country ComboBox, Debug Logging CheckBox, and Select Custom Tables for Source Tables List in Export UI

* Removed Source Code Edit Comments fixes #471

* Changed Height fixes #468

* Documents-Uploader fixes #468 fixes #473 fixes #474

* UI enhancements fixes #477

* UI enhancements - cleaning document_uploader units

* Document Uploader Feature - Apply PEP8(Python Enhancement Proposals)

* Document Uploader Feature - Apply PEP8(Python Enhancement Proposals)

* Replaced requests lib by QtNetworkRequest (replaceed the function kobo_download within support_doc_manager. Later will be added as class)

* Added exception handlers for library calls without control over

* Added exception handlers for library calls without control over

* Used QgsNetworkAccessManager instead of the QNetworkAccessManager & QEventLoop instead of While loop

* Update document-uploader icon

* Fixing Bug - temp code -> while loop with timeout & sec counter fixed #480

* Bug-Download not responding fixes #480

* Disable Start Download button fixes #481

* fixed bug: document-downloading feature - Issue: QGIS Break after several documents downloaded

Co-authored-by: pgathogo <pgathogo@gmail.com>
  • Loading branch information
strabzounly and pgathogo authored Jul 27, 2022
1 parent a1a60f6 commit 718f7ee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ui/support_doc_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ def create_supporting_doc(self, table_name, new_doc_id, parent_id,
def kobo_download(self, src_url, dest_filename, username, password):
self.download_result = None
self.dest_filename = dest_filename

self.manager = QgsNetworkAccessManager.instance()
self.manager.finished.connect(self.handle_download)
request = QNetworkRequest(QUrl(src_url))
Expand Down

0 comments on commit 718f7ee

Please sign in to comment.