[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

populateFuzzy.php is broken
Closed, ResolvedPublicBUG REPORT

Description

$ php scripts/populateFuzzy.php 
.Wikimedia\Rdbms\DBQueryError from line 1626 of /srv/mediawiki/workdir/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading? 
Query: REPLACE INTO `bw_revtag` () VALUES ()
Function: PopulateFuzzy::execute
Error: 1364 Field 'rt_type' doesn't have a default value (127.0.0.1:3306)

#0 /srv/mediawiki/workdir/includes/libs/rdbms/database/Database.php(1610): Wikimedia\Rdbms\Database->getQueryException('Field 'rt_type'...', 1364, 'REPLACE INTO `b...', 'PopulateFuzzy::...')
#1 /srv/mediawiki/workdir/includes/libs/rdbms/database/Database.php(1587): Wikimedia\Rdbms\Database->getQueryExceptionAndLog('Field 'rt_type'...', 1364, 'REPLACE INTO `b...', 'PopulateFuzzy::...')
#2 /srv/mediawiki/workdir/includes/libs/rdbms/database/Database.php(1166): Wikimedia\Rdbms\Database->reportQueryError('Field 'rt_type'...', 1364, 'REPLACE INTO `b...', 'PopulateFuzzy::...', false)
#3 /srv/mediawiki/workdir/includes/libs/rdbms/database/Database.php(2949): Wikimedia\Rdbms\Database->query('REPLACE INTO `b...', 'PopulateFuzzy::...')
#4 /srv/mediawiki/workdir/includes/libs/rdbms/database/DatabaseMysqlBase.php(452): Wikimedia\Rdbms\Database->nativeReplace('`bw_revtag`', Array, 'PopulateFuzzy::...')
#5 /srv/mediawiki/workdir/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\DatabaseMysqlBase->replace('revtag', 'rt_type_page_re...', Array, 'PopulateFuzzy::...')
#6 /srv/mediawiki/workdir/includes/libs/rdbms/database/DBConnRef.php(493): Wikimedia\Rdbms\DBConnRef->__call('replace', Array)
#7 /srv/mediawiki/workdir/extensions/Translate/scripts/populateFuzzy.php(99): Wikimedia\Rdbms\DBConnRef->replace('revtag', 'rt_type_page_re...', Array, 'PopulateFuzzy::...')
#8 /srv/mediawiki/workdir/maintenance/doMaintenance.php(107): PopulateFuzzy->execute()
#9 /srv/mediawiki/workdir/extensions/Translate/scripts/populateFuzzy.php(105): require_once('/srv/mediawiki/...')
#10 {main}

Event Timeline

Change 548819 had a related patch set uploaded (by Nikerabbit; owner: Nikerabbit):
[mediawiki/extensions/Translate@master] Avoid fatal error in populateFuzzy.php

https://gerrit.wikimedia.org/r/548819

Change 548819 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Avoid fatal error in populateFuzzy.php

https://gerrit.wikimedia.org/r/548819

Nikerabbit triaged this task as High priority.
Nikerabbit changed the subtype of this task from "Task" to "Bug Report".