Description of problem: ReText crashes after being initialized as soon as mouse hovers its window. Version-Release number of selected component (if applicable): retext-7.1.0-7.fc35.noarch How reproducible: 100% of the times the application is initialized. Steps to Reproduce: I have Fedora 35 with all the latest updates available as of now. I am running GNOME3 with Wayland on an Intel integrated graphics card in a Lenovo T490 laptop. When I start ReText, I get the following messages on the console: $ retext QSocketNotifier: Can only be used with threads started with QThread Using configuration file: /home/laggarcia/.config/ReText project/ReText.conf Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/ReText/editor.py", line 147, in paintEvent painter.drawLine(self.marginx, y1, self.marginx, y2) TypeError: arguments did not match any overloaded call: drawLine(self, QLineF): argument 1 has unexpected type 'float' drawLine(self, QLine): argument 1 has unexpected type 'float' drawLine(self, int, int, int, int): argument 1 has unexpected type 'float' drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float' drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float' QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it? QPainter::begin: A paint device can only be painted by one painter at a time. QPainter::setCompositionMode: Painter not active QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it? QPainter::begin: A paint device can only be painted by one painter at a time. QPainter::setCompositionMode: Painter not active QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it? QPainter::begin: A paint device can only be painted by one painter at a time. QPainter::setCompositionMode: Painter not active QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it? The ReText window comes up, but as soon as my mouse pointer hovers over it, the application crashes and the following is printed in the console: QPainter::begin: A paint device can only be painted by one painter at a time. QPainter::setCompositionMode: Painter not active QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it? Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/ReText/editor.py", line 147, in paintEvent painter.drawLine(self.marginx, y1, self.marginx, y2) TypeError: arguments did not match any overloaded call: drawLine(self, QLineF): argument 1 has unexpected type 'float' drawLine(self, QLine): argument 1 has unexpected type 'float' drawLine(self, int, int, int, int): argument 1 has unexpected type 'float' drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float' drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float' Process Process-6: Process Process-5: Process Process-3: Process Process-4: Traceback (most recent call last): Traceback (most recent call last): File "/usr/lib64/python3.10/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/usr/lib64/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 63, in _converter_process_func job = receiveObject(conn_child) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 32, in receiveObject sizeBuf = recvall(sock, 4) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 25, in recvall raise EOFError('Received 0 bytes from socket while more bytes were expected. Did the sender process exit unexpectedly?') File "/usr/lib64/python3.10/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/usr/lib64/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) EOFError: Received 0 bytes from socket while more bytes were expected. Did the sender process exit unexpectedly? File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 63, in _converter_process_func job = receiveObject(conn_child) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 32, in receiveObject sizeBuf = recvall(sock, 4) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 25, in recvall raise EOFError('Received 0 bytes from socket while more bytes were expected. Did the sender process exit unexpectedly?') EOFError: Received 0 bytes from socket while more bytes were expected. Did the sender process exit unexpectedly? Traceback (most recent call last): File "/usr/lib64/python3.10/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/usr/lib64/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 63, in _converter_process_func job = receiveObject(conn_child) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 32, in receiveObject sizeBuf = recvall(sock, 4) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 25, in recvall raise EOFError('Received 0 bytes from socket while more bytes were expected. Did the sender process exit unexpectedly?') EOFError: Received 0 bytes from socket while more bytes were expected. Did the sender process exit unexpectedly? Traceback (most recent call last): File "/usr/lib64/python3.10/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/usr/lib64/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 63, in _converter_process_func job = receiveObject(conn_child) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 32, in receiveObject sizeBuf = recvall(sock, 4) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 25, in recvall raise EOFError('Received 0 bytes from socket while more bytes were expected. Did the sender process exit unexpectedly?') EOFError: Received 0 bytes from socket while more bytes were expected. Did the sender process exit unexpectedly? Process Process-1: Traceback (most recent call last): File "/usr/lib64/python3.10/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/usr/lib64/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 63, in _converter_process_func job = receiveObject(conn_child) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 32, in receiveObject sizeBuf = recvall(sock, 4) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 25, in recvall raise EOFError('Received 0 bytes from socket while more bytes were expected. Did the sender process exit unexpectedly?') EOFError: Received 0 bytes from socket while more bytes were expected. Did the sender process exit unexpectedly? Aborted (core dumped) Process Process-2: Traceback (most recent call last): File "/usr/lib64/python3.10/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/usr/lib64/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 63, in _converter_process_func job = receiveObject(conn_child) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 32, in receiveObject sizeBuf = recvall(sock, 4) File "/usr/lib/python3.10/site-packages/ReText/converterprocess.py", line 25, in recvall raise EOFError('Received 0 bytes from socket while more bytes were expected. Did the sender process exit unexpectedly?') EOFError: Received 0 bytes from socket while more bytes were expected. Did the sender process exit unexpectedly? Actual results: ReText always crashes when initalized. Expected results: ReText should initialize without issues.
FEDORA-2021-4a38c391e9 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-4a38c391e9
FEDORA-2021-4a38c391e9 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-4a38c391e9` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4a38c391e9 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
The new package works fine.
FEDORA-2021-4a38c391e9 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.