From: Joshua T. <jos...@gm...> - 2013-04-17 14:30:23
|
Hi all, I'm running Product Version MediaWiki 1.19.1 PHP 5.4.3 (apache2handler) MySQL 5.5.24-log Semantic MediaWiki (Version 1.9 alpha) I've got a page, titled "Export Test page", with very simple content, just: """ [[related to::Main Page]] """ When I use the export RDF (either through Special:ExportRDF, or through the "RDF feed" link in the factbox (which we have enabled for normal page view, not just preview mode)) I get an error. Chrome displays: """ This page contains the following errors: error on line 1 at column 1: Document is empty Below is a rendering of the page up to the first error. """ That's not particularly revealing, but "view source" shows: """ Unexpected non-MediaWiki exception encountered, of type "InvalidArgumentException"<br /> exception 'InvalidArgumentException' with message '$lexicalForm needs to be a string' in C:\wamp\www\wiki\extensions\SemanticMediaWiki\includes\export\SMW_Exp_Element.php:249<br /> Stack trace:<br /> #0 C:\wamp\www\wiki\extensions\SemanticMediaWiki\includes\export\SMW_Exporter.php(642): SMWExpLiteral->__construct(2456400.0961343, 'http://www.w3.o...', Object(SMWDITime))<br /> #1 C:\wamp\www\wiki\extensions\SemanticMediaWiki\includes\export\SMW_Exporter.php(215): SMWExporter::getDataItemHelperExpElement(Object(SMWDITime))<br /> #2 C:\wamp\www\wiki\extensions\SemanticMediaWiki\includes\export\SMW_Exporter.php(60): SMWExporter::addPropertyValues(Object(SMWDIProperty), Array, Object(SMWExpData), Object(SMWDIWikiPage))<br /> #3 C:\wamp\www\wiki\extensions\SemanticMediaWiki\includes\export\SMW_ExportController.php(124): SMWExporter::makeExportData(Object(SMWSql3StubSemanticData))<br /> #4 C:\wamp\www\wiki\extensions\SemanticMediaWiki\includes\export\SMW_ExportController.php(371): SMWExportController->serializePage(Object(SMWDIWikiPage), 1)<br /> #5 C:\wamp\www\wiki\extensions\SemanticMediaWiki\specials\Export\SMW_SpecialOWLExport.php(183): SMWExportController->printPages(Array, 0, '19700101000000')<br /> #6 C:\wamp\www\wiki\extensions\SemanticMediaWiki\specials\Export\SMW_SpecialOWLExport.php(49): SMWSpecialOWLExport->exportPages(Array)<br /> #7 C:\wamp\www\wiki\includes\SpecialPageFactory.php(476): SMWSpecialOWLExport->execute('Export_Test_pag...')<br /> #8 C:\wamp\www\wiki\includes\Wiki.php(263): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))<br /> #9 C:\wamp\www\wiki\includes\Wiki.php(593): MediaWiki->performRequest()<br /> #10 C:\wamp\www\wiki\includes\Wiki.php(503): MediaWiki->main()<br /> #11 C:\wamp\www\wiki\index.php(58): MediaWiki->run()<br /> #12 {main}<br /> """ Any thoughts about what could be causing this? I know that we were able to use RDF Export when we first installed the wiki, but we haven't touched it since then. I saw another post about importing vocabulary and thought to try it on our wiki, and first created a Mediawiki:smw_import_xxx page, and created a page to test some of the properties I defined therein. Then I noticed that RDF export didn't work on the page that used some of those properties, and started trying on some pages with non-imported vocabulary and got the same error. I've since removed the Mediawiki:smw_import_xxx page (just in case it was getting processed for some reason and causing problems), but, as shown in the example above, this happens for any RDF export, regardless of the properties used. (I've tried with properties and page names that don't contain spaces, too, and the same error occurs.) Thoughts? Thanks in advance, //JT -- Joshua Taylor, http://www.cs.rpi.edu/~tayloj/ |