Results 1 to 9 of 9

Thread: Cherrytree not starting

  1. #1
    Join Date
    Dec 2008
    Location
    Montana, USA
    Posts
    648

    Default Cherrytree not starting

    I saw a demonstration of Cherrytree amd thought it would be quite useful for me. I installed it and tried to start it. It would not start. So, I opened a terminal and tried to start it and got an import error:

    Code:
    bart@MSI-5960:~> cherrytree
    Traceback (most recent call last):
      File "/usr/bin/cherrytree", line 78, in <module>
        f_main(args)
      File "/usr/bin/cherrytree", line 49, in f_main
        import main
      File "/usr/share/cherrytree/modules/main.py", line 24, in <module>
        import dbus
    ImportError: No module named dbus
    bart@MSI-5960:~>
    I looked for dbus
    Code:
    bart@MSI-5960:~> su -
    Password: 
    MSI-5960:~ # find / -name dbus
    /var/lib/systemd/migrated/dbus
    /var/lib/dbus
    /run/dbus
    find: ‘/run/user/1000/doc’: Permission denied
    find: ‘/run/user/1000/gvfs’: Permission denied
    /usr/lib/cups/notifier/dbus
    /usr/lib/python3.6/site-packages/dbus
    /usr/lib/python3.6/site-packages/slip/dbus
    /usr/share/doc/packages/dnsmasq/dbus
    /usr/lib64/ruby/gems/2.5.0/gems/ruby-dbus-0.14.0/lib/dbus
    find: ‘/proc/2533/task/2533/net’: Invalid argument
    find: ‘/proc/2533/net’: Invalid argument
    find: ‘/mnt/Server’: Permission denied
    /etc/apparmor.d/abstractions/dbus
    MSI-5960:~ #
    Line 24 in /usr/share/cherrytree/modules/main.py simply says "import dbus"

    What am I missing?

    Bart

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,828
    Blog Entries
    15

    Default Re: Cherrytree not starting

    Hi
    Is python36-dbus-python installed?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Dec 2008
    Location
    Montana, USA
    Posts
    648

    Default Re: Cherrytree not starting

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Is python36-dbus-python installed?
    I would say not. I did a find and it's not shown. I used yast -> softwaremanagement -> search and got the no results message.

    Is it part of a package?

    I did the install using yast and thought all the requirements would have been included.

    Bart

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,828
    Blog Entries
    15

    Default Re: Cherrytree not starting

    Quote Originally Posted by montana_suse_user View Post
    I would say not. I did a find and it's not shown. I used yast -> softwaremanagement -> search and got the no results message.

    Is it part of a package?

    I did the install using yast and thought all the requirements would have been included.

    Bart
    Hi
    The Cherrytree version in Leap is unsupported, I maintain the newer version in Tumbleweed....

    Install python-dbus-python and all should be good.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Dec 2008
    Location
    Montana, USA
    Posts
    648

    Default Re: Cherrytree not starting

    Quote Originally Posted by malcolmlewis View Post
    Hi
    The Cherrytree version in Leap is unsupported, I maintain the newer version in Tumbleweed....

    Install python-dbus-python and all should be good.
    I tried that and no joy Same error message :-(

    It seems to be a great utility, I'm thinking I could really use it.

    Is there a way to install the tumbleweed version in leap?

    Bart

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,828
    Blog Entries
    15

    Default Re: Cherrytree not starting

    Quote Originally Posted by montana_suse_user View Post
    I tried that and no joy Same error message :-(

    It seems to be a great utility, I'm thinking I could really use it.

    Is there a way to install the tumbleweed version in leap?

    Bart
    Hi
    I tested the Leap 15.3 version here and all working fine after installing that python package...

    Nope, the newer version is completely different build process and not supported in Leap
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7
    Join Date
    Dec 2008
    Location
    Montana, USA
    Posts
    648

    Default Re: Cherrytree not starting

    Quote Originally Posted by malcolmlewis View Post
    Hi
    I tested the Leap 15.3 version here and all working fine after installing that python package...

    Nope, the newer version is completely different build process and not supported in Leap
    Using yast, and searching for python-dbus-python, the package is shown as python-dbus-python-common-devel. Is that is the one you are recommending I install? (I did).

    If I understand what I'm seeing in the error message, cherrytree is looking for a .py module called dbus. There is no module called dbus.py in /usr/share/cherrytree/modules/.

    Using find I see only these three items:
    Code:
    MSI-5960:~ # find / -name dbus.py
    /usr/lib/python3.6/site-packages/firewall/config/dbus.py
    /usr/lib/python3.6/site-packages/apparmor/rule/dbus.py
    /usr/share/konversation/scripting_support/python/konversation/dbus.py
    It would seem I should have /usr/lib/python3.6/site-packages/cherrytree/dbus.py or a generic dbus.py somewhere on my system.

    Something has to be different between my system and yours.

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,828
    Blog Entries
    15

    Default Re: Cherrytree not starting

    Hi
    It's python2 not python3, python2-dbus-python when I installed it selected capabilities and installed....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9
    Join Date
    Dec 2008
    Location
    Montana, USA
    Posts
    648

    Default Re: Cherrytree not starting

    Quote Originally Posted by malcolmlewis View Post
    Hi
    It's python2 not python3, python2-dbus-python when I installed it selected capabilities and installed....
    AHA! Now it works! I just searched for python-dbus-python and installed it. That little 2 was all it took.

    Thank you so much!

    Bart

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •