Code Monkey home page Code Monkey logo

Comments (13)

giuspen avatar giuspen commented on July 20, 2024 1

I see you are using Ubuntu studio and a KDE desktop, that may be the reason I'm not seeing the issue, as I'm on a GTK desktop.
I suspect some GTK needed stuff is not in the AppImage bundle, in fact I see errors loading a couple of GTK modules.
I will try to reproduce myself on a KDE desktop.

from cherrytree.

giuspen avatar giuspen commented on July 20, 2024 1

Turns out the issue is visible also on a GTK desktop. I wasn't seeing it because I had the cherrytree dependencies already installed. It's visible for example also on a clean Ubuntu (Gnome, GTK) 24.04 installation. I'll see if I can find out which library files are not copied over from the AppImage GTK script

from cherrytree.

giuspen avatar giuspen commented on July 20, 2024 1

I believe installing this will do for you, please confirm:

sudo apt install libgtksourceviewmm-3.0-0v5

from cherrytree.

giuspen avatar giuspen commented on July 20, 2024 1

I believe the issue is now fixed.
It would be very useful if you could confirm it:

  1. sudo apt purge libgtksourceviewmm-3.0-0v5
  2. sudo apt autoremove --purge
  3. check that you do see the issue again with the AppImage v1.1.2
  4. download
    https://www.giuspen.net/software/CherryTree-1.1.2+7-x86_64.AppImage and verify that there is no issue there

from cherrytree.

giuspen avatar giuspen commented on July 20, 2024

I can see that on 24.04 the AppImage doesn't even start, while runs correctly on 20.04.
I will investigate.

from cherrytree.

giuspen avatar giuspen commented on July 20, 2024

On 24.04 the appimage doesn't start because libfuse.so.2 is not found.
Running it from the terminal gave me that info so it was fixed after installing libfuse2t64.
I then tried on a 22.04 and it worked normally.
Can you try to run it from the command line and report if any error is printed?

from cherrytree.

keyboard-penman avatar keyboard-penman commented on July 20, 2024

Can you try to run it from the command line and report if any error is printed?

Thanks, I shall try that.

Edit:

I tried it, the application behaviour is same (expectedly). The following is printed in the terminal:

Gtk-Message: 12:20:09.722: Failed to load module "colorreload-gtk-module"
Gtk-Message: 12:20:09.723: Failed to load module "window-decorations-gtk-module"
[2024-04-28 12:20:09.723] [   ] [debug] /home/username/.config/cherrytree/config.cfg parsed
[2024-04-28 12:20:09.723] [   ] [warning] Unexp missing /usr/share/cherrytree/data/user-style.xml
[2024-04-28 12:20:09.723] [   ] [warning] Unexp missing /usr/share/cherrytree/data/user-style.xml

(AppRun.wrapped:9698): Gtk-WARNING **: 12:20:09.762: Theme directory places/128 of theme ubuntustudio has no size field


(AppRun.wrapped:9698): Gtk-WARNING **: 12:20:09.762: Theme directory places/scalable of theme ubuntustudio has no size field

[2024-04-28 12:20:10.064] [   ] [debug] Node 2 > secondnode
[2024-04-28 12:20:14.515] [   ] [debug] Node 1 > firstnode
[2024-04-28 12:20:18.416] [gtk] [critical] gtk_tree_view_scroll_to_cell: assertion 'tree_view->priv->tree != NULL' failed
[2024-04-28 12:20:25.917] [gtk] [critical] gtk_tree_view_scroll_to_cell: assertion 'tree_view->priv->tree != NULL' failed
[2024-04-28 12:20:33.067] [gtk] [critical] gtk_tree_view_scroll_to_cell: assertion 'tree_view->priv->tree != NULL' failed
[2024-04-28 12:20:39.747] [   ] [debug] Node 2 > secondnode

Note: Personal directory and cherrytree node names changed for privacy.

from cherrytree.

keyboard-penman avatar keyboard-penman commented on July 20, 2024

Thank you very much.

from cherrytree.

keyboard-penman avatar keyboard-penman commented on July 20, 2024

I wasn't seeing it because I had the cherrytree dependencies already installed

What are the package names of these dependencies?

Of course, a self-contained Appimage coming with these is the ideal solution, but as a temporary fix, could the problem be solved with sudo apt install <packagename>?

from cherrytree.

giuspen avatar giuspen commented on July 20, 2024

Correct @keyboard-penman installing the dependencies will fix the issue, if your distribution is too old though you may find an old package with incorrect dependencies.
I can paste here later the current dependencies on Ubuntu 22.04

from cherrytree.

keyboard-penman avatar keyboard-penman commented on July 20, 2024

sudo apt install libgtksourceviewmm-3.0-0v5

Yes, it did indeed work. Thank you, again.

from cherrytree.

keyboard-penman avatar keyboard-penman commented on July 20, 2024

I believe the issue is now fixed. It would be very useful if you could confirm it:

  1. sudo apt purge libgtksourceviewmm-3.0-0v5
  2. sudo apt autoremove --purge
  3. check that you do see the issue again with the AppImage v1.1.2
  4. download
    https://www.giuspen.net/software/CherryTree-1.1.2+7-x86_64.AppImage and verify that there is no issue there

Just did this.

Purging ibgtksourceviewmm-3.0-0v5 did cause the error again.

And it was fixed with the new Appimage.

Problem solved, it appears :)

Thank you so much for addressing this.

from cherrytree.

giuspen avatar giuspen commented on July 20, 2024

Excellent, many thanks @keyboard-penman for reporting and verifying the fix

from cherrytree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.