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

Traceback (most recent call last):


 "printrun/gviz.py", line 404, in paint

self.repaint_everything()


 "printrun/gviz.py", line 365, in repaint_everything

self._drawarcs(dc, self.arcs[self.layerindex], self.arcpens[self.layerindex])


 "printrun/gviz.py", line 322, in _drawarcs

dc.SetPen(pens[i] if type(pens) == list else pens)


 "/usr/local/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 3662, in SetPen

return _gdi_.DC_SetPen(*args, **kwargs)
TypeError: in method 'DC_SetPen', expected argument 2 of type 'wxPen const &'
