formlayout icon indicating copy to clipboard operation
formlayout copied to clipboard

TypeError: 'PySide.QtGui.QSpinBox' object is not callable on Ubuntu 18.04

Open JeffHoogland opened this issue 5 years ago • 0 comments

Trying to run the advanced.py example verbatim on my Ubuntu 18.04 system and getting this error message:

TypeError: 'PySide.QtGui.QSpinBox' object is not callable TypeError: 'PySide.QtGui.QSpinBox' object is not callable Traceback (most recent call last): File "gui.py", line 92, in <module> widget_color='#cf9')) File "/usr/local/lib/python2.7/dist-packages/formlayout.py", line 1272, in fedit widget_color) File "/usr/local/lib/python2.7/dist-packages/formlayout.py", line 1077, in __init__ self.formwidget.setup() File "/usr/local/lib/python2.7/dist-packages/formlayout.py", line 602, in setup field = SliderLayout(value, self) File "/usr/local/lib/python2.7/dist-packages/formlayout.py", line 301, in __init__ self.slider.setTickPosition(2) TypeError: 'PySide.QtGui.QSlider.setTickPosition' called with wrong argument types: PySide.QtGui.QSlider.setTickPosition(int) Supported signatures: PySide.QtGui.QSlider.setTickPosition(PySide.QtGui.QSlider.TickPosition)

simple.py works as expected.

Is this a pyside bug or an issue in formlayout?

JeffHoogland avatar Oct 30 '20 19:10 JeffHoogland