Fuseki 1.3.1 and SMW 2.3.1: Unexpected non-MediaWiki exception encountered, of type "SMW\SPARQLStore\Exception\BadHttpDatabaseResponseException" (CLOSED)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fuseki 1.3.1 and SMW 2.3.1: Unexpected non-MediaWiki exception encountered, of type "SMW\SPARQLStore\Exception\BadHttpDatabaseResponseException" (CLOSED)

Hansch (DIQA)
Hi all,

apparently I was missing this line in my configuration:
$smwgSparqlDataEndpoint = "";

Case closed ;-)

Thank you.
Daniel


-----Ursprüngliche Nachricht-----
Von: Hansch (DIQA) [mailto:[hidden email]]
Gesendet: Samstag, 6. Februar 2016 11:19
An: 'James HK' <[hidden email]>; '[hidden email]' <[hidden email]>
Betreff: AW: [Semediawiki-user] Fuseki 1.3.1 and SMW 2.3.1: Unexpected non-MediaWiki exception encountered, of type "SMW\SPARQLStore\Exception\BadHttpDatabaseResponseException"

Hi,

thank you, I was already aware of this, but I couldn't apply it since the only output I am getting is:
Unexpected non-MediaWiki exception encountered, of type "SMW\SPARQLStore\Exception\BadHttpDatabaseResponseException".

"|format=debug" is also not applicable in my case, since I am getting this error when saving pages (with and w/o semantic annotations in them).

Other ideas?

Thanks
Daniel

-----Ursprüngliche Nachricht-----
Von: James HK [mailto:[hidden email]]
Gesendet: Freitag, 5. Februar 2016 21:32
An: [hidden email]
Cc: [hidden email]
Betreff: Re: [Semediawiki-user] Fuseki 1.3.1 and SMW 2.3.1: Unexpected non-MediaWiki exception encountered, of type "SMW\SPARQLStore\Exception\BadHttpDatabaseResponseException"

Hi,

Have a look at [0].

[0] https://www.semantic-mediawiki.org/wiki/Help:SPARQLStore/Exception/BadHttpDatabaseResponseException

Cheers

On 2/5/16, Hansch (DIQA) <[hidden email]> wrote:

> Hi all,
>
>
>
> I've installed SMW 2.3.1 with Fuseki 1.3.1:
>
> $smwgDefaultStore = 'SMWSparqlStore';
>
> $smwgSparqlDatabaseConnector = 'fuseki';
>
> $smwgSparqlQueryEndpoint = 'http://tm.localhost:3030/db/query';
>
> $smwgSparqlUpdateEndpoint = 'http://tm.localhost:3030/db/update';
>
>
>
> Fuseki has been started with:
>
> fuseki-server --update --port=3030 --mem /db
>
>
>
> MediaWiki reports this exception whenever I am editing and saving pages:
>
> Unexpected non-MediaWiki exception encountered, of type
> "SMW\SPARQLStore\Exception\BadHttpDatabaseResponseException"
>
>
>
> Fuseki doesn't show any error (see below for the output).
>
>
>
> Anybody any idea what could be wrong?
>
>
>
> Thanks in advance J
>
> Daniel
>
>
>
>
>
>
>
> Fuseki-Output:
>
>
>
> 19:10:57 INFO  [105] POST http://tm.localhost:3030/db/query
>
> 19:10:57 INFO  [105] Query = PREFIX wiki:
> <http://tm.localhost/mediawiki/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://tm.localhost/mediawiki/index.php/Special:URIResolver/Property-
> 3A> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX category:
> <http://tm.localhost/mediawiki/index.php/Special:URIResolver/Category-
> 3A> SELECT * WHERE { category:Person swivt:wikiPageSortKey ?s
> OPTIONAL { category:Person swivt:redirectsTo ?r } } LIMIT 1
>
> 19:10:57 INFO  [105] exec/select
>
> 19:10:57 INFO  [105] 200 OK (5 ms)
>
> 19:10:57 INFO  [106] POST http://tm.localhost:3030/db/query
>
> 19:10:57 INFO  [106] Query = PREFIX wiki:
> <http://tm.localhost/mediawiki/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://tm.localhost/mediawiki/index.php/Special:URIResolver/Property-
> 3A> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT * WHERE {
> property:Last_editor_is swivt:wikiPageSortKey ?s  OPTIONAL {
> property:Last_editor_is swivt:redirectsTo ?r } } LIMIT 1
>
> 19:10:57 INFO  [106] exec/select
>
> 19:10:57 INFO  [106] 200 OK (6 ms)
>
> 19:10:57 INFO  [107] POST http://tm.localhost:3030/db/query
>
> 19:10:57 INFO  [107] Query = PREFIX wiki:
> <http://tm.localhost/mediawiki/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://tm.localhost/mediawiki/index.php/Special:URIResolver/Property-
> 3A> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT * WHERE {
> wiki:User-3AWikiSysop swivt:wikiPageSortKey ?s  OPTIONAL {
> wiki:User-3AWikiSysop swivt:redirectsTo ?r } } LIMIT 1
>
> 19:10:57 INFO  [107] exec/select
>
> 19:10:57 INFO  [107] 200 OK (9 ms)
>
> 19:10:57 INFO  [108] POST http://tm.localhost:3030/db/update
>
> 19:10:57 INFO  [108] 200 OK (3 ms)
>
> 19:10:57 INFO  [109] POST http://tm.localhost:3030/db/update
>
> 19:10:57 INFO  [109] 200 OK (3 ms)
>
>
>
> ----------------------------------------------------------------------
> --------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Semediawiki-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user