bubblejail icon indicating copy to clipboard operation
bubblejail copied to clipboard

Can't open bubblejail gui, all deps (should) be installed.

Open cynicsketch opened this issue 2 years ago • 8 comments

Output of bubblejail --version

Alpine 0.6.2

Your distro name and version

Alpine Linux edge

Description

Basically, I can't open the bubblejail gui because it complains about PyQt5 not being found, though it is installed. I am no expert, so if I should file a complaint with somebody else, do let me know.

Output is below.

alpine:~$ bubblejail-config
Traceback (most recent call last):
  File "/usr/bin/bubblejail-config", line 9, in <module>
    from bubblejail.bubblejail_gui_qt import run_gui
  File "/usr/lib/python3.10/site-packages/bubblejail/bubblejail_gui_qt.py", line 22, in <module>
    from PyQt5.QtCore import QModelIndex
ModuleNotFoundError: No module named 'PyQt5'
alpine:~$ pip3 install PyQt5
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: PyQt5 in ./.local/lib/python3.10/site-packages (5.15.7)
Requirement already satisfied: PyQt5-sip<13,>=12.11 in ./.local/lib/python3.10/site-packages (from PyQt5) (12.11.0)
Requirement already satisfied: PyQt5-Qt5>=5.15.0 in ./.local/lib/python3.10/site-packages (from PyQt5) (5.15.2)
alpine:~$ bubblejail-config
Traceback (most recent call last):
  File "/usr/bin/bubblejail-config", line 9, in <module>
    from bubblejail.bubblejail_gui_qt import run_gui
  File "/usr/lib/python3.10/site-packages/bubblejail/bubblejail_gui_qt.py", line 22, in <module>
    from PyQt5.QtCore import QModelIndex
ModuleNotFoundError: No module named 'PyQt5'
alpine:~$ 

cynicsketch avatar Aug 26 '22 20:08 cynicsketch

Hello,

Can you try installing the PyQt5 from alpine package?

sudo apk add py3-qt5

igo95862 avatar Aug 27 '22 10:08 igo95862

Fixed it. Odd that it isn't a declared dependency package.

@igo95862

Sent with GitHawk

cynicsketch avatar Aug 27 '22 21:08 cynicsketch

Fixed it. Odd that it isn't a declared dependency package.

@igo95862

Sent with GitHawk

Yes. Some dependencies are missing for Alpine package.

In think @donob4n planned to separate GUI and CLI in to different packages but I am not sure how much progress there was.

igo95862 avatar Aug 28 '22 08:08 igo95862

Wops, I totally forgot about that. I think that I could do it this week.

donob4n avatar Aug 28 '22 09:08 donob4n

@donob4n I have a plan to add a notes that document every distro quirks running bubblejail. Can I add your user name and as Alpine Linux maintainer?

igo95862 avatar Sep 03 '22 15:09 igo95862

I'm happy with that but I would like to be faster fixing problems on it. I hope to fix this today.

donob4n avatar Sep 04 '22 11:09 donob4n

I created the subpackage on https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/38631

@creamrat when you upgrade you will lose 'bubblejail-config', install 'bubblejail-config' and remove 'py3-qt5' (which should be kept as dependency)

'bubblejail-config' seems a better name than 'bubblejail-gui'

Regardless the other deps like 'desktop-file-utils' and 'libnotify' I think that they are better inside the desktop that the user install and let bubblejail silently ignore them if missing.

donob4n avatar Sep 04 '22 17:09 donob4n

I created the subpackage

Looks great!

Regardless the other deps like 'desktop-file-utils' and 'libnotify' I think that they are better inside the desktop that the user install and let bubblejail silently ignore them if missing.

I think I will add those details to the quirks page. I already added one for Void Linux.

igo95862 avatar Sep 04 '22 19:09 igo95862

There is no pong from @cynicsketch but I feel that this could be closed.

donob4n avatar Sep 21 '22 17:09 donob4n