[13:19:43] Reedy, where's the PHP fatals log on fenari? [13:28:57] /var/log/mw/fatal.log [13:41:26] TimStarling, thanks but it's empty though Reedy's posting fatal-related bugs [14:10:23] New patchset: Ottomata; "Replacing calls to _iso_8859_1__utf8 with a single set of GeoIP_set_charset. Also now including region in everything bird." [analytics/udp-filters] (master) - https://gerrit.wikimedia.org/r/15539 [14:12:29] Change abandoned: Ottomata; "Trying to figure out what happened with my local commit change ids." [analytics/udp-filters] (master) - https://gerrit.wikimedia.org/r/15539 [14:19:59] New patchset: Ottomata; "Replacing calls to _iso_8859_1__utf8 with a single set of GeoIP_set_charset. Also now including region in everything bird." [analytics/udp-filters] (master) - https://gerrit.wikimedia.org/r/15541 [14:19:59] New patchset: Ottomata; "Fixing help message, the bird is named 'latlon', not 'lonlat'" [analytics/udp-filters] (master) - https://gerrit.wikimedia.org/r/15542 [14:22:42] New review: Diederik; "Ok." [analytics/udp-filters] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/15541 [14:23:27] New review: Diederik; "Ok." [analytics/udp-filters] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/15542 [15:00:54] MaxSem: Fatal error: Call to a member function getText() on a non-object in /usr/local/apache/common-local/php-1.20wmf6/extensions/MobileFrontend/api/ApiMobileView.php [15:00:54] on line 160 is there again [15:01:03] /home/wikipedia/syslog/apache.log [15:01:29] Reedy, thanks [15:03:02] daaaemn, it doesn't log the URL [15:06:52] heh, srv193 is borken [18:35:23] who broke testwiki? [18:35:26] edit is broken [18:38:33] awjr: interesting, looks like php/apache is crashing. (ERR_ZERO_SIZE_OBJECT) [18:38:42] aye [18:46:55] brion: on production? or just test.wikipedia.org ? [18:47:17] hashar im only seeing it on test [18:47:19] here's the err: [18:47:20] Request: GET http://test.wikipedia.org/w/index.php?title=File:Barrio_Santa_Rosa_1342117308397.jpeg&action=edit, from 10.64.0.124 via cp1014.eqiad.wmnet (squid/2.7.STABLE9) to 10.0.2.193 (10.0.2.193) [18:47:20] Error: ERR_ZERO_SIZE_OBJECT, errno [No Error] at Thu, 12 Jul 2012 18:40:31 GMT [18:47:28] I think we are running a new PHP version there [18:47:30] or something like [18:47:31] that [18:47:35] oh fancy [18:47:41] hashar: on test only noticed it so far [18:47:42] no idea if we have a bug report about it [18:56:10] oh editing seems to work ok on test if you're logged in [18:56:15] or at least, if i'm logged in :p [19:33:22] chrismcmahon: ping pong :-) [19:33:37] chrismcmahon: do you happen to know if the selenium ruby stuff is going to use rspec or cucumber ? [19:33:41] or is that something else ;) [19:47:07] hi hashar right now I'm thinking RSpec but not Cucumber [19:47:50] chrismcmahon: thanks :-] [19:48:00] hashar: why do you ask? [19:48:03] talked about that with a coworker today [19:48:06] (just curious) [19:48:26] told him we were proceeding to use selenium and will use some magic ruby system to drive the web browser [19:48:38] then he told me about rspec / cucumber and I could not answer: -] [19:48:47] hashar: might be of interest: http://watirmelon.com/2012/06/22/rspec-page-objects-and-user-flows/ [19:48:54] also I am wondering about adding test to our operations/puppet repository [19:49:01] we just do syntax checking for now [19:49:24] ahah [19:49:26] hashar: we're very close to hiring a QA Engineer, and things will move faster after that [19:49:32] chrismcmahon: I love how you challenge various people :-] [19:49:43] chrismcmahon: definitely. That will be great to have someone around :-D [19:50:06] hashar: I have a cool test for UploadWizard, just haven't checked it in yet :) [19:50:29] chrismcmahon: I think marktraceur has made some work on UploadWizard recently [19:50:35] he might be your first customer :-D [19:50:45] first/premium [19:50:48] yes, that's one reason I want to have a browser test for it [19:51:13] (that, and because I wasn't sure it could be done, but it can) :) [19:51:18] https://gerrit.wikimedia.org/r/#/q/project:mediawiki/extensions/UploadWizard+is:open,n,z [19:51:20] \O/ [19:51:32] nobody to review him though :( [19:52:00] hashar: kaldari, I think, is the primary person for review of UW. But he's been busy :) [19:52:22] chrismcmahon: also I have met the creator of Behat, a BDD framework in PHP which seems to be able to use Selenium as a backend [19:52:24] chrismcmahon: http://behat.org/ [19:53:02] Behat looks like Cucumber :) [19:53:11] exactly [19:53:17] he basically loved Cucumber [19:53:22] and ported it to PHP [19:53:30] somehow [19:53:41] The driver to drive Selenium is http://mink.behat.org/ [19:54:08] it supports a browser emulation ( named Goutte ) [19:54:50] Goutte headless browser. Goutte is a classical pure-php headless browser, written by the creator of the Symfony framework - Fabien Potencier. [19:54:51] https://github.com/fabpot/goutte [19:55:13] disclaimer: Behat author works for Fabien Potencier who is the boss of a good friend (who is the technical director hehe) [19:55:46] chrismcmahon: that is just for the sake of it. Behat is PHP which is great, but it most probably lack the community the ruby stuff has already [19:58:41] as I understand it, there are something like 6 different Selenium-WebDriver implementations in PHP, none complete and none fully supported. Se-Webdriver in Ruby is fully compliant with both W3C and HTML5 standards, and RSpec is pretty unique as a way to do test assertions. [19:59:12] and rake integrates nicely with Jenkins, too I believe [20:29:04] New review: Diederik; "Ok." [analytics/udp-filters] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/9859 [20:34:01] Change merged: Ottomata; [analytics/udp-filters] (master) - https://gerrit.wikimedia.org/r/9859 [20:36:04] Change merged: Ottomata; [analytics/udp-filters] (master) - https://gerrit.wikimedia.org/r/15541 [20:36:24] Change merged: Ottomata; [analytics/udp-filters] (master) - https://gerrit.wikimedia.org/r/15542 [21:43:37] chrismcmahon: will have to test out rake on jenkins one day. Thanks and have a good day! ;-) [21:54:24] hi, folks, I'm looking for someone to write a MediaWiki extension around an improved commenting interface… is this the right place to ask for interested contractors? [21:59:59] to be clear, I'm looking for someone that I will pay to write the extension [22:02:28] Hello [22:02:52] any wikimedia ops around? [22:55:16] try { [22:55:16] if( array_key_exists( $colorId, self::$mColors ) ) { [22:55:16] return self::$mColors[$colorId]; [22:55:16] } else { [22:55:16] throw new Exception( $colorId ); [22:55:18] } [22:55:20] } catch( Exception $e ) { [22:55:22] echo 'Invalid color ID : ' . $e->getMessage() . "\n"; [22:55:24] } [23:54:14] Reedy, that code hurts...! [23:54:37] Yeah [23:54:44] I couldn't work out why the hell you'd do that [23:58:08] where is that color? [23:58:25] enterprisy rules of "errors shall throw an exception"? [23:58:40] It's in Quiz [23:59:05] it's tidied up now