Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load TIN Interpolator from processing history cause Python error #50963

Closed
2 tasks done
nicogodet opened this issue Nov 22, 2022 · 0 comments · Fixed by #50968
Closed
2 tasks done

Load TIN Interpolator from processing history cause Python error #50963

nicogodet opened this issue Nov 22, 2022 · 0 comments · Fixed by #50968
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@nicogodet
Copy link
Member

What is the bug or the crash?

TypeError: findText(self, str, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchExactly|Qt.MatchCaseSensitive): argument 1 has unexpected type 'int' 
Traceback (most recent call last):
  File "C:\OSGeo4W/apps/qgis/./python/plugins\processing\gui\wrappers.py", line 204, in setWidgetValue
    self.setValue(value)
  File "C:\OSGeo4W/apps/qgis/./python/plugins\processing\algs\qgis\ui\InterpolationWidgets.py", line 223, in setValue
    self.widget.setValue(value)
  File "C:\OSGeo4W/apps/qgis/./python/plugins\processing\algs\qgis\ui\InterpolationWidgets.py", line 172, in setValue
    comboBox.setCurrentIndex(comboBox.findText((int(v[3]))))
TypeError: findText(self, str, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchExactly|Qt.MatchCaseSensitive): argument 1 has unexpected type 'int'


Version de Python : 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] 
Version de QGIS : 3.28.1-Firenze Firenze, fde3b8fbb8c 

Steps to reproduce the issue

  1. Run TIN Interpolator
  2. Open processing history and double clic on TIN Interpolator history entry

Versions

3.28.1

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

No response

@nicogodet nicogodet added Processing Relating to QGIS Processing framework or individual Processing algorithms Bug Either a bug report, or a bug fix. Let's hope for the latter! labels Nov 22, 2022
nicogodet added a commit to nicogodet/QGIS that referenced this issue Nov 23, 2022
nicogodet added a commit to nicogodet/QGIS that referenced this issue Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant