[01:43:20] Can anyone here help me figure out why -- var displayUTC = timeUTC.toLocaleTimeString('HH:mm:ss a'); -- doesn't return 01:38:43 AM? [01:43:21] Instead it returns 1:38:43 AM [01:43:22] (no leading 0) [02:12:18] Technical_13: That's JavaScript? [02:13:54] Yep. [02:14:01] Stupid assignment. [02:14:27] Instructor has us doing thibgs the hard way and bass ackwards [02:17:34] Where did you get the syntax from? Google shows no parameters for toLocalTimeString(). [02:20:52] http://pastebin.com/0psVuY0B [02:21:41] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleTimeString [02:24:41] Technical_13: Eh, and where do you see 'HH:mm:ss a' there? [02:25:17] It's not. [02:26:00] But that's ok.. I set it to en-US and called it good. [02:28:50] Coren|HKG: is tool labs SSL puppetized or manually installed? [02:30:02] jeremyb: I think the whole web stuff (balancer + servers) isn't puppetized yet. [02:30:09] ugh [02:32:24] Coren|HKG: do you want an RT or bz or what? (assuming it's right that it's unpuppetized so i can't patch it) [02:33:12] among other issues it's giving an untrusted scary warning for me on at least one device. (you are not serving a chain with the cert) [02:34:32] jeremyb: I saw a SSL chain bug re Tools. Moment. [02:35:10] https://bugzilla.wikimedia.org/23631 [02:35:33] No, I meant https://bugzilla.wikimedia.org/show_bug.cgi?id=52630 [02:35:47] right, i was just pointing to an example bug :) [02:35:54] i forgot about https://bugzilla.wikimedia.org/32473 [02:36:06] scfc_de: aha, danke [02:39:54] [bz] (8ASSIGNED - created by: 2Daniel Kinzler, priority: 4Unprioritized - 6enhancement) [Bug 52693] Allow login using mosh as an alternative to plain ssh on bastion - https://bugzilla.wikimedia.org/show_bug.cgi?id=52693 [02:39:55] [bz] (8NEW - created by: 2Ryan Lane, priority: 4Unprioritized - 6normal) [Bug 52630] Fix certificate chain issue for tools.wmflabs.org - https://bugzilla.wikimedia.org/show_bug.cgi?id=52630 [02:47:59] scfc_de: we need to kill -mc! [02:48:02] legoktm: ! [02:48:08] ahsdfkjhsdf [02:48:12] * legoktm slaps yuvipanda  [02:48:13] ok [02:48:16] lemme upgrade my bot [02:48:18] see what breaks [02:48:19] :P [02:48:20] ok [02:49:12] redis is on tools-redis right? [02:49:22] yuvipanda: ah, right, we were supposed to do that a few days ago [02:49:30] legoktm: yeah [02:49:36] k [02:49:39] scfc_de: we can't actually delete tools-mc, just kill memcached [02:49:49] since it still has a redis instance some people use. we can kill that in a few weeks [02:53:22] yuvipanda: It looks as if the number of people using tools-mc increases the longer the deadline has passed :-). But as said, I'm fine with that. [02:53:55] scfc_de: :) I also emailed labs-l a while ago setting a date in early next month for tools-mc to go away [02:55:18] yuvipanda: woot, it works! [02:55:22] woohoo! [02:55:24] >>> c['test'] = '1234' [02:55:25] >>> c['test'] [02:55:25] '1234' [02:56:35] :) [02:56:44] scfc_de: apt-get purge memcached? [02:56:48] also kill the C# thing [03:02:23] yuvipanda: Just to be very clear: On tools-mc, memcached can be disabled and purged, but the server itself and its redis service is to be kept UFN? [03:02:36] scfc_de: yup [03:04:05] yuvipanda: "* memcached is not running" => Seems to have not been running?! Or is it started by inetd? [03:04:24] scfc_de: well it is from petan so you never know. [03:04:26] ps aux? [03:05:15] No "mc" or "memcache" to be found there. [03:05:21] What's memcached's port? [03:07:23] the default on [03:07:26] one* [03:07:43] 11211 [03:11:41] "telnet: Unable to connect to remote host: Connection refused". /etc/init.d/memcached points to /usr/local/bin/memcached which is three times the size of the binary in the default package, so probably petan's version. Okay, let's purge memcached from tools-mc. [03:14:01] !log tools tools-mc: Purged memcached [03:14:04] Logged the message, Master [03:22:26] hah, petan's version [04:22:39] (03PS1) 10Yuvipanda: Rename run.bash to the more accurate kick.bash [labs/tools/grrrit] - 10https://gerrit.wikimedia.org/r/78627 [04:23:18] (03CR) 10Yuvipanda: [C: 032 V: 032] Rename run.bash to the more accurate kick.bash [labs/tools/grrrit] - 10https://gerrit.wikimedia.org/r/78627 (owner: 10Yuvipanda) [04:35:53] I am trying to connect to centralauth_p via python but I am not really sure the hostname for that [04:37:30] I can connect by doing sql centralauth_p but in my python script I tried using the same host name which i used to connect to enwiki_p which is enwiki.labsdb but it didn't work [04:38:15] does anyone know whats the correct hostname string for centralauth [04:41:09] er [04:41:13] centralauth.labsdb? [04:41:18] auduwage: ^ [04:43:54] legoktm thanks it worked i was using centralauthwiki.labsdb [04:44:02] :) [04:44:02] thanks alot legoktm [04:44:05] np [04:55:35] [bz] (8NEW - created by: 2Daniel Schwen, priority: 4Unprioritized - 6enhancement) [Bug 52717] libvips-tools, libtiff etc install - https://bugzilla.wikimedia.org/show_bug.cgi?id=52717 [05:01:50] another question: I used to use toolserver with pywikibot are there any instructions on installing pywikibot on toollabs..? [05:03:44] legoktm: ^ [05:04:04] auduwage: https://wikitech.wikimedia.org/wiki/User:Legoktm/pywikibot_on_tools_lab [05:05:39] legoktm I saw that I was little bit worried because this doesn't mention about a git repo and never knew that it has a git repo http://en.wikibooks.org/wiki/Pywikibot [05:05:57] auduwage: that guide is pretty out of date [05:06:14] https://www.mediawiki.org/wiki/Manual:Pywikipediabot/Gerrit [05:06:15] legoktm: Thanks [05:07:09] legoktm: Bookmarked it right away :) [05:14:40] legoktm: i was following the link that you provided and after doing python setup.py develop its asking if I want to change my default user directory "Your default user directory is "/home/auduwage/.pywikibot" How to proceed? ([K]eep [c]hange)" [05:15:07] keep [05:16:33] legoktm: little confuse on next task: "Do you want to copy user files from an existing pywikipedia installation?" [05:16:40] no [05:17:08] legoktm: I guess yes to this "Create user-config.py file? ([y]es, [N]o)" [05:17:13] yeah [05:17:22] there is documentation somewhere... [05:17:48] https://www.mediawiki.org/wiki/Manual:Pywikipediabot/generate_user_files.py is outdated >.> [05:18:33] I am thinking to add these instruction to my user page once i am done so someone can benifit [05:19:09] legoktm: Select family of sites we are working on (default: wikipedia): can I give comma seperated site numbers..? [05:19:27] it will give you the option once you enter one to add another one [05:27:46] legoktm: So I did Y on Create user-fixes.py file? ([y]es, [N]o) y '/home/auduwage/.pywikibot/user-fixes.py' written. [05:28:22] legoktm: but still when I do import pywikibot on python console i get ImportError: No module named pywikibot [05:32:45] auduwage: did you run... [05:32:50] source ~/pwb/bin/activate [05:32:50] cd pywikibot-core [05:32:50] python setup.py develop [05:33:21] and when you use the python console, did you already activate the virtualenv? [05:39:58] legoktm: Thanks, yeah had forgotten then I realized I was not in virtualenv when i tried to import pywikibot [05:40:20] legoktm: went back to virtualenv and all good thanks again [05:40:28] woot :D [05:42:08] legoktm: Yeap Thanks alot, lets see if the script works now :) I am starting to really like toollabs... hopefully I will not have to wait forever to get data unlike toolserver ... [08:33:56] NFS down? [08:35:15] Why is the tools load so high? [08:36:17] WTF? Tools seems to be fucked up. [09:32:17] Cyber, really??? [09:33:15] Generally seem to have levelled out again [09:34:01] Just webserver01 (Coren|HKG) Probabley getting close to the time the next one is needed :p [12:29:58] Hi all. I just successfully logged for the first time into Labs server. I remember that I read somewherean encouragement to ask for new applications/python modules, but I can't find where to post such requests. Can any of you help me? [14:15:55] petan: What happened at 14:00? [14:22:56] petan: ping [14:27:35] !labs [14:27:35] https://labsconsole.wikimedia.org/wiki/$1 [14:27:45] !toolserver [14:29:36] !newlabs is This is labs. It's another version of toolserver. Because people wanted it just like toolserver, an effort was made to create an almost identical environment. Now users can enjoy replication, similar commands, and bear the burden of instabilities, just like Toolserver. [14:29:36] Key was added [14:29:57] :p [14:30:04] !newlabs [14:30:04] This is labs. It's another version of toolserver. Because people wanted it just like toolserver, an effort was made to create an almost identical environment. Now users can enjoy replication, similar commands, and bear the burden of instabilities, just like Toolserver. [18:14:44] User:Elph around here? [18:30:20] [bz] (8ASSIGNED - created by: 2Daniel Kinzler, priority: 4Unprioritized - 6enhancement) [Bug 52693] Allow login using mosh as an alternative to plain ssh on bastion - https://bugzilla.wikimedia.org/show_bug.cgi?id=52693 [20:21:59] vernish problems on beta? [20:22:20] Request: GET http://simple.wikipedia.beta.wmflabs.org/wiki/Special:Nuke, from 127.0.0.1 via deployment-cache-text1 deployment-cache-text1 ([127.0.0.1]:3128), Varnish XID 967627886 [20:22:20] Forwarded for: 188.153.95.58, 127.0.0.1 [20:22:20] Error: 503, Service Unavailable at Sun, 11 Aug 2013 20:21:51 GMT [21:15:13] I need help to start pywikipedia/compat. I tried but I failed! [21:19:47] User:Russell Blau/Using pywikibot on Labs is confusing, since it is focused to rewrite. I can't add another trouble (converting from core to compat) to all other big issues. :-( [21:25:41] alex_brollo: what is the problem, exactly? [21:26:11] and if you have already experience running pywikipedia, what do you need in terms of labs-specific information? [21:30:40] I got some errors after "import wikipedia"; I suppose, that I need to know what to write into .bash_profile; to know if I have to start a .pywikibot directory; in brief, I need detailed suggestions for compat just as [21:31:07] Russell Blau gives fro core. [21:31:09] no, because all that is not relevant for compat [21:31:33] how did you get your /compat checkout and what is the exact error you get? [21:32:16] Consider that I am a windows user [21:32:53] it should be the same, except you have to use 'python scriptname.py' instead of 'scriptname.py' [21:33:31] from which folder have I to launch python - to import pywikipedia? [21:33:57] the directory where you unpacked it [21:35:07] I'm trying to use /shared/pywikipedia/compat. Have I to install a new pywikipedia instance? [21:44:42] you should be able to set the python path, but having a local copy might be easier [21:48:14] Ok; it's difficult and undocumented (for dummies). Please, can someone of you using a pywikipedia compat bot write an help page similar to that written by Russell Blau for rewrite? [21:49:18] The whole thing is VERY frustrating for users with a limited skill, as I am. [21:50:27] Or - the message is, that such users should not try tasks as driving a bot from Labs? [21:56:35] alex_brollo: it's not different from doing it on windows [21:56:50] the only thing that's somewhat complicated is the svn/git switch of pywikipedia [21:58:00] (03PS3) 10Tim Landscheidt: Simple tool to simplify using the backup snapshots [labs/toollabs] - 10https://gerrit.wikimedia.org/r/76313 (owner: 10Platonides) [22:03:30] Thanks valhallasw.... I appreciate your help, but believe me: it is different both from doing it on windows and on toolserver. Perhaps experts don't imagine at all that what they presume obvuious, is far from obvious for "normal" users. [22:03:34] (03CR) 10Tim Landscheidt: "Please do test on tools-dev." [labs/toollabs] - 10https://gerrit.wikimedia.org/r/76313 (owner: 10Platonides) [22:05:11] .... and much much harder for "sub-normal" users ;-) [22:06:52] Ok.... I'll try again. Thank you. [23:44:22] night all :) [23:55:09] guys. how can i use tools-redis in variable $wgMemCachedServers [23:55:21] ?