Last modified: 2014-06-19 23:46:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T68780, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66780 - Call to undefined method Elastica\Exception\Bulk\ResponseException::getResponse() in ElasticsearchIntermediary.php on line 171
Call to undefined method Elastica\Exception\Bulk\ResponseException::getRespon...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Highest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-18 13:03 UTC by Aude
Modified: 2014-06-19 23:46 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Aude 2014-06-18 13:03:53 UTC
could be i have wrong version of something although i don't think so.

When I run jobs, I get a fatal error:

Fatal error: Call to undefined method Elastica\Exception\Bulk\ResponseException::getResponse() in /Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/ElasticsearchIntermediary.php on line 171

Call Stack:
    0.0023     756144   1. {main}() /Library/WebServer/Documents/php-master/maintenance/runJobs.php:0
    0.0056    1287352   2. require_once('/Library/WebServer/Documents/php-master/maintenance/doMaintenance.php') /Library/WebServer/Documents/php-master/maintenance/runJobs.php:281
    0.0978   18369008   3. RunJobs->execute() /Library/WebServer/Documents/php-master/maintenance/doMaintenance.php:109
    2.0731   47888888   4. CirrusSearch\Job->run() /Library/WebServer/Documents/php-master/maintenance/runJobs.php:110
    2.0731   47888776   5. CirrusSearch\LinksUpdateJob->doJob() /Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/Job.php:52
    2.0744   48168392   6. CirrusSearch\Updater->updateFromTitle() /Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/LinksUpdateJob.php:47
    2.0798   48182176   7. CirrusSearch\Updater->updatePages() /Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/Updater.php:67
    2.1378   51097064   8. CirrusSearch\Updater->sendData() /Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/Updater.php:187
    2.1437   51505232   9. CirrusSearch\ElasticsearchIntermediary->failure() /Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/Updater.php:257
    2.1437   51505920  10. CirrusSearch\ElasticsearchIntermediary->extractMessageAndStatus() /Library/WebServer/Documents/php-master/extensions/CirrusSearch/includes/ElasticsearchIntermediary.php:97
Comment 1 Nik Everett 2014-06-18 13:08:04 UTC
Uhg!  Can you add the hashes of Elastica, CirrusSearch, and core just to be sure?
I'm on:

Elastica: 23b51bfd5949ceb77cfad07642e085d50dc38367
Cirrus:   8713ab602fcdac9168e451848fc774bde8d367e5
Core:     aa6a876a712380ed52cb16b898500dd01b8488d5

If it isn't versions (I don't imagine it is) it might be that Elastica changed how it handles exceptions and we don't have a test that checks how we log it - specifically the BulkException, since that is always spun off in a job and our tests run in a browser.  I'll pop this open in a few minutes and have a look.
Comment 2 Nik Everett 2014-06-18 17:23:30 UTC
https://gerrit.wikimedia.org/r/#/c/140348/1

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links