Moved from Mint to Debian and having probleam running Cherrytree

Home Forums cherrytree Moved from Mint to Debian and having probleam running Cherrytree

This topic contains 6 replies, has 2 voices, and was last updated by  giuspen 2 weeks ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #124873

    dream12
    Member

    First of all cherrytree is a great and useful software that works out of the box on linux mint but once I installed it on Debian I am running into some problems.

    This is my terminal output after I run cherrytree:

    Traceback (most recent call last):
    File “/usr/bin/cherrytree”, line 72, in <module>
    f_main(args)
    File “/usr/bin/cherrytree”, line 49, in f_main
    import main
    File “/usr/share/cherrytree/modules/main.py”, line 30, in <module>
    import cons, core
    File “/usr/share/cherrytree/modules/core.py”, line 24, in <module>
    import cons, menus, support, config, machines, clipboard, imports, exports, printing, tablez, lists, findreplace, codeboxes, ctdb
    File “/usr/share/cherrytree/modules/support.py”, line 23, in <module>
    import cons, config, exports
    File “/usr/share/cherrytree/modules/config.py”, line 45, in <module>
    SPELL_CHECK_LANG_DEFAULT = locale.getdefaultlocale()[0]
    File “/usr/lib/python2.7/locale.py”, line 545, in getdefaultlocale
    return _parse_localename(localename)
    File “/usr/lib/python2.7/locale.py”, line 477, in _parse_localename
    raise ValueError, ‘unknown locale: %s’ % localename
    ValueError: unknown locale: en_IL

    I am new to Debian and would really appreciate any help solving the problem.

    #124875

    giuspen
    Moderator

    Hi please try and run the github version where this problem is fixed

    #124876

    dream12
    Member

    Thanks for the tip, I stumbled into same problem github:
    https://github.com/giuspen/cherrytree/commit/a3ec9d8714d3b5dcafd858d2f16abae9c5d580f5

    Instead of cloning a dev version I just edited my config.py with the instructions at the link.

    Funny thing is that now the software works great נוא I can’t write in Hebrew. Hebrew works great across the OS but when I try to type inside cherrytree nothing happens (not in the nodes names and note inside them. I can copy paste Hebrew text just fine.

    #124877

    dream12
    Member

    Edit,
    I purged the stable version and cloned the dev version using:
    git clone https://github.com/giuspen/cherrytree.git git_cherrytree

    And got the git_cherrytree folder.
    Once I inside and try to run cherrytree nothing happens (my first time cloning software using git)

    When I type cherrytree, I get:
    bash: cherrytree: command not found

    #124878

    giuspen
    Moderator

    ./cherrytree – mind the dot slash

    #124879

    dream12
    Member

    Thanks, was able to run the dev version, but now I am getting new error

    raceback (most recent call last):
    File “./cherrytree”, line 78, in <module>
    f_main(args)
    File “./cherrytree”, line 49, in f_main
    import main
    File “/home/kobi/git_cherrytree/modules/main.py”, line 42, in <module>
    import cons, core
    File “/home/kobi/git_cherrytree/modules/core.py”, line 40, in <module>
    import support
    File “/home/kobi/git_cherrytree/modules/support.py”, line 30, in <module>
    import config
    File “/home/kobi/git_cherrytree/modules/config.py”, line 85
    -SPELL_CHECK_LANG_DEFAULT = locale.getdefaultlocale()[0]
    SyntaxError: can’t assign to operator

    #124890

    giuspen
    Moderator

    What debian are you running? Try and delete and git clone again and try also python2 ./cherrytree

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.