Python Forum
TypeError: isdeleted() argument 1 must be sip.simplewrapper, not PlotWidget
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TypeError: isdeleted() argument 1 must be sip.simplewrapper, not PlotWidget
#2
I have the same issue, all the examples crash Python and the console shows an endless stream of errors, like :

File "C:\Python\Python37\lib\site-packages\pyqtgraph\graphicsItems\GraphicsObject.py", line 40, in itemChange
ret = sip.cast(ret, QtGui.QGraphicsItem)
TypeError: cast() argument 1 must be sip.simplewrapper, not PlotItem
TypeError: isdeleted() argument 1 must be sip.simplewrapper, not ViewBox


I've tried reinstalling sip and PyQt5==5.12.0/1/2 - 5.15, but no luck. Interestingly, aside from your post, I haven't found anyone else have this problem!

>>> from PyQt5 import QCore, QtGui, QtWidgets, uic
>>> from PyQt5.QtWidgets import QApplication
>>> import pyqtgraph as pg
>>> pg.__version__
'0.11.1'
>>> app = QtGui.QApplication([])
>>> pg.plot()
Reply


Messages In This Thread
RE: TypeError: isdeleted() argument 1 must be sip.simplewrapper, not PlotWidget - by blipton - Jan-22-2021, 04:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Syntax Error: Positional argument follows keyword argument Rama02 3 4,157 Feb-09-2021, 06:10 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020