Last modified: 2014-05-16 14:08:21 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 T67212, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65212 - Wikipedia export XML contains HTML error DBUnexpectedError
Wikipedia export XML contains HTML error DBUnexpectedError
Status: RESOLVED DUPLICATE of bug 65100
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
1.24rc
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-12 06:35 UTC by twcharly
Modified: 2014-05-16 14:08 UTC (History)
3 users (show)

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


Attachments
en.wikipedia.org - Special:Export - Shakara (album) (8.45 KB, text/xml)
2014-05-12 06:35 UTC, twcharly
Details
WFM? (10.69 KB, text/xml)
2014-05-12 08:56 UTC, Sam Reed (reedy)
Details

Description twcharly 2014-05-12 06:35:42 UTC
Created attachment 15352 [details]
en.wikipedia.org - Special:Export - Shakara (album)

When exporting a page from Wikipedia via Special:Export with full history as XML some HTML error message is appended to that file. This bug is reproduceable and probably exists since around last Tuesday (2014-05-06).

Example: When exporting the article "Shakara (album)" in XML format the last lines look like this:

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
==References==
{{reflist}}
 
[[Category:Fela Kuti albums]]
[[Category:1972 albums]]
[[Category:Afrobeat albums]]
[[Category:EMI Records albums]]</text>
      <sha1>6wwfc8ti2jihcmsgaqu2zl9uwrixntx</sha1>
      <model>wikitext</model>
      <format>text/x-wiki</format>
    </revision>
  </page>
</mediawiki>
<!DOCTYPE html>
<html><head><title>Internal error - Wikipedia</title><style>body { font-family: sans-serif; margin: 0; padding: 0.5em 2em; }</style></head><body>
<div class="errorbox">[90caf0e1] 2014-05-12 05:52:07: Fatal exception of type DBUnexpectedError</div>
<!-- Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information. --></body></html>
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

The full XML file is attached.
Comment 1 Andre Klapper 2014-05-12 06:47:41 UTC
Thanks for taking the time to report this!
Comment 2 Sam Reed (reedy) 2014-05-12 08:56:43 UTC
Created attachment 15354 [details]
WFM?

WFM
Comment 3 twcharly 2014-05-12 10:29:02 UTC
I am not sure when I have noticed this error on de.Wikipedia.org for the first time. Maybe it was not Tuesday but Thursday (the day when 1.24wmf3 has been deployed to de.wikipedia). I will look up the exact date.

However, I have used
* different computers
* different operating systems
* different browsers
* http and https
* mainly de.wikipedia.org but later also en.wikipedia.org
* on different days
* and with many different pages

Just minutes ago I have tested it with "Suarez (band)", "Florian haller", "Bruce Ingram", "Liu Lijuan", "Subsurface (software)" from en.WP. All of them contained an error message:

Bruce Ingram:
 - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{DEFAULTSORT:Ingram, Bruce}}
[[Category:1877 births]]
[[Category:1963 deaths]]
[[Category:British magazine editors]]</text>
      <sha1>4i5pu8jnltsi1gqrbbg3aptqqgvgk3z</sha1>
      <model>wikitext</model>
      <format>text/x-wiki</format>
    </revision>
  </page>
</mediawiki>
<!DOCTYPE html>
<html><head><title>Internal error - Wikipedia</title><style>body { font-family: sans-serif; margin: 0; padding: 0.5em 2em; }</style></head><body>
<div class="errorbox">[1ed96311] 2014-05-12 09:29:35: Fatal exception of type DBUnexpectedError</div>
<!-- Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information. --></body></html>
 - - - - - - - - - - - - - - - - - - - - - - - - - - -

Florian haller:
 - - - - - - - - - - - - - - - - - - - - - - - - - - -
“Uncle Haller”</text>
      <sha1>25bluw3qfj9390n72vxkvydf6meu47y</sha1>
      <model>wikitext</model>
      <format>text/x-wiki</format>
    </revision>
  </page>
</mediawiki>
<!DOCTYPE html>
<html><head><title>Internal error - Wikipedia</title><style>body { font-family: sans-serif; margin: 0; padding: 0.5em 2em; }</style></head><body>
<div class="errorbox">[1633bb93] 2014-05-12 09:39:24: Fatal exception of type DBUnexpectedError</div>
<!-- Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information. --></body></html>
 - - - - - - - - - - - - - - - - - - - - - - - - - - -
Comment 4 twcharly 2014-05-12 14:40:29 UTC
The problem has been noticed for the first time at de.Wikipdia.org on Friday
2014-05-09 01:00 UTC

The problem has not been present at de.Wikipdia.org before Thursday
2014-05-08 21:11 UTC

HTH
Comment 5 twcharly 2014-05-12 14:56:00 UTC
Sorry, that was CEST instead of UTC. Here are the corrcet times:

The problem has been noticed for the first time at de.Wikipdia.org on
Friday 2014-05-09 01:00 CEST
=
Thursday 2014-05-08 23:00 UTC

The problem has not been present at de.Wikipdia.org before
Thursday 2014-05-08 21:11 CEST
=
Thursday 2014-05-08 19:11 UTC
Comment 6 Sam Reed (reedy) 2014-05-16 14:08:21 UTC
2014-05-12 09:29:35 mw1162 enwiki: [1ed96311] /w/index.php?title=Special:Export&action=submit   Exception from line 1093 of /usr/local/apache/common-local/php-1.24wmf3/includes/db/Database.php: DB connection was already closed.
#0 /usr/local/apache/common-local/php-1.24wmf3/includes/db/Database.php(3492): DatabaseBase->query('COMMIT', 'DatabaseBase::c...')
#1 /usr/local/apache/common-local/php-1.24wmf3/includes/db/Database.php(3477): DatabaseBase->doCommit('DatabaseBase::c...')
#2 /usr/local/apache/common-local/php-1.24wmf3/includes/db/Database.php(937): DatabaseBase->commit('DatabaseBase::c...', 'flush')
#3 /usr/local/apache/common-local/php-1.24wmf3/includes/db/LoadBalancer.php(870): DatabaseBase->close()
#4 /usr/local/apache/common-local/php-1.24wmf3/includes/specials/SpecialExport.php(395): LoadBalancer->closeAll()
#5 /usr/local/apache/common-local/php-1.24wmf3/includes/specials/SpecialExport.php(179): SpecialExport->doExport('Bruce Ingram', Array, false, false)
#6 /usr/local/apache/common-local/php-1.24wmf3/includes/specialpage/SpecialPage.php(379): SpecialExport->execute(NULL)
#7 /usr/local/apache/common-local/php-1.24wmf3/includes/specialpage/SpecialPageFactory.php(503): SpecialPage->run(NULL)
#8 /usr/local/apache/common-local/php-1.24wmf3/includes/Wiki.php(285): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#9 /usr/local/apache/common-local/php-1.24wmf3/includes/Wiki.php(596): MediaWiki->performRequest()
#10 /usr/local/apache/common-local/php-1.24wmf3/includes/Wiki.php(448): MediaWiki->main()
#11 /usr/local/apache/common-local/php-1.24wmf3/index.php(46): MediaWiki->run()
#12 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#13 {main}

*** This bug has been marked as a duplicate of bug 65100 ***

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


Navigation
Links