Skip to content

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

@JeffHoogland

Description

@JeffHoogland

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions