samdroid-apps / something-for-reddit

A Reddit Client For GNOME (with Gtk+ and Python)
GNU General Public License v3.0
162 stars 14 forks source link

Freeze/crash after a short time #79

Open cyberpunkrocker-zero opened 4 years ago

cyberpunkrocker-zero commented 4 years ago

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...