Re: [SMW-devel] Strange error, SMW_SQLStore2 not initialized

2011-07-30 Thread Samuel Lampa
(Using trunk version of MW, SMW and RDFIO) // Samuel On 07/31/2011 05:30 AM, Samuel Lampa wrote: > Hi, > > Debugging the RDF Import in RDFIO, I got this: > > Fatal error: Call to a member function setId() on a non-object in > /home/samuel/www/smw-trunk/extensions/SemanticMediaWiki/includes/storag

[SMW-devel] Strange error, SMW_SQLStore2 not initialized

2011-07-30 Thread Samuel Lampa
Hi, Debugging the RDF Import in RDFIO, I got this: Fatal error: Call to a member function setId() on a non-object in /home/samuel/www/smw-trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php on line 1975 (Full stack trace here: http://pastebin.com/Z5JktQDZ ) Row 1975 in SMW_

Re: [SMW-devel] How to create new SMWDIWikiPage from title and ns?

2011-07-30 Thread Samuel Lampa
On 07/30/2011 11:31 PM, Samuel Lampa wrote: >> Some of your above code creates some very strange (to my eye) >> > SMWWikiPageValue objects that might actually be invalid (check with >> > isValid()). Namely, you try to use "false" as a title string, but a >> > title string should be a valid Media

Re: [SMW-devel] How to create new SMWDIWikiPage from title and ns?

2011-07-30 Thread Samuel Lampa
On 07/30/2011 06:44 PM, Markus Krötzsch wrote: > On 30/07/11 01:10, Samuel Lampa wrote: >> > > You may want to take advantage of our extensive API documentation at > > http://semantic-mediawiki.org/doc/classSMWDIWikiPage.html Right, thanks ... have been too busy the last year, to really follow th

Re: [SMW-devel] RDF Import

2011-07-30 Thread Samuel Lampa
On 03/29/2011 10:15 AM, Markus Krötzsch wrote: > On 28/03/11 22:42, Samuel Lampa wrote: > > > >> Generally, I feel that RDFIO really would be helped by some thorough >> refactoring. If I get the time and strength one of these days, I might >> give this a go (I'll have to do something, at least bef

Re: [SMW-devel] How to create new SMWDIWikiPage from title and ns?

2011-07-30 Thread Markus Krötzsch
On 30/07/11 01:10, Samuel Lampa wrote: > Hi, > > I got a reported bug (per mail) with the initSMWWriter function in the > PageHandler class in RDFIO [1] (For complete code, see: [2]), which seem > to be due to some API changes in SMW, for which I'd need some guidance. > > When trying to import the