qgiscloud / qgis-cloud-plugin

QGIS Plugin for publishing maps on www.qgiscloud.com
GNU General Public License v2.0
18 stars 13 forks source link

Uncaught TypeError: toEncoded(self, options: QUrl.FormattingOptions = QUrl.FullyEncoded): argument 1 has unexpected type 'str' #49

Closed Almavin closed 3 years ago

Almavin commented 3 years ago

Steps to reproduce

  1. First
  2. Second
  3. Third
Traceback (most recent call last):
  File "C:/Users/Nzumi/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgiscloud\qgiscloudplugindialog.py", line 805, in update_local_layers
    self.update_local_data_sources(local_layers,  local_raster_layers)
  File "C:/Users/Nzumi/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgiscloud\qgiscloudplugindialog.py", line 860, in update_local_data_sources
    if ',' in layer.name():
RuntimeError: wrapped C/C++ object of type QgsVectorLayer has been deleted

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:/Users/Nzumi/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgiscloud\error_report_dialog.py", line 82, in __reportError
    urllib.parse.quote(body)),
TypeError: toEncoded(self, options: QUrl.FormattingOptions = QUrl.FullyEncoded): argument 1 has unexpected type 'str'

qgiscloud 3.1.18, QGIS 3.14.16-Pi on Windows 10

hdus commented 3 years ago

Please contact support@qgiscloud.com