PyQt 5.15 release sigabort on test

Grzegorz Bokota g.bokota at mimuw.edu.pl
Mon Jun 1 22:18:51 BST 2020


Thanks Florian.

my final list is (I'm not sure if all are needed)

sudo apt-get install -y libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4
libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0
libxcb-xinerama0 libxcb-xfixes0

And I do not know why this link points to this value. It should point to
the job with pytest call, not pyinstaller.

Grzegorz Bokota


pon., 1 cze 2020 o 18:38 Florian Bruhin <me at the-compiler.org> napisaƂ(a):

> On Mon, Jun 01, 2020 at 11:11:18AM +0200, Grzegorz Bokota wrote:
> > Phil,
> > what can change in Qt 5.15 that the test runned under xvfb ends with
> > sigabort?
> >
> > I have had test running o CI (Github Actions and Azure pipelines). On
> linux
> > it is run under xvfb and pass. Few days ago after pyside2 5.15 release It
> > fail for pyside, but meet this earlier and think that it is some bug on
> > their side (happens elaier).  But today It happens also for PyQt5. So it
> > looks like change in Qt.
> >
> > ERROR: InvocationError for command
> > /home/runner/work/PartSeg/PartSeg/.tox/py37-PyQt5/bin/pytest
> package/tests
> > (exited with code -6 (SIGABRT)) (exited with code -6)
> >
> > Full log is here:
> >
> https://github.com/4DNucleome/PartSeg/pull/61/checks?check_run_id=726680563
>
> That just shows "Documentation_check Notebook_check succeeded" though? I
> assume
> you mean this?
>
>
> https://dev.azure.com/PartSeg/PartSeg/_build/results?buildId=1241&view=logs&j=e0592c93-02a4-58cd-c7d1-a81b63425aad&t=141b7d03-3a2a-5fbc-1da3-bbe42cc7662e
>
> There you can see "This application failed to start because no Qt platform
> plugin could be initialized. Reinstalling the application may fix this
> problem.".
>
> You can usually debug those kind of issues by setting QT_DEBUG_PLUGINS=1 in
> your environment. As a sidenote: With pytest you'll also need to use -s to
> turn
> off output capturing (as Qt otherwise aborts before pytest can show its
> captured output), and with the pytest-qt plugin, --no-qt-log is also needed
> until the next release: https://github.com/pytest-dev/pytest-qt/pull/300
>
> In this case, it's most likely the unbundling of libxcb in Qt 5.15:
> https://codereview.qt-project.org/c/qt/qtbase/+/253905
>
> On Travis CI, here's the additional list of Ubuntu packages I needed to
> make things work:
>
> - libxkbcommon-x11-0 (already needed since Qt 5.12)
> - libxcb-icccm4
> - libxcb-image0
> - libxcb-keysyms1
> - libxcb-randr0
> - libxcb-render-util0
> - libxcb-xinerama0
>
> Florian
>
> --
> me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org
>        https://bruhin.software/ |
> https://github.com/sponsors/The-Compiler/
>        GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
>              I love long mails! | https://email.is-not-s.ms/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200601/b6a27a9f/attachment-0001.htm>


More information about the PyQt mailing list