Last modified: 2013-03-18 07:49:43 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 T45778, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43778 - Unexpected non-MediaWiki exception encountered, of type "Solarium_Exception" exception
Unexpected non-MediaWiki exception encountered, of type "Solarium_Exception" ...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
master
All All
: High critical (vote)
: ---
Assigned To: Niklas Laxström
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-09 14:25 UTC by Aude
Modified: 2013-03-18 07:49 UTC (History)
3 users (show)

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


Attachments

Description Aude 2013-01-09 14:25:10 UTC
Unexpected non-MediaWiki exception encountered, of type "Solarium_Exception"
exception 'Solarium_Exception' with message 'Solr JSON response could not be decoded' in /usr/local/apache/common-local/php-1.21wmf7/extensions/Solarium/lib/Result.php:139
Stack trace:
#0 /usr/local/apache/common-local/php-1.21wmf7/extensions/Solarium/lib/Client/ResponseParser/Select.php(56): Solarium_Result->getData()
#1 /usr/local/apache/common-local/php-1.21wmf7/extensions/Solarium/lib/Result/QueryType.php(73): Solarium_Client_ResponseParser_Select->parse(Object(Solarium_Result_Select))
#2 /usr/local/apache/common-local/php-1.21wmf7/extensions/Solarium/lib/Result/Select.php(167): Solarium_Result_QueryType->_parseResponse()
#3 /usr/local/apache/common-local/php-1.21wmf7/extensions/Translate/ttmserver/SolrTTMServer.php(90): Solarium_Result_Select->getIterator()
#4 /usr/local/apache/common-local/php-1.21wmf7/extensions/Translate/utils/TranslationHelpers.php(243): SolrTTMServer->query('en', 'fi', ''''Label''' (or...')
#5 /usr/local/apache/common-local/php-1.21wmf7/extensions/Translate/utils/TranslationHelpers.php(423): TranslationHelpers->getTTMServerBox('TTMServer', Array)
#6 [internal function]: TranslationHelpers->getSuggestionBox()
#7 /usr/local/apache/common-local/php-1.21wmf7/extensions/Translate/utils/TranslationHelpers.php(206): call_user_func_array(Array, Array)
#8 /usr/local/apache/common-local/php-1.21wmf7/extensions/Translate/utils/TranslationHelpers.php(185): TranslationHelpers->callBox('translation-mem...', Array)
#9 /usr/local/apache/common-local/php-1.21wmf7/extensions/Translate/TranslateEditAddons.php(268): TranslationHelpers->getBoxes()
#10 /usr/local/apache/common-local/php-1.21wmf7/extensions/Translate/TranslateEditAddons.php(187): TranslateEditAddons::editBoxes(Object(EditPage))
#11 [internal function]: TranslateEditAddons::addTools(Object(EditPage), Object(OutputPage))
#12 /usr/local/apache/common-local/php-1.21wmf7/includes/Hooks.php(255): call_user_func_array('TranslateEditAd...', Array)
#13 /usr/local/apache/common-local/php-1.21wmf7/includes/GlobalFunctions.php(3856): Hooks::run('EditPage::showE...', Array)
#14 /usr/local/apache/common-local/php-1.21wmf7/includes/EditPage.php(2016): wfRunHooks('EditPage::showE...', Array)
#15 /usr/local/apache/common-local/php-1.21wmf7/includes/EditPage.php(421): EditPage->showEditForm()
#16 /usr/local/apache/common-local/php-1.21wmf7/includes/actions/EditAction.php(51): EditPage->edit()
#17 /usr/local/apache/common-local/php-1.21wmf7/includes/Wiki.php(429): EditAction->show()
#18 /usr/local/apache/common-local/php-1.21wmf7/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
#19 /usr/local/apache/common-local/php-1.21wmf7/includes/Wiki.php(555): MediaWiki->performRequest()
#20 /usr/local/apache/common-local/php-1.21wmf7/includes/Wiki.php(448): MediaWiki->main()
#21 /usr/local/apache/common-local/php-1.21wmf7/index.php(59): MediaWiki->run()
#22 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#23 {main}

seen on:

http://www.wikidata.org/w/index.php?title=Translations:Wikidata:Glossary/25/fi&action=edit&loadgroup=page-Wikidata%3AGlossary&loadtask=view

and reported here:

http://www.wikidata.org/wiki/Wikidata:Project_chat#Can.27t_translate
Comment 1 Niklas Laxström 2013-01-09 15:18:48 UTC
Temp fix deployed. Will be making more changes to fix it better.
Comment 2 Siebrand Mazeland 2013-02-26 18:25:38 UTC
Any status update, Niklas?
Comment 3 Niklas Laxström 2013-02-27 09:16:35 UTC
I haven't made the changes I said I would do.
Comment 4 Siebrand Mazeland 2013-03-05 10:24:19 UTC
Input from Niklas:
1) add try catch in proper place
2) add maximum length limit

Est time: 1h.
Comment 5 Niklas Laxström 2013-03-18 07:19:23 UTC
https://gerrit.wikimedia.org/r/54334

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


Navigation
Links