Closed jeena closed 3 years ago
Does streaming fail for other instances too?
Hm, I'm not sure I would need to create a user on a different instance and test. I will try to do that during lunch.
I tested it now with a new @jeenatest@mastodon.social account but get the same error:
➜ jeena@winky flatpak run com.github.bleakgrey.tootle
(process:2): Gtk-WARNING **: 11:00:42.588: Locale not supported by C library.
Using the fallback 'C' locale.
** Message: 11:00:42.669: Build.vala:32: Tootle 1.0.0-alpha1
** Message: 11:00:42.669: Build.vala:33: Running on: GNOME master (Flatpak runtime)
** Message: 11:00:42.669: Build.vala:34: Build prefix: "/app"
** Message: 11:00:42.790: Accounts.vala:134: Loaded 1 accounts
** Message: 11:00:42.791: Accounts.vala:18: Switching to @jeenatest@mastodon.social...
** Message: 11:00:42.791: Network.vala:50: GET: https://mastodon.social/api/v1/accounts/verify_credentials
** Message: 11:00:42.792: Application.vala:144: Presenting MainWindow
** (com.github.bleakgrey.tootle:2): CRITICAL **: 11:00:42.808: tootle_instance_account_get_stream_url: assertion 'self != NULL' failed
** (com.github.bleakgrey.tootle:2): WARNING **: 11:00:42.910: Request.vala:94: No account was specified or found for GET: /api/v1/timelines/home?limit=12
** (com.github.bleakgrey.tootle:2): WARNING **: 11:00:42.910: Request.vala:94: No account was specified or found for GET: /api/v1/notifications?limit=12
** (com.github.bleakgrey.tootle:2): WARNING **: 11:00:42.910: Request.vala:94: No account was specified or found for GET: /api/v1/timelines/public?local=true&limit=12
** (com.github.bleakgrey.tootle:2): WARNING **: 11:00:42.910: Request.vala:94: No account was specified or found for GET: /api/v1/timelines/public?limit=12
** Message: 11:00:43.207: Accounts.vala:25: OK: Token is valid
** Message: 11:00:43.207: Network.vala:50: GET: https://mastodon.social/avatars/original/missing.png
** Message: 11:00:43.209: Network.vala:50: GET: https://mastodon.social/api/v1/timelines/home?limit=12
** Message: 11:00:43.209: Network.vala:50: GET: https://mastodon.social/api/v1/notifications?limit=12
** Message: 11:00:43.209: Network.vala:50: GET: https://mastodon.social/api/v1/timelines/public?local=true&limit=12
** Message: 11:00:43.209: Network.vala:50: GET: https://mastodon.social/api/v1/timelines/public?limit=12
** Message: 11:00:43.587: Network.vala:50: GET: https://files.mastodon.social/accounts/avatars/000/000/001/original/d96d39a0abb45b92.jpg
** Message: 11:00:43.591: Network.vala:50: GET: https://files.mastodon.social/accounts/avatars/000/591/557/original/d7f011a006aee531.png
** Message: 11:00:43.594: Network.vala:50: GET: https://files.mastodon.social/accounts/avatars/000/023/972/original/f7eed2443a18d556.jpeg
...
** Message: 11:00:44.593: Network.vala:50: GET: https://files.mastodon.social/accounts/avatars/000/250/861/original/3f23e1cde4bb7edc.jpeg
** Message: 11:00:44.594: Network.vala:50: GET: https://files.mastodon.social/cache/media_attachments/files/104/930/399/778/149/562/small/ced4203e4928fc1c.jpg
** (com.github.bleakgrey.tootle:2): WARNING **: 11:00:45.058: Cache.vala:97: "https://files.mastodon.social/accounts/avatars/001/023/976/original/d05c6c3cace8ca16.jpeg" -> Pixbuf: FAIL (Unrecognized image file format)
** (com.github.bleakgrey.tootle:2): CRITICAL **: 11:01:37.257: file ../src/Services/Streams.vala: line 127: uncaught error: JSON data must be UTF-8 encoded (json-parser-error-quark, 6)
** (com.github.bleakgrey.tootle:2): WARNING **: 11:01:37.257: Streams.vala:80: Couldn't handle websocket event. Reason: Received Json.Node for TootleAPIStatus is null!
Even though this was also on a different computer, although on Arch Linux too.
Wait no, even though I get similar log output on the mastodon.social account I can see automatically when someone writes, so it has something to do with my own setup, interesting.
Is it perhaps related to CORES? It shouldn't because it's not a browser but who knows.
Couldn't reproduce on master with multiple instances so I'm assuming something was wrong with your setup.
⚠️ Please try to fill in every blank. Keep the information clear and concise.
What should happen:
When new toots arrive at the server they should be shown in the UI automatically.
What happened instead:
New toots on the server don't show up in the UI automatically, instead I need to press Ctrl+r to get them loaded from the server and shown.
How to reproduce:
Screenshots (if applicable):
__
Build context:
Logs:
Additional info (if needed):
__