<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 19/07/16 08:55, Vincent Vande Vyvre
a écrit :<br>
</div>
<blockquote cite="mid:578DCEDD.7010404@telenet.be" type="cite">Hi,
<br>
<br>
I try to use my custom widgets with the Qt5 designer but the
designer crash at launching.
<br>
<br>
With the simplified examples joined and installed installed here:
<br>
<br>
.../qt5/plugins/designer/libpyqt5.so
<br>
python/
<br>
lineeditplugin.py
<br>
widgets/__init__.py
<br>
lineedit.py
<br>
<br>
--------------------------------------------------------------------------------------------------
<br>
$ designer-qt5
<br>
ImportError:
/usr/lib/python3/dist-packages/sip.cpython-34m-x86_64-linux-gnu.so:
undefined symbol: PyExc_SystemError
<br>
Error in sys.excepthook:
<br>
Traceback (most recent call last):
<br>
File "/usr/lib/python3/dist-packages/apport_python_hook.py",
line 63, in apport_excepthook
<br>
from apport.fileutils import likely_packaged,
get_recent_crashes
<br>
File "/usr/lib/python3/dist-packages/apport/__init__.py", line
5, in <module>
<br>
from apport.report import Report
<br>
File "/usr/lib/python3/dist-packages/apport/report.py", line 30,
in <module>
<br>
import apport.fileutils
<br>
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line
23, in <module>
<br>
from apport.packaging_impl import impl as packaging
<br>
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py",
line 20, in <module>
<br>
import apt
<br>
File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23,
in <module>
<br>
import apt_pkg
<br>
ImportError:
/usr/lib/python3/dist-packages/apt_pkg.cpython-34m-x86_64-linux-gnu.so:
undefined symbol: PyExc_OSError
<br>
<br>
Original exception was:
<br>
ImportError:
/usr/lib/python3/dist-packages/sip.cpython-34m-x86_64-linux-gnu.so:
undefined symbol: PyExc_SystemError
<br>
libGL error: Couldn't dlopen libudev.so.1 or libudev.so.0, driver
detection may be broken.
<br>
designer-qt5: ../../../../src/loader/loader.c :129 :
asserted_dlsym: l'assertion « result » a échoué.
<br>
Abandon (core dumped)
<br>
------------------------------------------------------------------------------------------------
<br>
<br>
I'm on Ubuntu Trusty 14.04 and with PyQt5 5.2.1
<br>
<br>
Vincent
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
PyQt mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
</blockquote>
<br>
Oops, not the good plugin file.<br>
<br>
This is the goog one:<br>
<br>
<br>
</body>
</html>