[00:04:22] someone could close it ? https://phabricator.wikimedia.org/T122678#1910651 Its a tool [00:06:27] 6Labs, 7Tracking: Request new project - https://phabricator.wikimedia.org/T122678#1910657 (10Wilfredor) 5Open>3Resolved [00:06:29] 6Labs, 7Tracking: New Labs project requests (tracking) - https://phabricator.wikimedia.org/T76375#1910658 (10Wilfredor) [00:14:02] how i can see the supported languages in wmlabs tools? [00:36:12] 6Labs, 10Tool-Labs: mediawiki-mirror jobs generate grid errors (?) - https://phabricator.wikimedia.org/T122640#1910740 (10Anomie) `qacct -j 501129` indicates that the job was the lighttpd job. The rest of the stats are oddly empty, no idea whether that's due to T122638 blowing everything up or whatever was cau... [00:42:24] valhallasw`cloud: what is current status of this: https://phabricator.wikimedia.org/T60784 [01:06:15] someone with server side upload access to commons? [01:06:38] https://phabricator.wikimedia.org/T122685 [01:08:23] Is that google drive link one that will let you wget? [01:08:25] /curl [01:14:32] Reedy: I don't know [01:15:02] Reedy: no [01:19:39] Reedy: edited [01:19:46] Reedy: thanks, the link is https://www.googledrive.com/host/0B_83e6pluQprUnhHMGhJTDQwdGc [01:22:24] Reedy: wget link is in the ticket https://phabricator.wikimedia.org/T122685 its very long [01:34:40] 6Labs, 10Tool-Labs: [Tool Labs] Database credential file replica.my.cnf missing in my home directory on Tool Labs (/home/wiki13). - https://phabricator.wikimedia.org/T122657#1910803 (10zhuyifei1999) CC ing @YuviPanda as author of [[https://github.com/wikimedia/operations-puppet/commits/813d46591708cbacc5e8f5d4... [01:52:51] how I could apply a text replace in all pages in a category? [02:02:26] Krenair: done, you can use wget [02:02:40] Krenair: the link now is public https://phabricator.wikimedia.org/T122685 [02:21:37] 6Labs, 10Tool-Labs: Not showing up as maintainer for several projects on toollabs - https://phabricator.wikimedia.org/T122456#1910835 (10scfc) 5stalled>3Resolved I have changed the `id` index on the `users` table back to `UNIQUE`: ``` MariaDB [toollabs_p]> SHOW COLUMNS FROM users; +----------+------------... [02:35:38] my god Ian Murdock :'( [02:44:46] The_Photographer, you may want to change the formatting of the page itself [02:44:47] Krenair: thanks [02:45:04] Krenair: Yes, I am doing that in this right moment [02:45:07] :) [02:45:08] k [05:20:28] hi [05:23:08] I'm failing to arrange a Flask app for Tool Labs into subfolders in a way that works with both Python 2 and 3 [05:23:40] such as [05:24:06] data/project/mytool [05:24:22] src [05:24:37] err [05:24:47] data/project/mytool [05:24:56] www [05:25:07] python [05:25:19] src [05:25:31] src [05:25:34] templates [05:25:42] static [05:25:43] etc [05:26:18] such as in https://gerrit.wikimedia.org/r/#/c/241296/ [05:26:30] I heard you provide help via IRC [05:30:30] no luck [05:30:37] uhm ok [05:33:01] Ricordisamoa: I haven't tried making a flask tool yet. I think I saw something on wikitech about it however... [05:33:17] yes, it works :) [05:33:44] but I have to put all .py files in www/python/src, templates in www/python/src/templates etc. [05:34:16] I can't get .py files in www/python/src/src to work :( [05:34:57] https://lists.wikimedia.org/pipermail/labs-l/2015-December/thread.html#4190 [05:36:41] hmm... [05:37:09] * bd808 goes to read Ricordisamoa's python code [05:40:18] Are you trying the uwsgi-plain setup for python3? [05:42:07] As with so many things, I think YuviPanda|afk and ori are the masterminds behind the uwsgi setup for Tool Labs [05:43:08] are you getting some error messages or just nothing starting at all? [05:44:20] !log stashbot Shutdown logstash and disabled puppet so it won't restart accidentally [05:44:22] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Stashbot/SAL, Master [05:44:27] playing with import statements, I am able to get it work in Python 2 OR Python 3 but not both [05:44:36] !log tools.stashbot The bot is alive! [05:46:13] Ah. Is it some difference in the default sys.path then? [05:46:58] I guess it has to do with differences between the local development server I run on Python 3 and uWSGI on Tool Labs, Python 2 [05:47:29] Yuvi should know [05:47:49] there are some notes at https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Python_.28uwsgi-plain.29 about running under python3 for uwsgi services [05:48:37] maybe you can figure out how to get your tool on python3 and get rid of one difference in your test/prod setup? [05:49:04] yes, maybe I should go with uwsgi-plain [05:49:38] but "mountpoints don't work with python 3" [05:50:30] that's not very nice is it :/ [05:50:59] I'm at a loss :( [05:51:12] can you go the other direction then and setup a VM or something for python2.7 on your dev machine? [05:51:34] I wanted to get rid of Python 2 ASAP :( [05:52:05] * bd808 loves his python2 and hasn't ever jumped on the python3 bandwagon [05:52:22] I know that makes me "one of those" people [05:52:41] but hey I write PHP code for a living so ... :) [05:54:49] Ricordisamoa: have you seen this? -- https://github.com/unbit/uwsgi/issues/621#issuecomment-132635247 [05:55:04] looks like there might be a workaround for the python3 mountpoint issue [05:55:13] Yes, I'm experimenting with uwsgi-plain right now :) [06:08:41] 6Labs, 10Tool-Labs, 5Patch-For-Review, 15User-bd808: Setup an experimental, user accessible (read+write) ES cluster for Tool Labs - https://phabricator.wikimedia.org/T120040#1911362 (10bd808) 5Open>3Resolved The stashbot, sal and bash tools are all now using the tools cluster! [06:12:18] oooooooooooohhhhooooooooooooo! [06:13:41] * bd808 waits to hear if Ricordisamoa has stubbed a toe or found a solution [06:13:56] * Ricordisamoa found a solution [06:14:07] \o/ [06:14:12] * Ricordisamoa is going to post details [06:14:18] perfect [06:28:10] 6Labs, 10Tool-Labs, 5Patch-For-Review: support python3 uwsgi apps - https://phabricator.wikimedia.org/T104374#1911373 (10Ricordisamoa) Thanks to @bd808 and unbit it works! ``` virtualenv --python=python3 ~/www/python/venv source ~/www/python/venv/bin/activate pip install flask webservice2 uwsgi-plain start... [06:28:21] https://phabricator.wikimedia.org/T104374#1911373 [06:30:11] nice. you should update the wikitech page too [06:30:40] 6Labs, 10Tool-Labs, 5Patch-For-Review: support python3 uwsgi apps - https://phabricator.wikimedia.org/T104374#1911375 (10Ricordisamoa) Also routes and `static_folder` work as shown at https://tools.wmflabs.org/jshint/test and https://tools.wmflabs.org/jshint/static/xyz.css [06:34:42] done at https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Python_.28uwsgi-plain.29 [06:41:31] I'm not sure the Python modules/packages problem is fully resolved but now I can at least work with one version. Thanks for your astounding support! [06:42:10] You're welcome! I'm not sure I did much more than keep you talking until you solved your own problem :) [06:45:07] More work for Yuvi now! [07:33:23] (03PS2) 10Ricordisamoa: Make it work on Python 3 [labs/tools/translatemplate] - 10https://gerrit.wikimedia.org/r/225267 [07:33:42] (03PS3) 10Ricordisamoa: Switch to Python 3 [labs/tools/translatemplate] - 10https://gerrit.wikimedia.org/r/225267 [07:34:48] (03CR) 10Ricordisamoa: "PS2 switches to Python 3 only" [labs/tools/translatemplate] - 10https://gerrit.wikimedia.org/r/225267 (owner: 10Ricordisamoa) [07:35:15] (03CR) 10Ricordisamoa: "PS3 clarifies the commit message" [labs/tools/translatemplate] - 10https://gerrit.wikimedia.org/r/225267 (owner: 10Ricordisamoa) [07:36:41] (03CR) 10Ricordisamoa: [C: 032 V: 032] "Should be good to deploy with uwsgi-plain" [labs/tools/translatemplate] - 10https://gerrit.wikimedia.org/r/225267 (owner: 10Ricordisamoa) [08:51:26] 6Labs, 10Tool-Labs: mediawiki-mirror jobs generate grid errors (?) - https://phabricator.wikimedia.org/T122640#1911437 (10Nemo_bis) Some of the HTML pages generated by doxygen are quite huge, but static HTML oughtn't crash the webserver, right? [10:46:39] (03PS31) 10Ricordisamoa: Initial commit [labs/tools/wikidata-slicer] - 10https://gerrit.wikimedia.org/r/241296 [10:49:20] (03CR) 10Ricordisamoa: "PS30 moved *.py files into src/ and broke many things :(" [labs/tools/wikidata-slicer] - 10https://gerrit.wikimedia.org/r/241296 (owner: 10Ricordisamoa) [10:50:07] (03CR) 10Ricordisamoa: "PS31 is deployed with uwsgi-plain and Python 3!" [labs/tools/wikidata-slicer] - 10https://gerrit.wikimedia.org/r/241296 (owner: 10Ricordisamoa) [11:31:39] (03PS32) 10Ricordisamoa: Initial commit [labs/tools/wikidata-slicer] - 10https://gerrit.wikimedia.org/r/241296 [11:32:47] (03CR) 10Ricordisamoa: "PS32 removes an obsolete urllib import" [labs/tools/wikidata-slicer] - 10https://gerrit.wikimedia.org/r/241296 (owner: 10Ricordisamoa) [11:35:17] (03PS33) 10Ricordisamoa: Initial commit [labs/tools/wikidata-slicer] - 10https://gerrit.wikimedia.org/r/241296 [11:36:40] (03CR) 10Ricordisamoa: "PS33 removes obsolete unicode_literals imports" [labs/tools/wikidata-slicer] - 10https://gerrit.wikimedia.org/r/241296 (owner: 10Ricordisamoa) [12:10:13] Mavrikant: the same as back then, and it's not really high on the list of things to do, as there's a workaround [12:11:07] Mavrikant: basically, if someone knows what should be changed, it can be changed, but we don't know what this is yet, and we don't have the time to figure it out [12:36:45] 6Labs, 10Tool-Labs: GridEngine down due to bdb issues - https://phabricator.wikimedia.org/T122638#1911502 (10valhallasw) I'm still finding pieces of information that don't make a lot of sense on their own, but maybe they'll start making sense together. This is the network tx/rx for the master and shadow host f... [15:21:12] 6Labs, 10Internet-Archive, 10Labs-Infrastructure: Flood "Mail delivery failed: returning message to sender" - https://phabricator.wikimedia.org/T122700#1911617 (10Nemo_bis) 3NEW [15:21:29] 6Labs, 10Labs-Infrastructure: Flood "Mail delivery failed: returning message to sender" - https://phabricator.wikimedia.org/T122700#1911625 (10Nemo_bis) [15:25:14] 6Labs, 10Labs-Infrastructure: Flood "Mail delivery failed: returning message to sender" - https://phabricator.wikimedia.org/T122700#1911628 (10valhallasw) Did you get the same email ten times (same ID, 1aDCon-0003Gk-MV), or did this person just upload ten files? [17:17:28] (03CR) 10Ricordisamoa: "Deployed, works only when mwparserfromhell is cloned from git instead of installed via pip :/" [labs/tools/translatemplate] - 10https://gerrit.wikimedia.org/r/225267 (owner: 10Ricordisamoa) [18:37:09] (03PS6) 10Ricordisamoa: Initial commit [labs/tools/faces] - 10https://gerrit.wikimedia.org/r/192096 [18:40:34] (03CR) 10Ricordisamoa: "PS6 changes the license from GPL-3.0+ to Apache-2.0 and adds the boilerplate notice to all *.py files!" [labs/tools/faces] - 10https://gerrit.wikimedia.org/r/192096 (owner: 10Ricordisamoa) [18:47:17] (03PS7) 10Ricordisamoa: Initial commit [labs/tools/faces] - 10https://gerrit.wikimedia.org/r/192096 [18:48:03] (03CR) 10Ricordisamoa: "PS7 adds the boilerplate notice to all static/* files" [labs/tools/faces] - 10https://gerrit.wikimedia.org/r/192096 (owner: 10Ricordisamoa) [19:12:46] (03PS8) 10Ricordisamoa: Initial commit [labs/tools/faces] - 10https://gerrit.wikimedia.org/r/192096 [19:16:26] (03CR) 10Ricordisamoa: "PS8 uses url_for() for local static resources" [labs/tools/faces] - 10https://gerrit.wikimedia.org/r/192096 (owner: 10Ricordisamoa) [19:40:31] (03PS9) 10Ricordisamoa: Initial commit [labs/tools/faces] - 10https://gerrit.wikimedia.org/r/192096 [19:44:02] (03CR) 10Ricordisamoa: "PS9 changes 9 other relative URLs to url_for()" [labs/tools/faces] - 10https://gerrit.wikimedia.org/r/192096 (owner: 10Ricordisamoa) [19:45:25] (03PS10) 10Ricordisamoa: Initial commit [labs/tools/faces] - 10https://gerrit.wikimedia.org/r/192096 [19:49:57] (03CR) 10Ricordisamoa: "PS10 makes the login link on the optout page redirect to the optout page" [labs/tools/faces] - 10https://gerrit.wikimedia.org/r/192096 (owner: 10Ricordisamoa) [21:19:56] whois Ricordisamoa [21:59:34] ^ I guess he went off to discover himself [22:05:26] hi guys [22:05:36] How i could edit a page using mediawiki api? [22:05:39] its posible? [22:08:41] yes [22:08:56] token edit [22:28:15] languages supportes by wmflabs ? [22:28:54] I want use EJB 3, I don't know if labs support it [22:29:48] wmflabs support wildfly? [22:37:09] The_Photographer: there is some pre-built support for running java things using tomcat -- https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Java_.28Tomcat.29 [22:37:38] I'm not sure that there is any other "out of the box" java support [22:39:17] bd808: thanks [22:39:20] "If your Java application is more complex, the standard memory settings might not work." [22:39:20] You could try using a wrapper script and portgrabber to run a wildfly container -- https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Other_web_servers [23:11:22] bd808: nice script, thanks, works