Re: [SMW-devel] SMWSQLStore2 compatibility in latest SMW? (Getting errors)

2013-04-03 Thread Samuel Lampa
Ah, IC, thx! BR // Samuel On 04/03/2013 09:03 PM, Jeroen De Dauw wrote: > Hey, > > Right now obtaining the store is typically done by calling > smwfGetStore, which returns an instance of SMWStore. In other words, > you do not know which store implementation you are actually talking to. > > smwf

Re: [SMW-devel] SMWSQLStore2 compatibility in latest SMW? (Getting errors)

2013-04-03 Thread Jeroen De Dauw
Hey, Right now obtaining the store is typically done by calling smwfGetStore, which returns an instance of SMWStore. In other words, you do not know which store implementation you are actually talking to. smwfGetStore itself is rather evil, but that is another topic altogether and not relevant fo

Re: [SMW-devel] SMWSQLStore2 compatibility in latest SMW? (Getting errors)

2013-04-03 Thread Samuel Lampa
On 03/27/2013 01:36 PM, Nischay Nahata wrote: > On Wed, Mar 27, 2013 at 3:15 AM, Samuel Lampa > wrote: > > Yeah, have seen that I have way too much low level dependencies, > creating brittle code, etc. Bit embarrassing to look at the code now a > few year

Re: [SMW-devel] SMWSQLStore2 compatibility in latest SMW? (Getting errors)

2013-04-03 Thread Samuel Lampa
Hmm ... still have to ask some dumb questions here (since my brain works quite slow most of the time) ... On 03/25/2013 06:05 PM, Jeroen De Dauw wrote: > > Latest dev code no longer contains the old store. So 1.9 will not > support it. Your extension ought to use SMWs storage layer so it is > n

Re: [SMW-devel] SMWSQLStore2 compatibility in latest SMW? (Getting errors)

2013-03-27 Thread Nischay Nahata
On Wed, Mar 27, 2013 at 3:15 AM, Samuel Lampa wrote: > Yeah, have seen that I have way too much low level dependencies, > creating brittle code, etc. Bit embarrassing to look at the code now a > few years after :") > > What's the best resource/page for getting one's head around the storage > layer

Re: [SMW-devel] SMWSQLStore2 compatibility in latest SMW? (Getting errors)

2013-03-26 Thread Samuel Lampa
Yeah, have seen that I have way too much low level dependencies, creating brittle code, etc. Bit embarrassing to look at the code now a few years after :") What's the best resource/page for getting one's head around the storage layer? http://semantic-mediawiki.org/doc/group__SMWStore.html ? BR

Re: [SMW-devel] SMWSQLStore2 compatibility in latest SMW? (Getting errors)

2013-03-25 Thread Jeroen De Dauw
Latest dev code no longer contains the old store. So 1.9 will not support it. Your extension ought to use SMWs storage layer so it is not dependent on a specific version of some store implementation. Sent from my HTC one X. On 25 Mar, 2013 10:06 AM, "Samuel Lampa" wrote: > Ah, found out that I h

Re: [SMW-devel] SMWSQLStore2 compatibility in latest SMW? (Getting errors)

2013-03-25 Thread Samuel Lampa
Ah, found out that I have to set: $smwgDefaultStore = 'SMWSQLStore2'; Any hints for easiest migration of code that uses SMWSQLStore2 is highly appreciated though! (Becoming rusty with SMW stuff :| ) BR // Samuel On 03/25/2013 02:29 PM, Samuel Lampa wrote: > Hi, I was wondering what the sup

[SMW-devel] SMWSQLStore2 compatibility in latest SMW? (Getting errors)

2013-03-25 Thread Samuel Lampa
Hi, I was wondering what the support is supposed to be for SMWSQLStore2 in the latest SMW? I have realized that RDFIO [1] is currently using it, which was making it non-compatible with SMW 1.9. After updating the inclusion path of it to th new one [2] I get further, but then I get the following