[PySide] Pyside2 pip packages

Alexandru Croitor alexandru.croitor at qt.io
Sun Mar 18 18:06:03 CET 2018


Hi,


This is a known issue, and tracked at https://bugreports.qt.io/browse/PYSIDE-631

________________________________
From: PySide <pyside-bounces+alexandru.croitor=qt.io at qt-project.org> on behalf of Frank Rueter | OHUfx <frank at ohufx.com>
Sent: Sunday, March 18, 2018 3:24:34 AM
To: pyside at qt-project.org
Subject: Re: [PySide] Pyside2 pip packages

The errors are all coming from the below snippet.
I am not sure if the crashing I'm seeing is related though.
from PySide2 import QtWidgets
from PySide2.QtWebEngineWidgets import QWebEngineView

import sys
app = QtWidgets.QApplication([])
html = '<b>hello html<b>'
w = QWebEngineView()
w.setHtml(html)
w.show()
sys.exit( app.exec_() )


Cheers,
frank


On 03/18/2018 02:44 PM, Frank Rueter | OHUfx wrote:
Hi Simo,

I installed PySide2 on linux now and when I try to run an existing project that I have switched over to PySide2 I get this on startup:
Qt WebEngine ICU data not found at /home/qt/work/install/resources. Trying parent directory...
Qt WebEngine ICU data not found at /home/qt/work/install. Trying application directory...
Qt WebEngine ICU data not found at /usr/lib64/python2.7/site-packages/PySide2/Qt/libexec. Trying fallback directory... The application MAY NOT work.
Installed Qt WebEngine locales directory not found at location /home/qt/work/install/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /usr/lib64/python2.7/site-packages/PySide2/Qt/libexec/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
[0318/144156.653641:ERROR:icu_util.cc(178)] Invalid file descriptor to ICU data received.
[0318/144156.653736:FATAL:content_main_runner.cc(691)] Check failed: base::i18n::InitializeICU().
#0 0x7f9a8439af3e <unknown>
#1 0x7f9a843acc4e <unknown>
#2 0x7f9a84379482 <unknown>
#3 0x7f9a8437299d <unknown>
#4 0x7f9a83a97999 QtWebEngine::processMain()
#5 0x0000004009f3 <unknown>
#6 0x7f9a7ff94c05 __libc_start_main
#7 0x000000400a2f <unknown>

[19347:19347:0318/144156.841951:ERROR:child_process_launcher.cc(522)] Failed to launch child process

The program will crash without any errors eventually.
On OSX I don't get the above output but the app is even less stable.
Using WingIDE in case it matters.

Any ideas what might be causing this?

Cheers,
frank

On 03/10/2018 12:33 AM, Simo Fält wrote:

Hola,

We've set up a snapshot publishing of Pyside2 wheels. When there is a change merged to https://codereview.qt-project.org/pyside/pyside-setup repository, the CI will also build pip packages out of it. The wheels will be available in:

http://download.qt.io/snapshots/ci/pyside/<branch>/<ci_build_id>



If you want to see the exact change, which triggered that build, you can check it from CI's public dashboard:

https://testresults.qt.io/coin/integration/pyside/pyside-setup/tasks/<ci_build_id>

For example the latest 5.9:

http://download.qt.io/snapshots/ci/pyside/5.9/1520539733/

and

https://testresults.qt.io/coin/integration/pyside/pyside-setup/tasks/1520539733



Wheels are published once a day at 10:30 EET with small delay caused by mirroring.



Packages should be installable via pip:

pip install --index-url=http://download.qt.io/snapshots/ci/pyside/5.9/latest/ pyside2 --trusted-host download.qt.io





Simo Fält

Release Engineer



The Qt Company

Tampere, Finland

Simo.falt at qt.io<mailto:Simo.falt at qt.io>

+358 40 740 6136

http://qt.io







_______________________________________________
PySide mailing list
PySide at qt-project.org<mailto:PySide at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/pyside





_______________________________________________
PySide mailing list
PySide at qt-project.org<mailto:PySide at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/pyside


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20180318/52b2488d/attachment.html>


More information about the PySide mailing list