[PyQt] QLocalServer failures with Qt5
Phil Thompson
phil at riverbankcomputing.com
Fri Mar 29 10:17:07 GMT 2013
On Mon, 25 Mar 2013 01:45:41 +0000, Baz Walter <bazwal at ftml.net> wrote:
> Hello
>
> I have some simple IPC code that has been working fine with Qt4 but
> doesn't with Qt5. The problem happens after calling
> QLocalServer.listen(), and gives errors like this:
>
> QSocketNotifier: Invalid socket specified
>
> QSocketNotifier: Invalid socket 1376166832 and type 'Read',
> disabling...
>
> I tried the PyQt example (examples/ipc/localfortuneserver.py), but it
> gives similar errors.
>
> This is using: gcc 4.7.2, python 2.7.3, qt 5.0.1, sip
> 4.14.5-snapshot-054f1676c300, pyqt snapshot-4.10.1-19c32f448665.
>
> The equivalent Qt5 example (qtbase/examples/ipc/localfortuneserver) does
> work as expected, though.
Should be fixed in tonight's PyQt snapshot.
Thanks,
Phil
More information about the PyQt
mailing list