Skip to content

Freeze/crash after a short time #79

@cyberpunkrocker-zero

Description

@cyberpunkrocker-zero

Arch Linux, something-for-reddit-0.2.2-1 (AUR):
It works fine for a short time after setting an account, but if I move to another subreddit, it tries to load it forever, just the "busy" spiral being visible. If I restart the app, the GUI never loads, just a small "busy" spiral, and in the terminal I get the following error:

`(reddit-is-gtk:31647): Gtk-WARNING **: 20:08:01.900: Attempting to add a widget with type GtkImage to a GtkButton, but as a GtkBin subclass a GtkButton can only contain one widget at a time; it already contains a widget of type GtkLabel

(reddit-is-gtk:31647): Gtk-CRITICAL **: 20:08:01.900: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed

Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/redditisgtk/api.py", line 345, in __message_done_cb
j = json.loads(str(data, 'utf8'))
File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)`

If I remove the .local/share/reddit-is-gtk directory and start again, something-for-reddit again works for some time, then the errors start again...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions