Last modified: 2014-07-01 23:09:18 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 T46700, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44700 - SMW_refreshData.php fails with 4store RDF store backend
SMW_refreshData.php fails with 4store RDF store backend
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-06 03:35 UTC by Patrick Lauer
Modified: 2014-07-01 23:09 UTC (History)
4 users (show)

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


Attachments

Description Patrick Lauer 2013-02-06 03:35:41 UTC
# php SemanticMediaWiki/maintenance/SMW_refreshData.php -v

(230) Processing ID 236 ...
Unexpected non-MediaWiki exception encountered, of type "SMWSparqlDatabaseError"
exception 'SMWSparqlDatabaseError' with message 'A SPARQL query error has occurred
Query: PREFIX wiki: <http://wikiserver/wiki/index.php/Special:URIResolver/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX swivt: <http://semantic-mediawiki.org/swivt/1.0#>
PREFIX property: <http://wikiserver/wiki/index.php/Special:URIResolver/Property-3A>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
DELETE { ?s ?p ?o } WHERE { ?s swivt:masterPage property:TLInstructions . ?s ?p ?o }
Error: Malformed query
Endpoint: http://localhost:8080/update/
HTTP response code: 400
' in /wiki/extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlDatabase.php:587
Stack trace:
#0 /wiki/extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlDatabase.php(497): SMWSparqlDatabase->throwSparqlErrors('http://localhos...', 'PREFIX wiki: <h...')
#1 /wiki/extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlDatabase.php(351): SMWSparqlDatabase->doUpdate('PREFIX wiki: <h...')
#2 /wiki/extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlDatabase.php(371): SMWSparqlDatabase->delete('?s ?p ?o', '?s swivt:master...', Array)
#3 /wiki/extensions/SemanticMediaWiki/includes/storage/SMW_SparqlStore.php(264): SMWSparqlDatabase->deleteContentByValue('swivt:masterPag...', 'property:TLInst...', Array)
#4 /wiki/extensions/SemanticMediaWiki/includes/storage/SMW_SparqlStore.php(28): SMWSparqlStore->deleteSparqlData(Object(SMWExpNsResource))
#5 /wiki/extensions/SemanticMediaWiki/includes/jobs/SMW_UpdateJob.php(45): SMWSparqlStore->deleteSubject(Object(Title))
#6 /wiki/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php(1541): SMWUpdateJob->run()
#7 /wiki/extensions/SemanticMediaWiki/maintenance/SMW_refreshData.php(148): SMWSQLStore2->refreshData(236, 1, false, false)
#8 {main}

syslog shows:


4store[693]: httpd.c:303 HTTP error, returning status 400 4store only implements application/x-www-form-urlencoded

Versions involved:

Mediawiki 1.20
Semantic MediaWiki 1.7.1
4store 1.1.5
Comment 1 Nischay Nahata 2013-02-06 04:01:44 UTC
I think someone suggested a fix for this on the mailing list, or was that another bug?
Comment 2 Gerrit Notification Bot 2013-08-11 17:04:17 UTC
Change 70047 had a related patch set uploaded by Nemo bis:
Fixes RDF export of subobjects

https://gerrit.wikimedia.org/r/70047
Comment 3 MWJames 2014-07-01 23:09:18 UTC
Ought to be fixed with [0]. For details on the test environment, see [0, 1].

[0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/370
[1] https://github.com/SemanticMediaWiki/SemanticMediaWiki/tree/master/tests#4store-integration

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


Navigation
Links