Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests, Upstream, 
Wikimedia-production-error, Regression, Deployments.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  Calling 
https://www.mediawiki.org/w/api.php?action=help&modules=query%2Bembeddedin on 
test-wiki fails.
  
  **Steps to replicate the issue**:
  
  - retrieve 
https://test.wikipedia.org/w/api.php?geititle=Template%3AOk&geifilterredir=nonredirects&prop=info%7Cimageinfo%7Ccategoryinfo&inprop=protection&iiprop=timestamp%7Cuser%7Ccomment%7Curl%7Csize%7Csha1%7Cmetadata&iilimit=max&generator=embeddedin&action=query&indexpageids=&continue=&geilimit=5&meta=userinfo&uiprop=blockinfo%7Chasmsg&maxlag=5&format=jsonfm
  
  **What happens?**:
  
  The result is:
  
    {
        "error": {
            "code": "internal_api_error_DBQueryError",
            "info": "[62e7b79f-2715-4e52-8774-4ac1a64d7bc9] Exception caught: A 
database query error has occurred. This may indicate a bug in the software.",
            "errorclass": "Wikimedia\\Rdbms\\DBQueryError",
            "*": "Wikimedia\\Rdbms\\DBQueryError at 
/srv/mediawiki/php-1.39.0-wmf.22/includes/libs/rdbms/database/Database.php(1914)\nfrom
 
/srv/mediawiki/php-1.39.0-wmf.22/includes/libs/rdbms/database/Database.php(1914)\n#0
 
/srv/mediawiki/php-1.39.0-wmf.22/includes/libs/rdbms/database/Database.php(1898):
 Wikimedia\\Rdbms\\Database->getQueryException(string, integer, string, 
string)\n#1 
/srv/mediawiki/php-1.39.0-wmf.22/includes/libs/rdbms/database/Database.php(1872):
 Wikimedia\\Rdbms\\Database->getQueryExceptionAndLog(string, integer, string, 
string)\n#2 
/srv/mediawiki/php-1.39.0-wmf.22/includes/libs/rdbms/database/Database.php(1248):
 Wikimedia\\Rdbms\\Database->reportQueryError(string, integer, string, string, 
boolean)\n#3 
/srv/mediawiki/php-1.39.0-wmf.22/includes/libs/rdbms/database/Database.php(2004):
 Wikimedia\\Rdbms\\Database->query(string, string, integer)\n#4 
/srv/mediawiki/php-1.39.0-wmf.22/includes/libs/rdbms/querybuilder/SelectQueryBuilder.php(641):
 Wikimedia\\Rdbms\\Database->select(array, array, array, string, array, 
array)\n#5 /srv/mediawiki/php-1.39.0-wmf.22/includes/api/ApiQueryBase.php(427): 
Wikimedia\\Rdbms\\SelectQueryBuilder->fetchResultSet()\n#6 
/srv/mediawiki/php-1.39.0-wmf.22/includes/api/ApiQueryBacklinks.php(179): 
ApiQueryBase->select(string)\n#7 
/srv/mediawiki/php-1.39.0-wmf.22/includes/api/ApiQueryBacklinks.php(442): 
ApiQueryBacklinks->runFirstQuery(ApiPageSet)\n#8 
/srv/mediawiki/php-1.39.0-wmf.22/includes/api/ApiQueryBacklinks.php(125): 
ApiQueryBacklinks->run(ApiPageSet)\n#9 
/srv/mediawiki/php-1.39.0-wmf.22/includes/api/ApiPageSet.php(290): 
ApiQueryBacklinks->executeGenerator(ApiPageSet)\n#10 
/srv/mediawiki/php-1.39.0-wmf.22/includes/api/ApiPageSet.php(253): 
ApiPageSet->executeInternal(boolean)\n#11 
/srv/mediawiki/php-1.39.0-wmf.22/includes/api/ApiQuery.php(643): 
ApiPageSet->execute()\n#12 
/srv/mediawiki/php-1.39.0-wmf.22/includes/api/ApiMain.php(1901): 
ApiQuery->execute()\n#13 
/srv/mediawiki/php-1.39.0-wmf.22/includes/api/ApiMain.php(875): 
ApiMain->executeAction()\n#14 
/srv/mediawiki/php-1.39.0-wmf.22/includes/api/ApiMain.php(846): 
ApiMain->executeActionWithErrorHandling()\n#15 
/srv/mediawiki/php-1.39.0-wmf.22/api.php(90): ApiMain->execute()\n#16 
/srv/mediawiki/php-1.39.0-wmf.22/api.php(45): wfApiMain()\n#17 
/srv/mediawiki/w/api.php(3): require(string)\n#18 {main}"
        },
        "servedby": "mw1450"
    }
  
  **What should have happened instead?**:
  It still works for the same http request on simple-wiki:
  
https://simple.wikipedia.org/w/api.php?geititle=Template%3AOk&geifilterredir=nonredirects&prop=info%7Cimageinfo%7Ccategoryinfo&inprop=protection&iiprop=timestamp%7Cuser%7Ccomment%7Curl%7Csize%7Csha1%7Cmetadata&iilimit=max&generator=embeddedin&action=query&indexpageids=&continue=&geilimit=5&meta=userinfo&uiprop=blockinfo%7Chasmsg&maxlag=5&format=jsonfm
  
  **Other information**:
  The failure occurred yesterday. I worked previously.

TASK DETAIL
  https://phabricator.wikimedia.org/T314112

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, Susie413113, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, ItamarWMDE, Khutuck, Zkhalido, darthmon_wmde, 
Rosalie_WMDE, Viztor, Wenyi, Jayprakash12345, Tbscho, MayS, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, Wong128hk, Verdy_p, mys_721tx, jayvdb, 
Masti, Alchimista, Jdforrester-WMF, Jay8g, Krenair, jeremyb
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to