Last modified: 2005-10-31 19:18:40 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 T5847, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3847 - mwdumper produces error messages, does not import entire dump
mwdumper produces error messages, does not import entire dump
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
PC Solaris
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-31 15:21 UTC by River Tarnell
Modified: 2005-10-31 19:18 UTC (History)
0 users

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


Attachments

Description River Tarnell 2005-10-31 15:21:29 UTC
bzip2 -dc 20051029_pages_current.xml.bz2|java -server -jar
/u01/u/kate/src/mwdumper/build/mwdumper.jar --format=sql:1.5 |
/usr/local/mysql/bin/mysql -uroot -p -f dewiki
(dewiki _current dump)

says:
775,696 pages (1,104.953/sec), 775,696 revs (1,104.953/sec)
but:
mysql> select count(*) from page\G
*************************** 1. row ***************************
count(*): 476000

additionally, many error messages like:
ERROR 1062 (23000) at line 4931: Duplicate entry '0-Ch?n_Y?_(Kuomintang)' for key 2

are produced by the mysql client.  (possibly the error makes the transaction
abort...)

java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Server VM (build 1.5.0_05-b05, mixed mode)

mysql  Ver 14.12 Distrib 5.0.15, for pc-solaris2.10 (i386) using readline 5.0

using mwdumper from 2005-10-11 (according to README).
Comment 1 Brion Vibber 2005-10-31 19:18:40 UTC
Fixed on October 24.

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


Navigation
Links