Hi. I'm having a similar problem. I have an application that uses gstreamer to stream video, and I'm displaying the ImageItem to a GraphicsLayoutWidget. I have another GraphicsLayoutWidget that has a HistogramLutItem. Sometimes the ViewBox containing the ImageItem freezes. It doesn't even respond to mouse events. The histogram is still live, and I can see from that that the image data is being updated. If I just resize my main window, the ViewBox refreshes to the last captured frame, but is still not live. Disconnecting my camera and reconnection doesn't fix this. I have to exit the application and restart.
This problem seems to crop up randomly, but it happens often enough that I need to track this down, but I don't know how. I'm fairly new to pyqtgraph an Qt in general. I'm using Python 3.4, pyqtgraph 0.10.0, and PyQt5. Thanks for any help. Tim On Friday, November 11, 2016 at 12:45:55 PM UTC-5, Thomas Grübler wrote: > > > Hello, > > I write an application that displays something like an oscilloscope with > real time values. > > Sometimes, it just stops updating the graph. Just when I change the window > size, it shows the new curve, but then just one frame. > > The major problem is, I would like to write a bug report, but I do not get > any error message in PyCharm. When using the debugger, all objects/pointers > etc are present. > Even worse, I do not have a real way to reproduce the behavior. Sometimes > it is easy, sometimes it is not possible. > For reproducing, I stop updating my curve entries for a minute, and then > start again. > My software is normally updating the curve entries every 0.01s. > > Any idea, how to produce an error message if it is freezing to find the > problem? > > The freeze occurs using Python 3.4 (Anaconda) and with both PyQtGraph 0.9 > and 0.10. > > Thanks very much! > Thomas > On Friday, November 11, 2016 at 12:45:55 PM UTC-5, Thomas Grübler wrote: > > > Hello, > > I write an application that displays something like an oscilloscope with > real time values. > > Sometimes, it just stops updating the graph. Just when I change the window > size, it shows the new curve, but then just one frame. > > The major problem is, I would like to write a bug report, but I do not get > any error message in PyCharm. When using the debugger, all objects/pointers > etc are present. > Even worse, I do not have a real way to reproduce the behavior. Sometimes > it is easy, sometimes it is not possible. > For reproducing, I stop updating my curve entries for a minute, and then > start again. > My software is normally updating the curve entries every 0.01s. > > Any idea, how to produce an error message if it is freezing to find the > problem? > > The freeze occurs using Python 3.4 (Anaconda) and with both PyQtGraph 0.9 > and 0.10. > > Thanks very much! > Thomas > -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/1f4faeb1-1b6a-4897-95c6-848b13f4b358%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
