[00:33:02] hello quick question, I am trying to verify if my bot can access via login; I know the credentials are correct, but I am getting " does not have read permissions on wikipedia:simple" [00:35:39] Are you using a "Bot Password"? [00:36:14] Hey Reedy - yes both version the separate bot and pw and the bot and bot@pw [00:36:22] @Reedy [00:37:23] I wonder if it's a pywikibot quirk [00:38:04] would it need a flag before it can login? [00:38:08] No [00:39:24] @Reedy - you ok if I send you a screen shot in DM? [00:40:04] https://github.com/wikimedia/pywikibot/blob/fe343ed4ea125e099b31afb6774e027013ddda57/pywikibot/login.py#L259-L261 [00:40:55] ? @Reedy [00:41:20] Just looking at what would result in that message being returned [00:41:54] you ok if i send you screen shots? [00:42:28] Just post the links in here [00:44:05] ok I will need to go change the passwords again [00:44:16] @Reedy https://usercontent.irccloud-cdn.com/file/GR7lNRSF/image.png [00:44:33] @Reedy https://usercontent.irccloud-cdn.com/file/tVQlAp9l/image.png [00:45:49] It's also saying incorrect username or password entered [00:46:03] So I would suspect that that is wrong [00:46:05] correct, that's why I don't understand it [00:46:21] It is correct, that is the password it gave me [00:46:43] Your config is wrong, looking at https://www.mediawiki.org/wiki/Manual:Pywikibot/BotPasswords [00:46:44] https://www.irccloud.com/pastebin/PAR1Z3lq/ [00:47:04] In the file user-password.py, add a line ('Valhallasw', BotPassword('my-botpassword-name', 'mysupersecretbotpassword')) [00:47:23] That is how it got regenerated using python3 /data/project/shared/pywikibot/stable/pwb.py generate_user_files [00:47:40] Probably because of what you enterd [00:47:48] Try changing it like that example [00:48:07] That was the command sent to me by bd808; Valhallasw is the bot name, correct? [00:48:46] Yeah, the actual account username [00:48:58] Not whatever you called that bot password instance [00:51:19] @Reedy what would be "my-botpassword-name" after the password "('Valhallasw', BotPassword('my-botpassword-name',.." [00:52:06] Possibly the same as the bots username [00:52:16] Depends what you entered when you created it [00:55:44] https://www.irccloud.com/pastebin/UpJdAEpd/reedy [00:55:52] @Reedy [00:59:41] https://phabricator.wikimedia.org/T309898 [00:59:44] seems to be a known bug [01:00:50] okies Thanks all :) Much appreciated [01:21:43] @Reedy - another question. So the error I am seeing is my TPs are semi-protected. I set the bot permissions to yes for everything. I just tried doing a test on my own test page and it came back the page is locked and it cannot archive anything. [01:22:20] Is it a new account? Is it autoconfirmed? [01:23:06] no it was started in june [01:23:37] Has it made any edits to become autoconfirmed? [01:24:40] it needs 10 edits I guess but I do not know how to do that. should I just log in as my bot and make changes to the talk page until it becomes autoconfirmed? [01:24:43] https://simple.wikipedia.org/w/index.php?title=Special%3AUserRights&user=PDLBotArchiver [01:31:16] That's what most people would do, or something similar, yes [01:41:09] ok @Reedy so almost worked. It archived what I wanted it to, but #1 it left a message on my TP (basically edit summary possibly from the archiving) #2 it also should have completed archive three and went into archive 4, instead it put everything into archive 1. That won't fly when it comes time to run it on AN and ST and such. [09:25:53] I am working on a project named canasta, and we had to make use of Floating IP, but even after associating the IP with the instance, its not shows in its connected interfaces, or when running 'ip a' in the terminal. [09:25:54] Also does it require additional permissions to add a security policy group to a floating IP, even when I am a project admin. [09:27:00] @amal_paul: the floating IP is implemented on our network layer, meaning that your instance will see traffic arriving with the private IP [09:27:15] and security groups assigned to the instance in general will apply to the floating IP too [09:29:44] Ooh got it. Thanks [09:29:45] But the other issue I face is that as soon as I associate a Floating IP to the instance, it cannot ping to any sites like google.com, and even though the current ssh connection stays, cannot ssh into the instance, unless I disassociate the IP [09:30:19] hmm, weird, let me have a look [09:30:41] Yeah Okay, is there something I need to share? [09:38:33] I found the issue with our system, but not yet sure how to fix it [09:39:25] the issue being that the system is allocating floating IPs outside of the IP range we have reserved for them [09:41:14] try now :-) [09:42:25] Okay [09:44:44] I am not sure if anything has changed. [09:45:24] I did try releasing the IP and associating it again [09:45:41] oh, that broke it again [09:46:03] I'll fix it for you again [09:46:22] Ooh sorry, I thought I had to do that. thanks [09:47:08] now everything seems to be working properly again [09:48:32] Okay thank You, internet is accessible. [13:26:48] PotsdamLamb: I wasn't following the whole thread, but if you need an account to be confirmed, you can ask at https://en.wikipedia.org/wiki/Wikipedia:Requests_for_permissions/Confirmed. [13:27:26] Being autoconfirmed is just an automatic way of getting the confirmed permission, but it can be granted manually [13:56:45] @roy649 I just made multiple edits to the tp and it works [13:57:11] ok, that works too. Just wanted to make sure you were aware of the other option. [14:00:38] yeah the only issue I am facing now is when I ran a quick test on my TP instead of putting it in the appropriate archives (for me would be complete 3 and start 4) it put everything in 1. [14:51:19] * PotsdamLamb does not trust @bd808 since he shut down all wp servers at once many years ago lol [14:56:22] PotsdamLamb: more importantly, I got them all running again 6 minutes later :) [14:57:35] should have only taken 30 seconds then no one would have ever known lol [14:58:27] you clearly haven't met wikipedians [15:06:54] @AntiComposite - he works for WMF, he should be better lmao [15:09:12] anyone here want to help me track down something? When I ran a test with my archiver bot on my TP everything worked except for the bot put the archived talks and put them in archive 1 instead of completing archive 3 and starting on archive 4. [15:43:39] !log paws updating to give hub pod a cpu request so that it cannot be resource starved [15:43:41] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Paws/SAL [16:22:00] !log admin pooling cloudweb1003/1004 now that grant issues are sorted [16:22:03] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Admin/SAL [16:41:30] !log err, depool cloudweb1003/1004 since horizon seems to be having issues [16:41:31] taavi: Unknown project "err," [16:41:39] !log admin depool cloudweb1003/1004 since horizon seems to be having issues [16:41:41] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Admin/SAL [17:05:53] anyone have a few minutes to help me [19:00:07] PotsdamLamb: I suggest you ask your question, and someone will help when they have time (https://dontasktoask.com/) [19:25:51] Good evening! Did anything unusual happen on the Buster grid engine on the 18th of July (four days ago)? I only noticed today that my continuously running bot script was stopped on that day by "KeyboardInterrupt" (according to the log). :-o [19:26:54] Never saw this happening before (and I'm not even sure how a script started with jstart could be stopped by a KeyboardInterrupt?!) [19:28:31] @tkarcher you have a cat? child? that is who I usually blame it on [19:29:16] Three kids, but definitely too young to SSH into my bot account. :-D [19:30:13] Also, when I logged in today, it said my last login was begin of June (which is correct). [19:32:02] tkarcher: in theory some on-going maintenance to replace some nodes could cause something like that, but according to my logs that wasn't happening on 2022-07-18 [19:32:26] unfortunately the grid engine isn't exactly the most reliable piece of software we have around here [19:35:42] true [19:35:49] I know I'm encouraged to migrate to Kubernetes, but I didn't find the time to dive into that yet. Guess I'll have to move this a bit higher on my list now. :-/ [19:37:35] (Tried it before when Stretch was taken down, but failed, so settled with Buster for the time being) [19:38:50] what I want is a freaking script that will add a template and add the wikidata item number to it so I do not have to do all 3k of them manually [19:38:51] lol [19:39:33] and to fix the one bug on my bot [19:39:49] Thanks anyway. So I'll watch the job a bit closer in future and try to move it asap. [19:40:50] I thought Kubernates was the new way to go anyways @tkarcher [19:41:07] tkarcher: sounds good. sorry I can't be more helpful! [19:41:39] PotsdamLamb: it is, but grid engine is still 'supported' for now, while we work on ensuring that k8s can do most reasonable things that the grid can do [19:41:50] ah ok [19:43:18] PotsdamLamb I know that, but I have zero knowledge or experience with that and failed miserably when I tried to migrate to it a couple of weeks ago. [19:44:03] gotcha [19:44:10] (Not the fault of Kubernetes. Just sheer incompetence.) [19:45:40] Well this is interesting. I ran my bot no issues yesterday, now I am getting TypeError: %d format: a number is required, not strtools. [19:59:31] did someone change the DB to accept %s now and not %d? They broke my bot [20:00:04] @tavi [20:00:10] @taavi [20:00:34] nope [20:00:47] you don't need to ping me, I'm not the only person in this channel [20:01:46] well yesterday it accepted %d today I got the error message above so I changed it to %s and now it works; didn't mean to ping you but I posted in other channels and I am getting no response sorry about that [21:48:34] PotsdamLamb: I did not commit the pywikibot release [21:48:43] I sent a PR for updating paws [21:48:55] Which if you look is changing one number [21:50:33] I've never used pywikibot before. I have my own tools for wiki editing that just use plain requests [21:58:12] @RhinosF! "New upstream release for Pywikibot - https://phabricator.wikimedia.org/T313621 (LibUp-bot)" [21:58:23] @RhinosF1 even [22:00:54] PotsdamLamb: actually read the task [22:04:06] Rhinos so this may be the issue? "Error messages with ‘%’ style is deprecated in favour for str.format() style" [22:05:01] PotsdamLamb: I've no idea how to help you. I'm not going to look into pywikibot at 11pm on a Friday evening [22:05:18] No it is fine. I was just asking [22:05:26] enjoy your evening [22:55:43] !log huggle Joined project to help with T295487 [22:55:46] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Huggle/SAL [22:55:47] T295487: XMLRCs is not functioning - https://phabricator.wikimedia.org/T295487 [22:58:21] !log huggle Started stretch VM xmlrcs.huggle.eqiad1.wikimedia.cloud to restore service to Huggle end-users (T295487) [22:58:22] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Huggle/SAL