Last modified: 2010-05-15 15:37:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2979 - import script is broken (or dump corrupted?)
import script is broken (or dump corrupted?)
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-07-27 05:41 UTC by El
Modified: 2010-05-15 15:37 UTC (History)
0 users

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


Description El 2005-07-27 05:41:55 UTC
I tried to import the dump of the Dutch Wikipedia (with complete
page histories) and got this error after some time:

4600 (1.6539432896511 pages/sec 74.894507237181 revs/sec)
Content-type: text/html
X-Powered-By: PHP/4.3.11

<br />
<b>Fatal error</b>:  Call to a member function on a non-object in
<b>/wiki/software/mediawiki/phase3-cvs260705/maintenance/importDump.php</b> on
line <b>47</b><br />
Comment 1 River Tarnell 2005-07-27 05:51:15 UTC
please try this version of importDump: 
Comment 2 El 2005-07-27 06:43:28 UTC
This will most likely prevent the script from crashing, but are you sure no
revisions or entire pages will be lost then? When handleRevision() is called,
this indicates IMO that the script has found a revision, and that it hasn't been
parsed correctly if getTitle() doesn't return a valid title object.
Comment 3 Brion Vibber 2007-03-29 20:57:54 UTC
Possibly due to invalid title, long title, or funny configuration.

As of r20828, invalid titles should be gracefully skipped over in an import;
a warning will be printed to stdout (w/ importDump.php) or web output

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