Announcement

Collapse
No announcement yet.

Can't get CherryTree to run anymore on Dell

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't get CherryTree to run anymore on Dell

    My roommate has one of those Dell all-in-one desktops with Kubuntu 14.04. Both of us use CherryTree as a quick and easy database. When he was doing an update, wifi got interrupted and his computer has had problems since then. First, the Restart and Shutdown buttons disappeared from the launcher. That problem was easily solved. I ran the update from the command line and those buttons came back.

    However, getting CherryTree to run again has not been so easy. The CherryTree icon dances as is normal in Kubuntu when you click on it, but the program never loads. I checked in /usr/bin to make sure the CherryTree executable file was there, and it was. I checked to make sure it was set as executable and that it had the permissions to read and write. It does. I decided an uninstall and reinstall was necessary, so I did a complete uninstall in Synaptic and then I removed the PPA with:
    Code:
    sudo add-apt-repository --remove ppa:vincent-c/cherrytree
    Then I added the PPA back and reinstalled at the command line:

    Code:
    sudo add-apt-repository ppa:vincent-c/cherrytree
    sudo apt-get update
    sudo apt-get install cherrytree
    I had hoped this install from scratch would solve the problem. No dice. I looked at the executable file, and it was there, set as the executable, with permissions to run. But it was like before. It would not run. I did notice the executable was set as root. I figured I had finally found the problem, so I went in with Krusader as root and changed it to the user name: roger.

    Still no dice! We install CherryTree from the command line because we want the latest one. However, I decided to try the slightly older one that's in the repositories. Once again, I did a complete uninstall in Synaptic and removed the PPA on the command line. Then I installed it in Synaptic instead of on the command line.

    The damn thing STILL won't work. What am I missing? I've done everything I can think of to do. Does this have something to do with Python, which CherryTree is written in?

    I'm about ready to just completely reinstall Kubuntu, but it sure would be nice to not have to do that. Completely remove Python and then install it from the command line? Is that the right direction?
    Kubuntu 22.04 (desktop & laptop), Windows 7 &2K (via VirtualBox on desktop PC)
    ================================

    #2
    Originally posted by Tom_ZeCat View Post
    We install CherryTree from the command line because we want the latest one.
    Did you try starting it from the command line? You might get error messages that way.

    Regards, John Little
    Regards, John Little

    Comment


      #3
      When he was doing an update, wifi got interrupted and his computer has had problems since then.
      Did you try to recover the upgrade?
      sudo dkpg --configure -a
      sudo apt-get install -f

      Repeat them until they have nothing to do. Then do
      sudo apt-get autoclean
      sudo apt-get autoremove

      And just for good measure, repeat the first two recovery commands to make sure nothing new pops up.
      Then do:
      sudo apt-get purge cherrytree
      sudo apt-get autoremove
      sudo apt-get install cherrytree
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment


        #4
        Originally posted by jlittle View Post
        Did you try starting it from the command line? You might get error messages that way.

        Regards, John Little
        Good idea. I tried that and here's what I get:

        Code:
        roger@roger-Inspiron-One-2305:~$ cherrytree
        Traceback (most recent call last):
          File "/usr/bin/cherrytree", line 65, in <module>
            f_main(args)
          File "/usr/bin/cherrytree", line 47, in f_main
            main.main(args)
          File "/usr/share/cherrytree/modules/main.py", line 223, in main
            CherryTreeHandler(args, semaphore, msg_server_to_core, lang_str)
          File "/usr/share/cherrytree/modules/main.py", line 73, in __init__
            self.window_open_new(filepath_fix(args.filepath), args.node, True)
          File "/usr/share/cherrytree/modules/main.py", line 78, in window_open_new
            window = core.CherryTree(self.lang_str, filepath, node_name, self, is_startup)
          File "/usr/share/cherrytree/modules/core.py", line 69, in __init__
            config.config_file_load(self)
          File "/usr/share/cherrytree/modules/config.py", line 44, in config_file_load
            config.read(cons.CONFIG_PATH)
          File "/usr/lib/python2.7/ConfigParser.py", line 305, in read
            self._read(fp, filename)
          File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read
            raise MissingSectionHeaderError(fpname, lineno, line)
        ConfigParser.MissingSectionHeaderError: File contains no section headers.
        file: /home/roger/.config/cherrytree/config.cfg, line: 1
        '\xf2\xb6\x00\xa6j\xa0Kq\x82\x82\xd8_+o\x8f!vD{\xc3\xe9Er&\x888\xf2n\xed\xed\x07\xf6L\xb6j\x8d\xf5\x13\xcfq\xc2\xbe\xca\xb3D\xfeq]\'\xb4d\x14\x11%S\xe0\xd7\'Q\xd0\xbb\x16WJ\xda\xa0\xf2\x94\x05\x8a\xa6\xf5\rN\xd3B\xe4g\x84R\x03@\x9e\xd7\r\x84\x19l\xa6\xcc:D\xad\xb4\x054\x1d[]\x02\x19\xd9\xf0\x84\x14\xc0E\xc5\xf1K)v?zKe\xffo\xde\x9f\xcf\x0bH\xb8\r!\x0e\x1e\xdb\x14\xc7R\xa4\x81-?6v\xd4N\x1e\x8b\x96\x05LA_y\x18\xe6\x01\x92}\x92v$]\xdfBQ\x802\x0c\xf0\xc0\xa7\xb6\xa0\x90A\x0c:\xc0\x80\x03\xc2\x94\x0cM\xf4\xcc\x1fw\xc7;\x9eG\x8b!\x83\x99\x1d\x06\xa8\t\xb1\xc3\x9f\xc9\x08\xc8\x82c(\xc3U\x9f\x9a\xd1x\xe6\xe6\x01 ?\xe1 U,\xa9\xd0\xdd\xd0\xe2H\xa0\x1cT\\<\xf7\xc5C\xa0\xe8\xe1\xf8\xdbFK\xc8\xe9p+\x8aG\xbapl\x8e7\r\xed\x9b\x9b8\x1bIV\xa4&\x98i\x8eLu)U\xd3\xcb\xc2j\xdf,\x84\xa6\x8d\x17\x97\x81\xc5\xac\x0f&h8\xf9{\xc1\xe6\xee\xcaP\'\xa4\xa3TcP\xc2`\xd0\xb6\xae\x83\x1f?\xb0\x9eQr\xe8\xbb\xa8\xd2#K\xeb\xceu\x81\xe1\x1cv5\xa3\x00}\x00\xbb\xa2;\xb5\xdc\xb9\xa1 Qu\xa9j\x91\xb5o\xfe\x8d\x87\x81\x02\x9e/H(\x1b@\xf2\xae\x07\xe0\x88eMK\x88\xd0\xbc\x01\xa9\xc3\x93~(\xd9)\xa1H\xd1)/\x1d-\x8c\xe2^\xe2 \xe5\x8f}\xdf\xbd\x17>\x19\x18\xdc\x99\xf09\xc2D\xac\x05`\x13\x9f\xef\xb0|\xc6\x9a\xfc\x7fy\xed\xd6\xf7\xc1\xa9f!\x11\xe91{\xe3\xb0v\xe0M|\x9d\xc05\xb6\xd0\xa3Y\xd5H\xb5\xd6\x03\x02\xee\xb3z\xda\x91\xb5\xb91M_\x07\x97\x033\xbc\x07\xae\x00\x9c\x12\xda}?\xc9\xe9\xc5\xc0\xe5\xdb\x1a!\x14!\xb3r\x19\x19\x9eWX\xee\x95\x9b\xa4\xd5py\x8e\xa3Ci\xdc{k3\xa4\xc0\xed\x14+\x10\xbf\xd3\x00\x9c\xaa\xbc:\xce\x93#\xf6\xa1\x9fIb\x92)\xc2\xe1\x930\xe8"B(\x1a\xc0av\xc23\x90\xb7\xc7\xe7ey\xf9n\xac\xdf}\xb5\x99\xbe\xef\x82\x0f\x93\x84b\xb5\xa5\x8a\xda\xc7\xbe\xbd\xac\xac\x00\x0f\xa1l\xaf\xc0\xdf\xfc\x0b\xfc\x020a>\x0eR\xb5\xe4\n'
        connected with ('127.0.0.1', 52555)
        connected with ('127.0.0.1', 52556)
        Originally posted by GreyGeek View Post
        Did you try to recover the upgrade?
        sudo dkpg --configure -a
        sudo apt-get install -f

        Repeat them until they have nothing to do. Then do
        sudo apt-get autoclean
        sudo apt-get autoremove

        And just for good measure, repeat the first two recovery commands to make sure nothing new pops up.
        Then do:
        sudo apt-get purge cherrytree
        sudo apt-get autoremove
        sudo apt-get install cherrytree
        Thanks, GreyGeek. I've tried all your suggestions, but still have the same problems. After doing so I get the following when I run CherryTree in the terminal:

        Code:
        roger@roger-Inspiron-One-2305:~$ cherrytree
        Traceback (most recent call last):
          File "/usr/bin/cherrytree", line 65, in <module>
            f_main(args)
          File "/usr/bin/cherrytree", line 47, in f_main
            main.main(args)
          File "/usr/share/cherrytree/modules/main.py", line 207, in main
            CherryTreeHandler(args, lang_str)
          File "/usr/share/cherrytree/modules/main.py", line 56, in __init__
            self.window_open_new(filepath_fix(args.filepath), args.node, True, True if args.filepath else False)
          File "/usr/share/cherrytree/modules/main.py", line 61, in window_open_new
            window = core.CherryTree(self.lang_str, filepath, node_name, self, is_startup, is_arg)
          File "/usr/share/cherrytree/modules/core.py", line 69, in __init__
            config.config_file_load(self)
          File "/usr/share/cherrytree/modules/config.py", line 90, in config_file_load
            config.read(cons.CONFIG_PATH)
          File "/usr/lib/python2.7/ConfigParser.py", line 305, in read
            self._read(fp, filename)
          File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read
            raise MissingSectionHeaderError(fpname, lineno, line)
        ConfigParser.MissingSectionHeaderError: File contains no section headers.
        file: /home/roger/.config/cherrytree/config.cfg, line: 1
        '\x9e\xc7s\xad\x17q\xb7\x17\xb6o\xf04\xa4%7\xeb\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\
        x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba\x13\x15\xd4d!O\xc2\x13s\xa6}^\xa7\xfe\x00\xba'
        roger@roger-Inspiron-One-2305:~$
        Does anyone recognize anything in these hieroglyphics? Is my hypothesis that Python needs to be reinstalled correct?
        Kubuntu 22.04 (desktop & laptop), Windows 7 &2K (via VirtualBox on desktop PC)
        ================================

        Comment


          #5
          At first I was thinking it may be a problem with Python, but I'm wondering if the problem is actually in the CherryTree configuration file
          /home/roger/.config/cherrytree/config.cfg specifically line one in that file. That seems to be what Python is complaining about. I think that file may be damaged.

          My CherryTree config.cfg file looks like this at the top:
          Code:
          [state]
          file_dir = /home/rod/Dropbox/CherryTree Notes
          file_name = Rod's_Notes.ctd
          toolbar_visible = True
          win_is_maximized = False
          win_position_x = 790
          win_position_y = 0
          ...
          There should be two files in the /.config/cherrytree/ directory (config.cfg and config.xml).

          Maybe you could try uninstalling CherryTree again and then deleting the config files (or do sudo apt-get purge cherrytree). Then reinstall.

          Update: Sorry, I've just realised you already tried the above purge command so that probably rules out my suggestion. Maybe there is something wrong with Python then.
          Last edited by Rod J; Oct 23, 2014, 08:08 PM. Reason: Correction
          Desktop PC: Intel Core-i5-4670 3.40Ghz, 16Gb Crucial ram, Asus H97-Plus MB, 128Gb Crucial SSD + 2Tb Seagate Barracuda 7200.14 HDD running Kubuntu 18.04 LTS and Kubuntu 14.04 LTS (on SSD).
          Laptop: HP EliteBook 8460p Core-i5-2540M, 4Gb ram, Transcend 120Gb SSD, currently running Deepin 15.8 and Manjaro KDE 18.

          Comment


            #6
            Another thought I have is that the version of CherryTree you are installing is perhaps corrupted or has a bug.

            I don't use the ppa version but I download the Debian/Ubuntu package file directly from http://www.giuspen.com/cherrytree/

            I'm using version 0.34.1 just now ... maybe there is a problem with the latest version (0.35.2-1). I think I'll hold off updating just in case!
            Desktop PC: Intel Core-i5-4670 3.40Ghz, 16Gb Crucial ram, Asus H97-Plus MB, 128Gb Crucial SSD + 2Tb Seagate Barracuda 7200.14 HDD running Kubuntu 18.04 LTS and Kubuntu 14.04 LTS (on SSD).
            Laptop: HP EliteBook 8460p Core-i5-2540M, 4Gb ram, Transcend 120Gb SSD, currently running Deepin 15.8 and Manjaro KDE 18.

            Comment


              #7
              just to note, using the --purge switch does NOT delete any local, user config files. And from the error , it definitely look s like /home/roger/.config/cherrytree/config.cfg is corrupted. It would be worth backing up your /home/roger/.config/cherrytree/ folder, deleting the original, and try running the program again.
              Last edited by claydoh; Oct 24, 2014, 11:42 AM.

              Comment


                #8
                Thanks claydoh, I wrongly thought the local user config files were also deleted when the --purge switch was used. Good to know that they aren't!
                Desktop PC: Intel Core-i5-4670 3.40Ghz, 16Gb Crucial ram, Asus H97-Plus MB, 128Gb Crucial SSD + 2Tb Seagate Barracuda 7200.14 HDD running Kubuntu 18.04 LTS and Kubuntu 14.04 LTS (on SSD).
                Laptop: HP EliteBook 8460p Core-i5-2540M, 4Gb ram, Transcend 120Gb SSD, currently running Deepin 15.8 and Manjaro KDE 18.

                Comment


                  #9
                  Originally posted by claydoh View Post
                  just to note, using the --purge switch does NOT delete any local, user config files. And from the error , it definitely look s like /home/roger/.config/cherrytree/config.cfg is corrupted. It would be worth backing up your /home/roger/.config/cherrytree/ folder, deleting the original, and try running the program again.
                  You da bomb! The problem is fixed. I transplanted my config.cfg file over, editing out the references to my computer, and voilà! CherryTree was running again.

                  Originally posted by Rod J View Post
                  Thanks claydoh, I wrongly thought the local user config files were also deleted when the --purge switch was used. Good to know that they aren't!
                  I thought the same thing myself. It seems like "purge" isn't so aptly named. If you want to do a complete removal and reinstall, you have to manually delete the app's config file. Who knew?
                  Kubuntu 22.04 (desktop & laptop), Windows 7 &2K (via VirtualBox on desktop PC)
                  ================================

                  Comment


                    #10
                    Originally posted by Rod J View Post
                    Thanks claydoh, I wrongly thought the local user config files were also deleted when the --purge switch was used. Good to know that they aren't!
                    From apt-get's man pages:

                    purge
                    purge is identical to remove except that packages are removed and purged (any configuration files are deleted too).

                    --purge
                    Use purge instead of remove for anything that would be removed. An asterisk ("*") will be displayed next to packages
                    which are scheduled to be purged. remove --purge is equivalent to the purge command.
                    A bug in apt-get? Both "remove --purge" and "purge" used to work, at least for me, but it appears a regression has ocurred because there was an identical problem five years ago.
                    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                    – John F. Kennedy, February 26, 1962.

                    Comment


                      #11
                      Purging has never removed local, user config files. Apt can't know what these files would be because they were not installed by apt (but were created by the program). Apt would have no idea which users would have these files. Of course this is not mentioned in any man page I've seen so far......

                      http://askubuntu.com/questions/17668...to-an-app?rq=1

                      Comment


                        #12
                        purge
                        purge is identical to remove except that packages are removed and purged (any configuration files are deleted too).

                        The "any configuration files" would be those conf files established by the program during installation, and so would be within the program installation directory(ies). User configuration files; created when the user launches the program; remain. As claydoh stated, apt cannot know about those; they become 'cruft' after purging an installed application.
                        Windows no longer obstructs my view.
                        Using Kubuntu Linux since March 23, 2007.
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                        Comment


                          #13
                          mmm... I would swear that purge had removed config files in my home account.
                          "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                          – John F. Kennedy, February 26, 1962.

                          Comment

                          Working...
                          X