Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1017346: crashes immediately when using webengine view

126 views
Skip to first unread message

VA

unread,
Aug 14, 2022, 7:40:04 AM8/14/22
to
Package: retext
Version: 8.0.0-1

When selecting the "use webengine chromium view" from menu, retext
immediately crashes:

Could not find QtWebEngineProcess
Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in
_bootstrap
self.run()
File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/usr/share/retext/ReText/converterprocess.py", line 72, in
_converter_process_func
job = receiveObject(conn_child)
File "/usr/share/retext/ReText/converterprocess.py", line 41, in
receiveObject
sizeBuf = recvall(sock, 4)
File "/usr/share/retext/ReText/converterprocess.py", line 34, 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?
zsh: IOT instruction retext

Dmitry Shachnev

unread,
Aug 14, 2022, 10:20:03 AM8/14/22
to
Hi!

On Sun, Aug 14, 2022 at 01:34:40PM +0200, VA wrote:
> Package: retext
> Version: 8.0.0-1
>
> When selecting the "use webengine chromium view" from menu, retext
> immediately crashes:
>
> Could not find QtWebEngineProcess

Please install libqt6webenginecore6-bin package.

Missing dependency is a bug in Qt WebEngine, it is fixed in experimental
branch [1] and will be fixed in unstable after the transition [2] is approved.

I don't want to add it as dependency in retext because Qt WebEngine itself
is optional and is not available on all architectures.

[1]: https://salsa.debian.org/qt-kde-team/qt6/qt6-webengine/-/commit/9cda511222fdd1e1
[2]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016040

--
Dmitry Shachnev
signature.asc

VA

unread,
Aug 14, 2022, 11:00:04 AM8/14/22
to
Le 14/08/2022 à 16:12, Dmitry Shachnev a écrit :
> Please install libqt6webenginecore6-bin package.

Indeed installing it fixes the problem.

However, as a more general note, could simple python exceptions like
this not quit the whole app? If there was unsaved text, and the user
tries to enable such an innocent-looking option, then the app may fail
in enabling it, sure, it happens, but it's not critical enough to quit
the app immediately, and to lose all unsaved user data.
At the very least print the exception on stderr but do not quit at all.
At best, display an error message in a dialogbox.
0 new messages