Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

joinmarket-qt missing package and error #1286

Closed
8aph0ivi37 opened this issue May 18, 2022 · 4 comments
Closed

joinmarket-qt missing package and error #1286

8aph0ivi37 opened this issue May 18, 2022 · 4 comments

Comments

@8aph0ivi37
Copy link

ubuntu 22.04, joinmarket-clientserver-0.9.6 installed by install.sh with qt support
joinmarket-qt.py won't start, with error:

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Aborted (core dumped)

retrying with export QT_DEBUG_PLUGINS=1:

Cannot load library /home/master/joinmarket/jmvenv/lib/python3.10/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/home/master/joinmarket/jmvenv/lib/python3.10/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/master/joinmarket/jmvenv/lib/python3.10/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Aborted (core dumped)

searching for missing package:

ldd /home/master/joinmarket/jmvenv/lib/python3.10/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so | grep "not found"
libxcb-xinerama.so.0 => not found
libxcb-xinerama.so.0 => not found

installed libxcb-xinerama0

after that joinmarket-qt.py displays window and allows to select wallet, but then quits with an error:

Traceback (most recent call last):
File "/home/master/joinmarket/jmvenv/lib/python3.10/site-packages/qt5reactor/core.py", line 292, in iterate_qt
self.iterate(delay=delay, fromqt=True)
File "/home/master/joinmarket/jmvenv/lib/python3.10/site-packages/qt5reactor/core.py", line 287, in _iterate
self.doIteration(delay, fromqt=fromqt)
File "/home/master/joinmarket/jmvenv/lib/python3.10/site-packages/qt5reactor/core.py", line 306, in doIteration
self._timer.setInterval(timeout * 1000)
TypeError: setInterval(self, int): argument 1 has unexpected type 'float'
Aborted (core dumped)

@AdamISZ
Copy link
Member

AdamISZ commented May 18, 2022

The first part was a known issue (see #687 #737 and potentially related #1046 #1031 ), but the second one is strange as it looks like a pretty fundamental error! Although I haven't run Python 3.10 myself, I was under the impression that it worked. Just to sanity check is it possible you could try with 3.7/8/9 to check if it works on those?

I suppose Ubuntu2204 might be another delta, that's another setup I haven't tried.

@8aph0ivi37
Copy link
Author

installed python3.9 via deadsnakes ppa
then clean rebuild
./install.sh --python=python3.9
error solved!

@AdamISZ
Copy link
Member

AdamISZ commented May 29, 2022

Thanks for letting us know.

@AdamISZ AdamISZ closed this as completed May 29, 2022
@FreddieChopin
Copy link

Any plans on adding support for Python 3.10?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants