Traceback (most recent call last):

 "/usr/lib/python3.6/site-packages/spyder/widgets/helperwidgets.py", line 127, in paint
textRect = style.subElementRect(QStyle.SE_ItemViewItemText, options)TypeError: subElementRect(self, QStyle.SubElement, QStyleOption, QWidget): not enough arguments
Traceback (most recent call last):

 "/usr/lib/python3.7/site-packages/spyder/widgets/helperwidgets.py", line 127, in paint
textRect = style.subElementRect(QStyle.SE_ItemViewItemText, options)TypeError: subElementRect(self, QStyle.SubElement, QStyleOption, QWidget): not enough arguments