Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FTP error #1144

@buedner

Description

@buedner

Hi, when I try to export to myFTP site, I get this error:

TypeError: setValue(self, value: int): argument 1 has unexpected type 'float' 
Traceback (most recent call last):
  File "C:\Users/ROJ/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\maindialog.py", line 502, in saveMap
    result = self.exporter.postProcess(results, feedback=self.feedback)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users/ROJ/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\exporter.py", line 367, in postProcess
    if not uploadPath(os.path.join('.', source_folder)):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users/ROJ/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\exporter.py", line 352, in uploadPath
    feedback.setProgress(
  File "C:\Users/ROJ/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\feedbackDialog.py", line 160, in setProgress
    self.progressBar.setValue(progress)
TypeError: setValue(self, value: int): argument 1 has unexpected type 'float'

I've tried different projects with different layers - ever the same problem.

(Win 11, 3.38.3-Grenoble / 3.42.0-Münster)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions