cherrytree : no module named dbus


ThinkPad T-14 Ryzen 7

Linux LAPTOP-PV579RM0 5.3.18-57-preempt #1 SMP PREEMPT Wed Apr 28 10:54:41 UTC 2021 (ba3c2e9) x86_64 x86_64 x86_64 GNU/Linux

Repository : Main Repository
Name : cherrytree
Version : 0.38.2-bp153.1.15
Arch : noarch
Vendor : openSUSE
Installed Size : 1.7 MiB
Installed : Yes
Status : up-to-date


:~> cherrytree
No protocol specified
Traceback (most recent call last):
File “/usr/bin/cherrytree”, line 78, in <module>
File “/usr/bin/cherrytree”, line 49, in f_main
import main
File “/usr/share/cherrytree/modules/”, line 24, in <module>
import dbus
ImportError: No module named dbus


I had installed Leap 15.2 and running the multiple kernel version because the kernel in 15.2 did not work very well with my hardware. I remove all kernels except the original one and then I upgrade to Leap 15.3.
The upgrade went perfect. iirc cherrytree also was working well (?) immediately after the upgrade I added packman repository and did an upgrade without any errors.
So at present all is OK.
I have tried to uninstall and install cherry tree both using yast and zypper and the results are the same.

I appreciate any tips or direction I should take to fix it.

In summary the system as well as all the apps I am using are working well.

zypper in python2-dbus-python

Does cherrytree then working?


zypper in python2-dbus-python

Loading repository data…
Reading installed packages…
Resolving package dependencies…

The following 2 NEW packages are going to be installed:
python2-dbus-python python-xml

2 new packages to install.
Overall download size: 406.4 KiB. Already cached: 0 B. After the operation, additional 1.7 MiB will be used.
Continue? [y/n/v/…? shows all options] (y): y
Retrieving package python-xml-2.7.18-7.55.1.x86_64 (1/2), 210.0 KiB (910.9 KiB unpacked)
Retrieving: python-xml-2.7.18-7.55.1.x86_64.rpm …[done]
Retrieving package python2-dbus-python-1.2.4-4.24.x86_64 (2/2), 196.4 KiB (792.4 KiB unpacked)
Retrieving: python2-dbus-python-1.2.4-4.24.x86_64.rpm …[done (120.8 KiB/s)]

Checking for file conflicts: …[done]
(1/2) Installing: python-xml-2.7.18-7.55.1.x86_64 …[done]
(2/2) Installing: python2-dbus-python-1.2.4-4.24.x86_64 …[done]

$:~> cherrytree
No protocol specified
sel node id=1050, seq=4

and working perfect.