Last modified: 2014-02-15 14:12:13 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 T29065, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27065 - Error importing .bz2 dump file: Failed to open stream: Invalid argument in maintenance\importDump.php on line 130
Error importing .bz2 dump file: Failed to open stream: Invalid argument in ma...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
1.16.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-31 12:48 UTC by Manish
Modified: 2014-02-15 14:12 UTC (History)
0 users

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


Attachments

Description Manish 2011-01-31 12:48:01 UTC
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.

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


Navigation
Links