Forum:How do I import XML dumps with SMW data?

I have set up the wikimedia engine on web farms before but have never imported dumps with SMW data. My goal is to get sufficient content from Familypedia onto a local machine so that I can profile the server software to identify which uses of semantic media wiki are server resource hogs.

I used importdump.php to load up the xml and goes through about 88000 pages but it dies with a console message of:

Catchable fatal error: Argument 1 passed to SMWResultArray::SMWResultArr ay must be an instance of SMWWikiPageValue, null given, called in C:\xampp\htd ocs\mediawiki\extensions\SemanticMediaWiki\includes\storage\SMW_QueryResult.php on line 62 and defined in C:\xampp\htdocs\mediawiki\extensions\SemanticMediaW iki\includes\storage\SMW_QueryResult.php on line 182

Statistics states I imported 88K pages out of of 136K. It appears that none of the Semantic Mediawiki pages that I need for my tests were transferred.

SMW is installed and functioning as expected. Properties can be set and queried.

I am wondering what the trick is to import XML dumps of databases using the SMW extension. Anyone care to take a guess at things I can try?

01:22, November 23, 2009 (UTC)