https://bugzilla.wikimedia.org/show_bug.cgi?id=27065
Summary: Error when importing .bz2 dump file
Product: MediaWiki
Version: 1.16.1
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: Normal
Component: Export/Import
AssignedTo: [email protected]
ReportedBy: [email protected]
When I tried to import a .bz2 dump, I got this error:
maintenance>php importDump.php
Downloads\mediawikiwiki-20110115-pages-articles.xml.bz2
Warning: fopen(compress.bzip2://Downloads\mediawikiwiki-20110115-p
ages-articles.xml.bz2): failed to open stream: Invalid argument in
maintenance\importDump.php on line 130
Warning: fread(): supplied argument is not a valid stream resource in
includes\Import.php on line 1063
Warning: feof(): supplied argument is not a valid stream resource in
includes\Import.php on line 1059
Done!
You might want to run rebuildrecentchanges.php to regenerate
the recentchanges page.
None of the pages were imported. I extracted the .php file manually and the
import worked. It seems that the .bz2 decompressor isn't working, but I'm not
sure.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l