Page MenuHomePhabricator

HttpError from line 359 of EntityDataRequestHandler.php
Closed, ResolvedPublic

Description

this very well might be a duplicate but can't find it now...

/wiki/Special:EntityData/Q13529975.json HttpError from line 359 of /srv/mediawiki/php-1.25wmf17/extensions/Wikidata/extensions/Wikibase/repo/includes/LinkedData/EntityDataRequestHandler.php: Failed to load entity Q13529975.
#0 /srv/mediawiki/php-1.25wmf17/extensions/Wikidata/extensions/Wikibase/repo/includes/LinkedData/EntityDataRequestHandler.php(378): Wikibase\Repo\LinkedData\EntityDataRequestHandler->getEntityRevision()
#1 /srv/mediawiki/php-1.25wmf17/extensions/Wikidata/extensions/Wikibase/repo/includes/LinkedData/EntityDataRequestHandler.php(227): Wikibase\Repo\LinkedData\EntityDataRequestHandler->showData()
#2 /srv/mediawiki/php-1.25wmf17/extensions/Wikidata/extensions/Wikibase/repo/includes/specials/SpecialEntityData.php(153): Wikibase\Repo\LinkedData\EntityDataRequestHandler->handleRequest()
#3 /srv/mediawiki/php-1.25wmf17/includes/specialpage/SpecialPage.php(383): Wikibase\Repo\Specials\SpecialEntityData->execute()
#4 /srv/mediawiki/php-1.25wmf17/includes/specialpage/SpecialPageFactory.php(581): SpecialPage->run()
#5 /srv/mediawiki/php-1.25wmf17/includes/MediaWiki.php(270): SpecialPageFactory::executePath()
#6 /srv/mediawiki/php-1.25wmf17/includes/MediaWiki.php(560): MediaWiki->performRequest()
#7 /srv/mediawiki/php-1.25wmf17/includes/MediaWiki.php(424): MediaWiki->main()
#8 /srv/mediawiki/php-1.25wmf17/index.php(46): MediaWiki->run()

if the entity does not exist, then don't think this is such an exceptional condition or error in the software. I don't think this should go in the exception logs, together with other exception log entries.

Event Timeline

aude raised the priority of this task from to Needs Triage.
aude updated the task description. (Show Details)
aude added subscribers: Aklapper, aude.
Lydia_Pintscher set Security to None.
Lydia_Pintscher moved this task from incoming to ready to go on the Wikidata board.
Lydia_Pintscher added subscribers: daniel, JanZerebecki.

This might be an actual internal error.

Where is that error from? https://www.wikidata.org/wiki/Special:EntityData/Q13529975.json and https://www.wikidata.org/wiki/Q2696099 work just fine.

It seems this was produced by:

catch ( StorageException $ex ) {
  wfDebugLog( __CLASS__, __FUNCTION__ . ": failed to load $prefixedId: $ex (revision $revision)"  );
  $msg = wfMessage( 'wikibase-entitydata-storage-error' );
  throw new HttpError( 500, $msg->params( $prefixedId, $revision ) );
}

It would be nice to know the URL, $revision and $ex.

The other HttpErrors where made not logable in T76458.

no longer appears to be an issue