[PyQt] Strange error loop in QWebView, probably

David Cortesi davecortesi at gmail.com
Wed Dec 19 17:11:06 GMT 2012


Hello, I'm working on a little browser app using a QWebView. Today it
went into a loop throwing hundreds of messages like the following.
Revisiting the same URL did not reproduce it.

Do these look familiar to anyone? What component might be in trouble here?

The first messages were:

Wed Dec 19 08:57:37 Mr-Fusion.local python[7622] <Error>:
kCGErrorTypeCheck: CGSDispatchDatagramsFromStream : Bad datagram type
6
Wed Dec 19 08:57:37 Mr-Fusion.local python[7622] <Error>:
kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch
errors as they are logged.
Wed Dec 19 08:57:37 Mr-Fusion.local python[7622] <Error>:
kCGErrorIllegalArgument: CGSGetPortStreamData

Later there lots and lots of these:

Wed Dec 19 08:57:41 Mr-Fusion.local python[7622] <Error>:
kCGErrorIllegalArgument: CGSGetPortStreamData
Wed Dec 19 08:57:41 Mr-Fusion.local python[7622] <Error>:
kCGErrorRangeCheck: CGSDispatchDatagramsFromStream : Preposterous
datagram length 50332416

and even more of these:

Wed Dec 19 08:57:41 Mr-Fusion.local python[7622] <Warning>:
CGEventCreateFromDataAndSource: line 2456 Internal inconsistency
(0x1406a00,0xa00,0x6,0x0,0x140)

Any pointers/suggestions welcomed.

Thanks,

Dave Cortesi


More information about the PyQt mailing list