Hi Graham,

Was that running the original sleepycat_example.py against RDFlib master? What 
version of Python did you run on?

I’m running against master on Python 3.9 and since the sleepycat library won’t 
be supported in Python 3.10 (according to the BerkeleyFB replacement module) I 
switched to that and got a run failure. The BerkeleyDB module claims to be 
comparable with sleepycat.

In my BerkeleyDB branch, see this line:

https://github.com/RDFLib/rdflib/blob/BerkeleyDB/rdflib/plugins/stores/berkeleydb.py#L15

That’s using BerkeleyDB in a renamed store file (Sleepycat to BerkeleyDB) with 
very few other changes (“” goes to None, not many other).

Nick

— 
Dr Nicholas Car
Data Systems Architect
SURROUND Australia
0477 560 177
[email protected]

> On 8 May 2021, at 7:51 pm, Graham Higgins <[email protected]> wrote:
> 
> 
> Can't reproduce the issue here after a straight copy'n'pasta:
> 
> Triples in graph before add: 0
> Triples in graph after add: 2
> b'@prefix test: <http://rdflib.net/test/> .
> test:pic:1 test:name "Jane & Bob" .
> test:pic:2 test:name "Squirrel in Tree" .'
> Triples still in graph: 2
> 
> Cheers,
> 
> Graham
> 
> -- 
> http://github.com/RDFLib
> --- 
> You received this message because you are subscribed to the Google Groups 
> "rdflib-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rdflib-dev/c0b94824-313b-4f80-a62e-ff190cb7decdn%40googlegroups.com.

-- 
http://github.com/RDFLib
--- 
You received this message because you are subscribed to the Google Groups 
"rdflib-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rdflib-dev/AFF6C448-58BF-432B-9668-C9316D857F0B%40surroundaustralia.com.

Reply via email to