|14 May 2022|
|Michel Alexandre Salim joined the room.||17:18:32|
|15 May 2022|
|isker joined the room.||05:45:24|
hi, on my self-hosted instance of nitter, visiting some user profiles results in a page titled "Jester route exception" with this as the contents:
i can't reproduce this problem on any other instance of nitter that i try. it only happens on some user profiles and not others. there's nothing in the log other than the same message displayed on the page.
i tried to dig into the code to get a better characterization of the problem:
any pointers would be appreciated.
|zedeus|| isker: Hey, thanks for looking into it! ||10:21:51|
|suhashebbar joined the room.||10:45:58|
In reply to @zedeus:tchncs.de
thanks, so seems like nim isn't really giving true locations in this stacktrace? maybe because of the asyncness? there is no
the only usage i can see is here: https://github.com/zedeus/nitter/blob/ecb6fe4162142f7260b36d4ac4021d6ac7cd2b49/src/experimental/parser/user.nim#L11. my understanding is that nim
i really wonder what could possibly be different about my instance here...
|zedeus||Could it be your specific version of pcre/libpcre? It needs to be built with unicode, which is usually the case but not always||18:07:39|
|16 May 2022|
In reply to @zedeus:tchncs.de
well, it turns out the inputs just are different. some print debugging has revealed: using this profile's bio https://nitter.net/jesawyer, i get the first string here, the official docker image gets the second https://play.nim-lang.org/#ix=3XSw. that is indeed not unicode 🌞.
i suppose i should mention: i am using nitter from nixpkgs, on nixos. of course nix is a bizarro world that could produce this situation :). i guess i will try to understand where/how this encoding strangeness happens.
|isker||okay, after just a few more minutes i'm almost certain it'll be https://github.com/zedeus/nitter/commit/62f8d48c5a1f07c09ebd14fb37abf03d95a73b52, or the lack thereof, in nixpkgs: https://github.com/NixOS/nixpkgs/blob/1d7db1b9e4cf1ee075a9f52e5c36f7b9f4207502/pkgs/development/nim-packages/jsony/default.nix#L5 gotta love it||00:27:07|
|isker||* okay, after just a few more minutes of reading i'm almost certain it'll be https://github.com/zedeus/nitter/commit/62f8d48c5a1f07c09ebd14fb37abf03d95a73b52, or the lack thereof, in nixpkgs: https://github.com/NixOS/nixpkgs/blob/1d7db1b9e4cf1ee075a9f52e5c36f7b9f4207502/pkgs/development/nim-packages/jsony/default.nix#L5 gotta love it||00:27:17|
|isker||i'll tempt fate and pre-emptively say: thanks for your help! i think this will be the fix.||00:28:03|
|isker||it works 🌞 https://github.com/NixOS/nixpkgs/pull/173214||01:20:14|
|TheFrenchGhosty||150 000 PR?!||01:31:29|
|SamLeh left the room.||03:31:41|
In reply to @isker:matrix.orgnice! glad I could help :)
|@cheer:tchncs.de removed their profile picture.||09:49:57|
|@cheer:tchncs.de removed their display name cheer.||09:50:16|
|@cheer:tchncs.de left the room.||09:50:20|
|ycbcyb joined the room.||10:37:58|
|idahotokens joined the room.||11:10:26|
|tyman left the room.||13:39:52|
|idahotokens left the room.||16:31:14|
|gd.xwj joined the room.||18:51:19|
|17 May 2022|
|Stalanic Anu joined the room.||13:56:11|
|WolfPackTech joined the room.||21:02:16|
|daniel joined the room.||21:15:40|