[10:31:07] Hi, please I'm currently leading an event where it appears the number of Wikitech account creation has been exceeded! [10:31:45] Any help anyone, I'd like to request temporary lift of IP cap [10:31:48] How many more accounts are you expecting? [10:31:57] around 30 [10:32:26] Can you file a request in phabricator and then I can get it actioned? [10:32:46] https://meta.wikimedia.org/wiki/Mass_account_creation#Requesting_temporary_lift_of_IP_cap [10:33:04] ta xSavitar I was about to go find that :) [10:33:56] * xSavitar hi 5’s Reedy [10:34:19] Working on that right now [10:34:26] Thanks [10:37:53] I've filled a report and assigned you [10:38:05] Is that ok by you! [10:38:50] Interesting. You've got 3 IPs and still having problems? :) [10:40:13] mahveotm_: You have a typo in the last ip [10:40:13] 197.210.53.1179 [10:40:15] Sure, all allow a maximum of 10 users only! [10:40:20] is it 117 or 119? [10:40:24] or 179? [10:40:26] or... :) [10:40:38] It is .179 [10:40:54] Thanks, I'd effect the change on phabricator now [10:46:40] mahveotm_: Should be all done now [10:51:32] Yeah, thank Reedy! [10:51:37] Appreciated! [10:51:51] Reedy has superpowers :) [10:52:31] Thanks for helping out so quickly Reedy. 3 beers awaiting to get to you :) [12:17:33] !log tools.lexeme-forms restarted webservice after redirect loop [12:17:36] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lexeme-forms/SAL [14:00:12] !log tools.lexeme-forms git remote add github https://github.com/lucaswerkmeister/tool-lexeme-forms.git # work around T224677 [14:00:14] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lexeme-forms/SAL [14:01:26] !log tools.lexeme-forms git remote add github https://github.com/lucaswerkmeister/tool-lexeme-forms.git # work around T224677 [14:01:28] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lexeme-forms/SAL [14:04:15] !log tools.lexeme-forms deployed f09dfd20a1 (Dutch nouns) [14:04:15] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lexeme-forms/SAL [19:28:38] I've followed https://wikitech.wikimedia.org/wiki/Help:Toolforge/FAQ#My_Tool_requires_a_package_that_is_not_currently_installed_in_Toolforge._How_can_I_add_it? [19:28:58] and yet I'm getting No such module errors from my script [19:38:02] !help [19:38:02] Izhidez: If you don't get a response in 15-30 minutes, please create a phabricator task -- https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?projects=wmcs-team [19:45:49] filed https://phabricator.wikimedia.org/T225367 [19:47:19] You should probably show what commands you are running [19:47:30] Are you actually running your script in the venv after you've created it? [19:48:16] i'm running it through jsub [19:49:11] /usr/bin/jsub -l release=trusty -N cron-tools.deltaquad-bots-Imagerevdel -once -quiet python /data/project/deltaquad-bots/jobs/imagerevdel/main.py > /dev/null [19:49:11] 2&>1 [20:24:15] I'm trying to follow the instructions here: https://wikitech.wikimedia.org/wiki/Help:Toolforge#Updating_files [20:24:57] as my tool account, I can't read /home/ksft, and I can't take files [20:27:16] I can't chown the files as either account [20:37:46] ksft: how are you copying the files in the first place? [20:37:52] andrewbogott: scp [20:38:09] do you also have an ssh session going? [20:38:22] I have one right now [20:38:34] ok [20:38:46] I'm not sure if I had one going when I used scp [20:38:48] does it matter? [20:39:00] No, it doesn't, just ssh will help us solve the problem :) [20:39:15] Do you mostly know about file permissions or mostly not? [20:39:22] I think mostly [20:39:22] (Just wondering where to start the explanation) [20:39:47] What's an example of a file that you want to take? [20:40:09] (I don't see any files in /home/ksft at the moment) [20:40:09] foo.html, say [20:40:11] oh [20:40:16] yeah, I moved them [20:40:21] but they're still owned by ksft [20:40:30] ah, I see [20:40:40] what's the tool name? [20:40:47] they're in rfastats [20:41:00] they're sharededitors.html and sharededitors.py [20:43:08] so I don't know for sure if this will work since I don't know exactly how 'take' works. But it might help to make the files world writeable before trying to chown them. [20:43:30] Which would mean as user ksft you'd do "chmod a+w /path/to/file" [20:45:01] it still says "Operation not permitted" when I try to chown as rfastats [20:45:18] and "You need to share a group with the file" when I try to take [20:50:13] ok, let's see if this works for you... [20:50:36] 1) as ksft, do 'chrgp tools.rfastats /path/to/sharededitors.py' [20:50:46] (I already did this with sharededitors.html and it worked for me) [20:50:54] then become tools.rfastats [20:51:04] and 2) take /path/to/sharededitors.py [20:52:49] yes, it worked! [20:54:19] great! Clumsy but should at least get you moving again. [20:54:32] I am unclear on how 'take' would ever work without that extra step :/ [20:55:53] docs suck, and people making assumptions :) [20:57:59] is take different from chown? [20:58:48] also, is there a way to install PyPI packages? [21:00:47] ksft: can you confirm that the docs at https://wikitech.wikimedia.org/wiki/Help:Toolforge#Updating_files are now at least slightly better? [21:01:01] I think that 'take' is basically 'chown' with some default args but I'm not positive. [21:01:20] definitely [21:01:28] they're definitely better, I mean [21:01:33] great. [21:01:44] I've uploaded files before without trouble [21:01:52] but not for a while [21:01:54] I would expect PyPi to work much the same in a venv as pip or whatever but I don't have any actual experience with it. [21:01:55] I wonder what I did [21:02:13] ah, I need to deal with virtualenv? [21:02:15] Maybe something changed with perms/masks in NFS [21:02:50] ksft: since your code will run on a different host from the one you're writing it on, you need things to be bundled up somehow. These might help: https://wikitech.wikimedia.org/wiki/Help:Toolforge/FAQ#My_Tool_requires_a_package_that_is_not_currently_installed_in_Toolforge._How_can_I_add_it [21:04:21] yeah, that makes senses [21:05:17] does virtualenv only work with Python 2? [21:06:57] I'm sure it works with 3 as well but couldn't immediately tell you how to change the args [21:26:49] I can't get it to run a CGI script with Python 3 with the package I need [21:27:23] I got it so that rfastats/env/bin/python3 has the package [21:27:36] I tried putting that path in the shebang at the top of my script [21:27:51] I can run the script from a shell [21:28:08] of course, the CGI part fails, but it imports what I need successfully [21:28:32] but when I run `webservice start' and try using a web browser, it fails [21:52:08] ksft: I don't know quite how it's done but it's definitely a thing other folks are doing. I need to go to sleep — sorry I'm not more help!