Last modified: 2008-12-05 19:05:24 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 T17117, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15117 - After upgrading to SMW and installing the SPARQL endpoint, SMW_refreshData.php doesn't work anymore
After upgrading to SMW and installing the SPARQL endpoint, SMW_refreshData.ph...
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
PC Linux
: Normal critical (vote)
: ---
Assigned To: denny vrandecic
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-11 12:40 UTC by Lior Gradstein
Modified: 2008-12-05 19:05 UTC (History)
3 users (show)

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


Attachments

Description Lior Gradstein 2008-08-11 12:40:54 UTC
After upgrading SMW to version 1.2.1, I could update the base SMW_refreshData.php without problem.
But after configuring the SPARQL endpoint (described on http://semantic-mediawiki.org/wiki/Help:SPARQL_endpoint ), I cannot anymore run SMW_refreshData.php (yes, I initialized the database through wiki/Special:SMWAdmin)

I get the following error:

# php SMW_refreshData.php 
Refreshing all semantic data in the database!
Processing pages from ID 0 to ID 82 ...
Fatal error: Call to a member function find() on a non-object in /var/www/mediawiki_svn/extensions/SemanticMediaWiki/includes/storage/SMW_RAPStore.php on line 340

(the database seems to work, as I can create a new property and I see it in the 'statements' mysql table).
Comment 1 Markus Krötzsch 2008-09-04 06:59:39 UTC
Denny maintains the RAP store, maybe he can help.

Anyway, semantic-web.org runs on SMWRAPStore2 and I use refreshData there regularly. Maybe you should try switching to RAPStore2 anyway (the SQL2 backend is better). To do that, follow the migration steps as explained on http://semantic-mediawiki.org/wiki/Help:Installation_1.2#Upgrading_to_the_new_store
Comment 2 cariaso 2008-10-08 12:57:11 UTC
After svn updating to the latest version: Semantic MediaWiki (Version 1.4b-SVN) I'm consistently seeing this error even when using RAPStore2

php runJobs.php 
2008-10-08 12:50:11  0  SMWUpdateJob 7300001
Fatal error: Call to a member function find() on a non-object in /root/dev/phase3/extensions/SemanticMediaWiki/includes/storage/SMW_RAPStore2.php on line 273
Comment 3 cariaso 2008-10-10 16:24:09 UTC
And now it has appeared again when trying to save a page after making an edit from the webbrowser. 

Fatal error: Call to a member function find() on a non-object in /root/dev/phase3/extensions/SemanticMediaWiki/includes/storage/SMW_RAPStore2.php on line 273

For the moment I've commented out 

#$smwgDefaultStore = "SMWRAPStore2";

aware that this means my RAP will begin to get out of date with wiki content.
Comment 4 Markus Krötzsch 2008-12-05 17:44:52 UTC
I still do not see Denny commenting on this ...

Anyway, it seems likely that there will be better RDF storage binding in upcoming SMWs. RAP, in particular, will probably vanish, since it is no longer actively developed. Maybe Denny could provide some details.
Comment 5 cariaso 2008-12-05 19:05:24 UTC
I've continued to stay up to the recent releases, and did find all issues happily gone since the recent 1.4 release.

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


Navigation
Links