Last modified: 2013-01-10 15:06:16 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 T44895, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42895 - Distance calculation leads to giant error
Distance calculation leads to giant error
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Maps (Other open bugs)
master
All All
: High major (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-09 12:09 UTC by DaSch
Modified: 2013-01-10 15:06 UTC (History)
1 user (show)

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


Attachments

Description DaSch 2012-12-09 12:09:14 UTC
Attempt to find the distance between locations of at least one is invalid

Backtrace:
#0 /var/www/vhosts/wecowi.de/httpdocs/extensions/Validator/includes/ParserHook.php(377): MapsGeodistance->render(Array)
#1 /var/www/vhosts/wecowi.de/httpdocs/extensions/Validator/includes/ParserHook.php(295): ParserHook->validateAndRender(Array, 1)
#2 [internal function]: ParserHook->renderFunction(Object(Parser), '', '47?? 32' 58" N,...', 'unit=km')
#3 /var/www/vhosts/wecowi.de/httpdocs/extensions/Validator/includes/ParserHook.php(337): call_user_func_array(Array, Array)
#4 /var/www/vhosts/wecowi.de/httpdocs/extensions/Validator/includes/ParserHook.php(636): ParserHook->renderFunctionObj(Object(Parser), Object(PPTemplateFrame_DOM), Array)
#5 [internal function]: ParserHookCaller->runFunctionHookObj(Object(Parser), Object(PPTemplateFrame_DOM), Array)
#6 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(3299): call_user_func_array(Array, Array)
#7 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Preprocessor_DOM.php(1084): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
#8 /var/www/vhosts/wecowi.de/httpdocs/extensions/ParserFunctions/ParserFunctions_body.php(400): PPFrame_DOM->expand(Object(PPNode_DOM))
#9 [internal function]: ExtParserFunctions::ifexistObj(Object(Parser), Object(PPTemplateFrame_DOM), Array)
#10 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(3299): call_user_func_array('ExtParserFuncti...', Array)
#11 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Preprocessor_DOM.php(1084): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
#12 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(3465): PPFrame_DOM->expand(Object(PPNode_DOM))
#13 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Preprocessor_DOM.php(1084): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#14 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(3086): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#15 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticMediaWiki/includes/queryprinters/SMW_ResultPrinter.php(286): Parser->replaceVariables('<ul>??<li>{{Dis...')
#16 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticMediaWiki/includes/queryprinters/SMW_ResultPrinter.php(235): SMWResultPrinter->handleNonFileResult('<ul>??<li>{{Dis...', Object(SMWQueryResult), 2)
#17 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticMediaWiki/includes/queryprinters/SMW_ResultPrinter.php(202): SMWResultPrinter->buildResult(Object(SMWQueryResult))
#18 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php(419): SMWResultPrinter->getResult(Object(SMWQueryResult), Array, 2)
#19 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php(393): SMWQueryProcessor::getResultFromQuery(Object(SMWQuery), Array, 2, 1)
#20 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php(370): SMWQueryProcessor::getResultFromQueryString('[[Kategorie:Sch...', Array, Array, 2, 1)
#21 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticMediaWiki/includes/parserhooks/SMW_Ask.php(34): SMWQueryProcessor::getResultFromFunctionParams(Array, 2)
#22 [internal function]: SMWAsk::render(Object(Parser), '[[Kategorie:Sch...', 'format=ul', 'template=Distan...', 'link=none', 'default=''Keine...')
#23 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(3299): call_user_func_array(Array, Array)
#24 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Preprocessor_DOM.php(1084): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
#25 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(3465): PPFrame_DOM->expand(Object(PPNode_DOM))
#26 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Preprocessor_DOM.php(1084): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#27 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(3086): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#28 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(1157): Parser->replaceVariables('{{Infobox Schut...')
#29 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(385): Parser->internalParse('{{Infobox Schut...')
#30 [internal function]: Parser->parse('{{Infobox Schut...', Object(Title), Object(ParserOptions), true, true, 106505)
#31 /var/www/vhosts/wecowi.de/httpdocs/includes/StubObject.php(79): call_user_func_array(Array, Array)
#32 /var/www/vhosts/wecowi.de/httpdocs/includes/StubObject.php(99): StubObject->_call('parse', Array)
#33 [internal function]: StubObject->__call('parse', Array)
#34 /var/www/vhosts/wecowi.de/httpdocs/includes/content/WikitextContent.php(290): StubObject->parse('{{Infobox Schut...', Object(Title), Object(ParserOptions), true, true, 106505)
#35 /var/www/vhosts/wecowi.de/httpdocs/includes/WikiPage.php(3363): WikitextContent->getParserOutput(Object(Title), 106505, Object(ParserOptions))
#36 /var/www/vhosts/wecowi.de/httpdocs/includes/PoolCounter.php(209): PoolWorkArticleView->doWork()
#37 /var/www/vhosts/wecowi.de/httpdocs/includes/Article.php(710): PoolCounterWork->execute()
#38 /var/www/vhosts/wecowi.de/httpdocs/includes/actions/ViewAction.php(37): Article->view()
#39 /var/www/vhosts/wecowi.de/httpdocs/includes/Wiki.php(429): ViewAction->show()
#40 /var/www/vhosts/wecowi.de/httpdocs/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
#41 /var/www/vhosts/wecowi.de/httpdocs/includes/Wiki.php(555): MediaWiki->performRequest()
#42 /var/www/vhosts/wecowi.de/httpdocs/includes/Wiki.php(448): MediaWiki->main()
#43 /var/www/vhosts/wecowi.de/httpdocs/index.php(59): MediaWiki->run()
#44 {main}

http://www.wecowi.de/wiki/Rudolfshütte
Comment 1 DaSch 2012-12-28 23:54:56 UTC
Even on special pages there appears a duplicate of the whole page with this error and it seams to me, that this leads to very ba performance
Comment 2 Jeroen De Dauw 2013-01-08 22:13:10 UTC
I think this is fixed on master. Can you confirm?
Comment 3 DaSch 2013-01-09 17:51:27 UTC
Can not confirm because after updating I ran into Bug 43787
Comment 4 DaSch 2013-01-09 22:23:04 UTC
Well, I can not test it because somehow the simple query

{{#show:Rudolfshütte|?Koordinaten}}

does not give any result although the property and a value is given
Comment 5 DaSch 2013-01-09 22:26:03 UTC
And on other pages I get this error

Parameter $address must be a string at Maps\Geocoders::geocode
Backtrace:
#0 /var/www/vhosts/wecowi.de/httpdocs/extensions/Maps/includes/Geocoders.php(138): Maps\Geocoders::geocode(Object(Maps\Location), 'geonames', '')
#1 /var/www/vhosts/wecowi.de/httpdocs/extensions/Maps/includes/parserhooks/Maps_Geodistance.php(113): Maps\Geocoders::attemptToGeocode(Object(Maps\Location), 'geonames', '')
#2 /var/www/vhosts/wecowi.de/httpdocs/extensions/Validator/utils/ParserHook.php(380): MapsGeodistance->render(Array)
#3 /var/www/vhosts/wecowi.de/httpdocs/extensions/Validator/utils/ParserHook.php(297): ParserHook->validateAndRender(Array, 1)
#4 [internal function]: ParserHook->renderFunction(Object(Parser), '46?? 36' 3", 8?...', '47?? 32' 58", 1...', 'unit=km')
#5 /var/www/vhosts/wecowi.de/httpdocs/extensions/Validator/utils/ParserHook.php(339): call_user_func_array(Array, Array)
#6 /var/www/vhosts/wecowi.de/httpdocs/extensions/Validator/utils/ParserHook.php(643): ParserHook->renderFunctionObj(Object(Parser), Object(PPTemplateFrame_DOM), Array)
#7 [internal function]: ParserHookCaller->runFunctionHookObj(Object(Parser), Object(PPTemplateFrame_DOM), Array)
#8 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(3299): call_user_func_array(Array, Array)
#9 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Preprocessor_DOM.php(1084): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
#10 /var/www/vhosts/wecowi.de/httpdocs/extensions/ParserFunctions/ParserFunctions_body.php(400): PPFrame_DOM->expand(Object(PPNode_DOM))
#11 [internal function]: ExtParserFunctions::ifexistObj(Object(Parser), Object(PPTemplateFrame_DOM), Array)
#12 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(3299): call_user_func_array('ExtParserFuncti...', Array)
#13 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Preprocessor_DOM.php(1084): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
#14 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(3465): PPFrame_DOM->expand(Object(PPNode_DOM))
#15 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Preprocessor_DOM.php(1084): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#16 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(3086): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#17 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticMediaWiki/includes/queryprinters/SMW_ResultPrinter.php(287): Parser->replaceVariables('<ul>??<li>{{Dis...')
#18 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticMediaWiki/includes/queryprinters/SMW_ResultPrinter.php(236): SMWResultPrinter->handleNonFileResult('<ul>??<li>{{Dis...', Object(SMWQueryResult), 2)
#19 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticMediaWiki/includes/queryprinters/SMW_ResultPrinter.php(203): SMWResultPrinter->buildResult(Object(SMWQueryResult))
#20 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php(512): SMWResultPrinter->getResult(Object(SMWQueryResult), Array, 2)
#21 /var/www/vhosts/wecowi.de/httpdocs/extensions/SemanticMediaWiki/includes/parserhooks/SMW_Ask.php(40): SMWQueryProcessor::getResultFromQuery(Object(SMWQuery), Array, 2, 1)
#22 [internal function]: SMWAsk::render(Object(Parser), '[[Kategorie:Sch...', 'format=ul', 'template=Distan...', 'link=none', 'default=''Keine...')
#23 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(3299): call_user_func_array(Array, Array)
#24 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Preprocessor_DOM.php(1084): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
#25 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(3465): PPFrame_DOM->expand(Object(PPNode_DOM))
#26 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Preprocessor_DOM.php(1084): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#27 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(3086): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#28 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(1157): Parser->replaceVariables('{{Infobox Schut...')
#29 /var/www/vhosts/wecowi.de/httpdocs/includes/parser/Parser.php(385): Parser->internalParse('{{Infobox Schut...')
#30 [internal function]: Parser->parse('{{Infobox Schut...', Object(Title), Object(ParserOptions), true, true, 116605)
#31 /var/www/vhosts/wecowi.de/httpdocs/includes/StubObject.php(79): call_user_func_array(Array, Array)
#32 /var/www/vhosts/wecowi.de/httpdocs/includes/StubObject.php(99): StubObject->_call('parse', Array)
#33 [internal function]: StubObject->__call('parse', Array)
#34 /var/www/vhosts/wecowi.de/httpdocs/includes/content/WikitextContent.php(299): StubObject->parse('{{Infobox Schut...', Object(Title), Object(ParserOptions), true, true, 116605)
#35 /var/www/vhosts/wecowi.de/httpdocs/includes/WikiPage.php(3382): WikitextContent->getParserOutput(Object(Title), 116605, Object(ParserOptions))
#36 /var/www/vhosts/wecowi.de/httpdocs/includes/PoolCounter.php(209): PoolWorkArticleView->doWork()
#37 /var/www/vhosts/wecowi.de/httpdocs/includes/Article.php(710): PoolCounterWork->execute()
#38 /var/www/vhosts/wecowi.de/httpdocs/includes/actions/ViewAction.php(37): Article->view()
#39 /var/www/vhosts/wecowi.de/httpdocs/includes/Wiki.php(439): ViewAction->show()
#40 /var/www/vhosts/wecowi.de/httpdocs/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
#41 /var/www/vhosts/wecowi.de/httpdocs/includes/Wiki.php(565): MediaWiki->performRequest()
#42 /var/www/vhosts/wecowi.de/httpdocs/includes/Wiki.php(458): MediaWiki->main()
#43 /var/www/vhosts/wecowi.de/httpdocs/index.php(59): MediaWiki->run()
#44 {main}
Comment 6 Jeroen De Dauw 2013-01-10 15:06:16 UTC
Please create new bugs for new issues. https://bugzilla.wikimedia.org/show_bug.cgi?id=43826

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


Navigation
Links