[16:02:17] [coretasks.py] The server sent a possibly malformed MODE message: :RhinosF1!uid339563@miraheze/RhinosF1 MODE ##RhinosF1 -z [16:02:32] No [16:02:35] It didn't [16:35:09] RhinosF1: if zppixbot says it did then it did okay, ZppixBot is never wrong xD [16:35:21] okay Zppix [16:35:24] jk [16:35:48] it really means that there was no user specified (cause the channel mode chnaged not a users flags) [16:38:53] RhinosF1: no it really means ZppixBot is bored and needs something to complain about [16:39:44] Zppix: probably :) [16:40:36] RhinosF1: i could make it stop sending that error to irc but it would make it stop sending all debug messages that arent warnings and I dont want that cause sometimes the useful stuff can be marked as a debug warning [16:41:26] yeah, it's not that bad [16:41:43] and editing coretasks.py would mean I would have to manually update that file with each bot update with anything new RhinosF1 [16:41:55] coretasks.py comes with sopel [16:42:00] I just like annoying bots tbh [16:42:17] RhinosF1: i like breaking them (i guess) [16:42:24] Zppix: heh [17:38:23] .ip google.com [17:38:23] [ip.py] Downloading GeoIP database [17:38:24] Downloading GeoIP database, please wait... [17:39:35] [IP/Host Lookup] Hostname: sof01s11-in-f110.1e100.net | Location: United States | Region: California | City: Mountain View | ISP: AS15169 Google LLC [17:40:06] that takes about as long as usual [17:40:26] Voidwalker: I deleted the db files it pulls from cause last time it was quicker [17:40:33] .ip wikimedia.org [17:40:33] [IP/Host Lookup] Hostname: text-lb.eqiad.wikimedia.org | Location: United States | ISP: AS14907 Wikimedia Foundation Inc. [17:40:37] huh [17:40:37] Voidwalker: see how fast that is [17:40:44] whack [17:40:46] .ip zppix.tk [17:40:51] now see [17:40:54] [IP/Host Lookup] Unable to resolve IP/Hostname [17:41:00] now thats bullshit [17:41:07] .ip zppix.tk [17:41:09] [IP/Host Lookup] Unable to resolve IP/Hostname [17:41:13] .ip testwiki.wiki [17:41:13] [IP/Host Lookup] Hostname: testwiki.wiki | Location: United States | Region: Georgia | City: Atlanta | ISP: AS3842 RamNode LLC [17:41:35] .ip www.zppix.tk [17:41:40] [IP/Host Lookup] Unable to resolve IP/Hostname [17:41:54] ZppixBot: get your head out of your ass that should resolve for you [17:41:57] .isup zppix.tk [17:42:06] http://zppix.tk looks down from here. [17:42:17] lmao [17:42:21] its not though [17:42:27] anyway [17:42:35] Voidwalker: still why is it getting slower after a few days [17:42:51] Voidwalker: cause i did delete the database it pulls from thrusday and it was fine until today [17:42:55] that is a valid and odd question [17:43:10] Voidwalker: the db file was only 61M before i deleted it [17:43:34] so really not that big of a file to read [17:44:21] Voidwalker: i wish i knew if it had to pull from the internet anything [17:45:00] Voidwalker: heres the code for the iplookup module https://github.com/sopel-irc/sopel/blob/v6.6.9/sopel/modules/ip.py [17:45:00] [ sopel/ip.py at v6.6.9 · sopel-irc/sopel · GitHub ] - github.com [17:45:50] Voidwalker: it looks like it legit just pulls from the file [17:45:57] Voidwalker: so theres no bandwidth issue [17:46:13] I'ma ssh in and take a look [17:46:21] Voidwalker: theres nothing in any logs that i can see [17:46:52] Voidwalker: heres the cmd to look at the containers logs kubectl logs sopel.bot-815168397-b3dhm [17:47:04] oh, I just want to take a look at the db files [17:47:42] Voidwalker: you cant cat them i tried it desont get pretty [17:48:03] Voidwalker: but if you know how to please share [17:57:35] Voidwalker: anything? and how did you look at the db files [17:59:06] haven't yet [17:59:19] been looking into the geoip.database module [18:00:36] Voidwalker: what the code ? or the file if so how [18:00:51] code [18:01:05] ah [18:56:45] this issue is really bothering me, as I can find no apparent reason for it [18:57:21] Voidwalker: heh thats my issue as well [18:57:27] Voidwalker: it never used to take this long [18:57:39] I noticed it a week or two before i switched to python 3 so its not that [19:16:11] Voidwalker: I mean am i wrong is it pulling something from the internet on every .ip ? [19:16:48] yeah, it should open a socket on every request to resolve dns [19:17:33] Voidwalker: i wonder if theres a way to see if theres a bandwidth or something network wise slowing it down [19:18:13] hmm, I doubt it's that though [19:18:18] Voidwalker: you know what... Wikimedia started using cloudflare traceroute to tools.wmflabs shows no cloudflare but i wonder if traffic coming out from toolforge goes through cloudflare [19:18:30] if it clears after regenerating the .mmdb files [19:18:42] let me run a trace from toolforge [19:20:28] Voidwalker: this is strange a traceroute to both miraheze.org or cp4.miraheze.org never ends at the destination even after 30 lines of traceroute [19:20:43] thats from tools.wmflabs.org ssh'd in as the tool [19:20:43] wild [19:20:50] Voidwalker: i wonder if this is why [19:21:02] yeah, but then every .ip would be slow [19:22:03] Voidwalker: not really the wikimedia one i did wouldnt, it doesnt leave their network [19:22:21] Voidwalker: the google one probably wouldnt because they probably use it as a DNS somewhere [19:22:46] yeah, but doing .ip miraheze.org isn't slow right now [19:22:57] .ip miraheze.org [19:22:57] [IP/Host Lookup] Hostname: cp2.miraheze.org | Location: United States | Region: Georgia | City: Atlanta | ISP: AS3842 RamNode LLC [19:23:19] Voidwalker: i wonder if its cached because of the links it sends get requests to because of #miraheze [19:24:52] I wish i knew what kuberemetes server ZppixBot was on so i can pull it up on grafana [19:30:10] Zppix, I'm getting a similar issue on windows doing a tracert for miraheze.org, so [19:30:42] Voidwalker: i found the server ZppixBot is on im going to see if theres any weird network utilzation on grafana [19:34:52] ok nevermind cloud services grafana is messy [19:35:19] Voidwalker: i legit have no clue why it is doing this [19:35:33] Voidwalker: unless the host can litterally not handle that load [19:36:15] i expect a couple seconds of delay but the delay is almost if not a minute [19:36:23] as I said, I doubt it's the network [19:36:37] what else could it be Voidwalker [20:14:07] [irc.py] Exception from Voidwalker: KeyError: 'test' (file "/data/project/zppixbot/lib/python3.5/site-packages/sopel/modules/reload.py", line 60, in reload_module_tree) (:Voidwalker!~Voidwalke@wikipedia/The-Voidwalker PRIVMSG ZppixBot :.reload) [20:14:44] hmm yes, very helpful [20:15:03] [irc.py] Exception from Voidwalker: KeyError: 'test' (file "/data/project/zppixbot/lib/python3.5/site-packages/sopel/modules/reload.py", line 60, in reload_module_tree) (:Voidwalker!~Voidwalke@wikipedia/The-Voidwalker PRIVMSG ZppixBot :.reload) [20:15:27] [irc.py] Exception from Voidwalker: KeyError: 'testing' (file "/data/project/zppixbot/lib/python3.5/site-packages/sopel/modules/reload.py", line 60, in reload_module_tree) (:Voidwalker!~Voidwalke@wikipedia/The-Voidwalker PRIVMSG ZppixBot :.reload) [20:16:06] [irc.py] Exception from Voidwalker: KeyError: 'inquiry' (file "/data/project/zppixbot/lib/python3.5/site-packages/sopel/modules/reload.py", line 60, in reload_module_tree) (:Voidwalker!~Voidwalke@wikipedia/The-Voidwalker PRIVMSG ZppixBot :.reload) [20:16:21] ZppixBot, what do you want from me? [20:18:05] ZppixBot: reload [20:18:07] [irc.py] Exception from #ZppixBot: KeyError: 'inquiry' (file "/data/project/zppixbot/lib/python3.5/site-packages/sopel/modules/reload.py", line 60, in reload_module_tree) (:Voidwalker!~Voidwalke@wikipedia/The-Voidwalker PRIVMSG #ZppixBot :ZppixBot: reload) [20:19:03] ZppixBot: reload [20:19:05] [irc.py] Exception from #ZppixBot: KeyError: 'inquiry' (file "/data/project/zppixbot/lib/python3.5/site-packages/sopel/modules/reload.py", line 60, in reload_module_tree) (:Voidwalker!~Voidwalke@wikipedia/The-Voidwalker PRIVMSG #ZppixBot :ZppixBot: reload) [20:23:28] ZppixBot: reload [20:23:29] [irc.py] Exception from #ZppixBot: KeyError: 'test_module' (file "/data/project/zppixbot/lib/python3.5/site-packages/sopel/modules/reload.py", line 60, in reload_module_tree) (:Voidwalker!~Voidwalke@wikipedia/The-Voidwalker PRIVMSG #ZppixBot :ZppixBot: reload) [20:29:43] .help [20:29:58] oh dear [20:31:15] .help [20:33:57] [coretasks.py] Received an apparently useless MODE message: :ZppixBot MODE ZppixBot :+i [20:34:29] .help [20:34:30] Hang on, I'm creating a list. [20:34:32] I've posted a list of my commands at https://clbin.com/0oIpi - You can see more info about any of these commands by doing .help (e.g. .help time) [20:35:49] [irc.py] Exception from Voidwalker: KeyError: 'test_module' (file "/data/project/zppixbot/lib/python3.5/site-packages/sopel/modules/reload.py", line 60, in reload_module_tree) (:Voidwalker!~Voidwalke@wikipedia/The-Voidwalker PRIVMSG ZppixBot :.reload) [20:39:23] ZppixBot: reload [20:39:36] .help [20:39:38] Hang on, I'm creating a list. [20:39:40] I've posted a list of my commands at https://clbin.com/s5pPy - You can see more info about any of these commands by doing .help (e.g. .help time) [20:43:38] [02ZppixBot-Source] 07The-Voidwalker pushed 031 commit to 03master [+1/-0/±0] 13https://git.io/JesLO [20:43:39] [02ZppixBot-Source] 07The-Voidwalker 03c26dc7d - Add testing module for testing [20:44:08] ZppixBot: reload [20:44:17] .help [20:44:19] I've posted a list of my commands at https://clbin.com/s5pPy - You can see more info about any of these commands by doing .help (e.g. .help time) [20:45:40] Pix1234/ZppixBot-Source/master/c26dc7d - The-Voidwalker The build is still failing. https://travis-ci.org/Pix1234/ZppixBot-Source/builds/587932315 [20:48:24] Voidwalker: what are you doing now? [20:48:56] trying to add a test to see if it's pulling the databases correctly [20:49:11] but apparently I can't add modules, and ZppixBot won't reload [20:49:20] Voidwalker: ill try [20:49:30] Voidwalker: it wont let me use .reload iill just kill the bot [20:49:35] Voidwalker: ok? [20:49:46] yeah, I've already had to do that :P [20:49:55] Voidwalker: oh did that work? [20:50:08] no, and it wasn't exactly the same problem [20:50:15] Voidwalker: whats the issue now? [20:50:27] well, now it's what I told you [20:50:34] before I managed to make the entire bot non-responsive :P [20:50:56] Voidwalker: so it wont do anything? [20:50:57] .help [20:50:59] I've posted a list of my commands at https://clbin.com/s5pPy - You can see more info about any of these commands by doing .help (e.g. .help time) [20:51:05] no, that was before [20:51:09] now it's not reloading [20:51:13] .reload [20:51:19] ZppixBot: reload [20:51:27] should get a response out of that [20:51:44] but it's not responding, and the module I added is still not loading [20:52:00] Voidwalker: https://www.irccloud.com/pastebin/DMNut0Dy/ [20:52:40] so that's the issue? [20:53:02] [02ZppixBot-Source] 07Pix1234 pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/JesL8 [20:53:03] [02ZppixBot-Source] 07Pix1234 03d03a8aa - Update test_module.py [20:53:13] Voidwalker: i just changed something let me see [20:54:07] yeah, but I thought I only used spaces? [20:54:31] [coretasks.py] Received an apparently useless MODE message: :ZppixBot MODE ZppixBot :+i [20:54:36] ZppixBot: reload [20:54:40] Zppix: done [20:54:44] fixed it Voidwalker [20:54:48] look at my diff [20:54:51] whack [20:55:07] how was that what was wrong? [20:56:21] Voidwalker: if you were doing what i think you were trying to do """Message""" needs to be under the def blah [20:56:50] that should have been a valid module level doc string [20:57:13] like the one at the top of miraheze.py [20:57:41] Voidwalker: well for whatever reason it didnt like that [20:58:19] .testing [20:58:19] Zppix: /data/project/zppixbot/.sopel [20:58:20] And a file exists there too! [20:58:45] Voidwalker: im confused on what your module was testing lol [20:58:48] all that, and we are no closer to an answer [20:59:11] I was making sure it was pulling the right db [20:59:22] .version [20:59:25] Zppix: Sopel v. 6.6.9 [20:59:32] .help [20:59:32] I've posted a list of my commands at https://clbin.com/4wYK3 - You can see more info about any of these commands by doing .help (e.g. .help time) [21:00:07] the whole point was to make sure it wasn't doing something like checking /usr/share/GeoIP [21:00:35] (which probably would have been pretty obvious, but I don't know what else to check) [21:00:42] Voidwalker: could it be one of the things it requires not being installed properly? [21:00:53] which thing? [21:01:01] dependencies [21:01:20] ok, but which dependency? [21:01:32] Voidwalker: idk, im running pip check rn [21:01:46] ideally it'd just fail [21:01:49] okay pip check show'd nothing [21:02:07] Voidwalker: well if it is installed but maybe one of the files is from an old version and didnt get updated? [21:03:20] ugh, why is using pip not as simple as typing pip [21:03:21] Voidwalker: i could force pip to reinstall all the dependices [21:03:33] Voidwalker: source /bin/activate [21:06:13] Voidwalker: should i try force reinstalling all sopel's dependices ? [21:06:39] ehh, it's using the latest geoip2 version [21:06:44] so it's not that [21:06:55] you could try it anyway if you want [21:07:28] Voidwalker: okay (lets hope i dont either, melt toolforge, blow up a datacenter, or screw up anything about my bot) [21:08:42] have fun with that [21:09:54] Voidwalker: i mean i just wget the requirements.txt from sopel's github and then had pip read that [21:10:31] Voidwalker: There are some errors in here but i have no clue what they mean in English xD https://www.irccloud.com/pastebin/QAgCUfnE/ [21:10:32] [ Snippet | IRCCloud ] - www.irccloud.com [21:13:02] "aspell.h: No such file or directory" [21:13:15] dunno how to even begin fixing that one [21:15:12] Voidwalker heh aspell-python-py3 wont even install so thats probably why [21:15:23] Voidwalker: my guess is it needs something thats gotten from apt [21:15:45] Voidwalker: and the reason we dont get this error when we run the bot is that its probably installed for everyone in a shared dir or something [21:17:43] Voidwalker: how do you use grep i forget and the documentation is like me trying to read french upside down with greek written on top of that [21:19:19] what are you trying to do [21:21:05] Zppix, ^ ? [21:21:23] Voidwalker: i want to verify that im right in saying that when we actually run the bot we dont get that error [21:21:58] what, the aspell.h error? [21:22:06] Voidwalker: i swear we wouldnt have these issues if i could just have sudo... and yes the aspell.h one [21:22:35] cat whateverlog.log | grep aspell.h [21:22:57] ok [21:23:15] do you think we could install https://github.com/maxmind/libmaxminddb/blob/master/README.md ? [21:23:15] [ libmaxminddb/README.md at master · maxmind/libmaxminddb · GitHub ] - github.com [21:23:38] (or see if it is installed?) [21:23:39] Voidwalker: anything that needs sudo is not possible im pretty sure we could try [21:23:53] (i wish they had a list of what is installed for everyone) [21:24:21] Voidwalker: ok so i was right nothing in the logs for the bot about aspell [21:24:26] Im so confused [21:24:56] yeah, figures [21:25:06] might be able to make it not as sudo [21:25:08] Voidwalker: let me try installing that thing [21:25:16] Voidwalker: how? [21:25:26] just leave out the sudo [21:25:43] Voidwalker: so i just need to get the tarball? [21:26:10] yeah, you'd have to install from the tarball [21:26:26] i think i can do that (never done it before) [21:27:11] Voidwalker: where do i get the tarball? [21:28:50] https://github.com/maxmind/libmaxminddb/releases/tag/1.3.2 [21:28:51] [ Release 1.3.2 · maxmind/libmaxminddb · GitHub ] - github.com [21:29:25] k [21:31:06] Voidwalker: it says to do ./configure but thats not a thing? [21:33:45] Voidwalker: am i doing it wrong? [21:35:13] have you unpacked the tarball? [21:36:22] Voidwalker: that would be helpful wouldnt it lol [21:36:26] yeah [21:39:50] Voidwalker: make install requires sudo [21:39:51] :/ [21:40:12] absolutely requires sudo? or is there a get-around [21:41:09] Voidwalker: heres the error https://www.irccloud.com/pastebin/W9uMt7O9/ [21:41:10] [ Snippet | IRCCloud ] - www.irccloud.com [21:42:29] try ./configure --prefix=~/bin/ [21:43:08] if that doesn't work, I'll play with it when I get back [21:46:12] Voidwalker: ill let you figure it out lol [22:23:33] Zppix, something feels wrong about there being a ~/bin/bin directory :P [22:24:49] Voidwalker: idk just fix it :P [22:25:05] yeah, doing [22:33:05] Zppix, we uh, seem to have it installed already at ~/lib/libmaxminddb-1.3.2/ [22:33:20] Voidwalker: thats where i untarballed it [22:33:31] oh, ok [22:33:36] well, that explains a lot :P [22:33:47] Voidwalker: i told you i dont know what i was doing [22:34:20] I couldn't find the untarballed thing, so I assumed it had been deleted [22:34:49] nope xD [22:37:10] anyway, I may have figured it out [22:37:26] but I might have to move that install folder [22:38:21] ok [22:44:40] well, it's been installed I think [22:45:31] now the only question is how to make sure it get used [22:48:17] * Voidwalker has no idea [22:51:01] did I only miss Zppix blowing ZppixBot up? or was that u this time Voidwalker [22:52:48] we both did a little :P [22:52:57] heh [22:53:03] Voidwalker: hey I didnt actually break anything [22:53:09] Voidwalker: i just didnt install something right [22:53:10] Zppix isn't the only person breaking anything [22:56:12] Voidwalker: i also find it interesting that my domain doesnt even get a result in .ip lol [23:25:12] Voidwalker: so whats next to fix it? [23:26:04] not sure, but we need to make sure the python script knows how to use the library [23:28:35] Voidwalker: i dont know how to do that [23:31:20] welcome to the club