Last modified: 2010-05-15 15:37:53 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 T4979, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2979 - import script is broken (or dump corrupted?)
import script is broken (or dump corrupted?)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.5.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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: 
http://www.knams.wikimedia.org/~kate/importDump.phps 
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
(Special:Import)

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


Navigation
Links