Login  Register

Re: PUnQLite NB error

Posted by Bernat Romagosa on Apr 05, 2015; 9:45am
URL: https://forum.world.st/PUnQLite-NB-error-tp4817645p4817647.html

Ok, forget that! It seems the configuration downloads the unqlite.so library into the wrong path... just moving it to the image folder did the trick.

2015-04-05 11:26 GMT+02:00 Bernat Romagosa <[hidden email]>:
Hi list,

I'm trying to get Masashi's PUnQLite package to work in Pharo 4 under Ubuntu, and here's what happens when I try to run the example code:

|db|
db := PqDatabase open: 'comments.db'.
db disableAutoCommit.
db transact: [
Object subclasses do: [:cls | | key |
    key := cls asString.
    db at: key put: cls comment ]
].
db close.



Any idea what can be happening here?

Thanks! :)
Bernat.

--
Bernat Romagosa.



--
Bernat Romagosa.