bleakgrey / tootle

GTK-based Mastodon client for Linux
GNU General Public License v3.0
401 stars 61 forks source link

Crash right after opening on Arch #107

Closed ekianjo closed 4 years ago

ekianjo commented 5 years ago

It used to work fine until today.

Here are the messages from the Terminal:

Application.vala:155: Tootle version: 0.2.0 Application.vala:157: Kernel version: 4.19.1-arch1-1-ARCH Notificator.vala:40: Starting: /api/v1/streaming/?stream=user Notificator.vala:40: Starting: /api/v1/streaming/?stream=user Notificator.vala:40: Starting: /api/v1/streaming/?stream=user Notificator.vala:40: Starting: /api/v1/streaming/?stream=public:local Notificator.vala:40: Starting: /api/v1/streaming/?stream=public (com.github.bleakgrey.tootle:4942): Gtk-WARNING **: 20:14:14.174: gtk_window_set_titlebar() called on a realized window [INFO] Watchlist.vala:23: Reloading [INFO] Watchlist.vala:34: Watching for 0 users and 0 hashtags [ERROR] [GLib-GIO] Settings schema 'io.elementary.desktop.wingpanel.datetime' is not installed Trace/breakpoint trap (core dumped)

bleakgrey commented 5 years ago

I blame Granite (https://github.com/elementary/granite/pull/242)

Try downgrading or upgrading libgranite to see if it helps. There's not much I can do at the moment as Tootle heavily depends on Granite's relative date parsing functionality.

goupildb commented 5 years ago

On 64-bit Debian Sid, libgranite has been updated on November 09, 2018. Tootle worked in this period, then stopped working from November 14, 2018 to November 16, 2018, and yesterday, November 19, 2018 he crashed again on the same messages, without Granite being updated. Strange.

gir1.2-granite-1.0 (5.1.0-2) to 5.2.1-1 libgranite-common (5.1.0-2) to 5.2.1-1 libgranite-dev (5.1.0-2) to 5.2.1-1 libgranite5 (5.1.0-2) to 5.2.1-1

I downgrade granite to 5.1.0-+2 and then Tootle work again.

FedericoCeratto commented 5 years ago

Temporary workaround for Debian (and possibly Ubuntu) users: download the package for your architecture from https://snapshot.debian.org/package/granite/5.1.0-2/\#libgranite5_5.1.0-2 and install it with sudo dpkg -i <filename>

decathorpe commented 5 years ago

This crash is due to a silently introduced dependency of granite on wingpanel-indicator-datetime with versions 5.2 and newer.

Since I don't want to introduce nonsensical (basically the whole Pantheon DE) dependencies (and circular dependencies) to all applications using granite, I've held off updating granite on fedora and I'm working on getting this fixed upstream (port to meson: https://github.com/elementary/granite/pull/240 , allowing me to easily fix this: https://github.com/elementary/granite/pull/242 ).

bleakgrey commented 5 years ago

@decathorpe Any chance this is going to be ever fixed? I see that you've closed your PR and the upstream still doesn't have this changed.

decathorpe commented 5 years ago

@bleakgrey I don't know. The branch for my PR had diverged from upstream significantly, which is why I closed it for now. However, I've rebased my patch and fixed this issue for the official fedora packages (with a - hopefully temporary - downstream patch), but I've not been able to work with the elementary developers to find an acceptable solution for upstream inclusion. I think that I proposed a workable solution until it can be solved in a better way, but the perfect seems to be the enemy of the good in this case.

TanyaEleventhGoddess commented 5 years ago

Affected by this bug too, I hope it will be fixed soon.

decathorpe commented 5 years ago

FYI, the latest release of granite (5.2.4) reverts the controversial change.

TanyaEleventhGoddess commented 5 years ago

Are you sure? It seems the latest version is 1.1.5 https://graphite.readthedocs.io/en/latest/install.html

decathorpe commented 5 years ago

Are you sure? It seems the latest version is 1.1.5 https://graphite.readthedocs.io/en/latest/install.html

@TanyaEleventhGoddess You seem to be confusing the granite and graphite libraries.

TanyaEleventhGoddess commented 5 years ago

The packages libgraphite2-dev on debian are still on versions 1.*, even in sid I find unlikely that graphite libraries are so far away even from sid repo, but I'll avoid stating this as certain

ldutra commented 5 years ago

The packages libgraphite2-dev on debian are still on versions 1.*, even in sid I find unlikely that graphite libraries are so far away even from sid repo, but I'll avoid stating this as certain

This is about Granite, not Graphite.