Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freeze/crash after a short time #79

Open
cyberpunkrocker-zero opened this issue Jun 12, 2020 · 0 comments
Open

Freeze/crash after a short time #79

cyberpunkrocker-zero opened this issue Jun 12, 2020 · 0 comments

Comments

@cyberpunkrocker-zero
Copy link

cyberpunkrocker-zero commented Jun 12, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant