Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
5.11.0
-
None
Description
If I open network\blockingfortuneclient.py the client and close it I get a Traceback.
python network\blockingfortuneclient.py
Exception ignored in: <bound method FortuneThread.__del__ of <__main__.FortuneThread object at 0x000001DA26577388>>
Traceback (most recent call last):
File "network\blockingfortuneclient.py", line 74, in __del__
RuntimeError: Internal C++ object (FortuneThread) already deleted.
When I connect with a client network\fortuneserver.py has a traceback
python network\fortuneserver.py Traceback (most recent call last): File "network\fortuneserver.py", line 107, in sendFortune out.writeString(fortune) TypeError: 'PySide2.QtCore.QDataStream.writeString' called with wrong argument types: PySide2.QtCore.QDataStream.writeString(bytes) Supported signatures: PySide2.QtCore.QDataStream.writeString(unicode) Traceback (most recent call last): File "network\fortuneserver.py", line 107, in sendFortune out.writeString(fortune) TypeError: 'PySide2.QtCore.QDataStream.writeString' called with wrong argument types: PySide2.QtCore.QDataStream.writeString(bytes) Supported signatures: PySide2.QtCore.QDataStream.writeString(unicode)
When I close the client while the server is still running I get a Traceback.
python network\blockingfortuneclient.py
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QThread: Destroyed while thread is still running
Attachments
For Gerrit Dashboard: PYSIDE-705 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
235241,2 | Fix fortuneserver string return type | 5.11 | pyside/pyside-setup | Status: MERGED | +2 | 0 |