[Pharo-users] Voyage-UnQLite hangs on Windows

Esteban Lorenzano estebanlm at gmail.com
Wed Jun 20 11:49:39 EDT 2018


Hi,

> On 20 Jun 2018, at 17:24, Marco Hörning <marco at omeleon.de> wrote:
> 
> I started evaluating Voyage-UnQLite, current Pharo 6.1, Windows 10
> 
> installed:
> 
> Metacello  new  	repository:  'github://pharo-nosql/voyage/mc';
> 	baseline:  'Voyage';
> 	load:  'unqlite tests'.
> 
> Using latest dll (Aug 10, 2016)
> https://github.com/pharo-nosql/PunQLite/commits/master/binary/win/unqlite.dll
> 
> Basic test trying to store and reload a simple object containing a string instance variable
> 
> Object subclass: #SomeTag
> 
>    instanceVariableNames: 'designation'
> 
> SomeTag class>>isVoyageRoot
> 
>    ^ true
> 
> Here's the Testcase code:
> 
> VoyageTest>>setUp
> 
>        repository := VOUnQLiteRepository on: FileSystem workingDirectory / 'TestDatabase.db'.
> 
>        repository open
> 
> VoyageTest>>tearDown
> 
>        repository close
> 
> 
> Running tests now:
> 
> VoyageTest>>testVoyageUnQLiteStartup
> 
> 	self assert: repository isOpen
> 
> 
> that works, db an be opened and closed. Now trying to store an object....
> 
> VoyageTest>>testVoyageUnQLiteWrite
> 
>                |  aTag  |
> 
> 	self assert: SomeTag isVoyageRoot.
> 
> 	aTag := SomeTag new designation:'aTag'.
> 
> 	repository save: aTag
> 
> 
> 
> works, if I open a Database (PunQLite) Browser it shows me the entries 'SomeTag' and 'SomeTag_0'. Trying to load the object....
> 
> VoyageTest>>testVoyageUnQLiteRead
> 
>              	| fetchedTags |
> 
>    	fetchedTags := repository selectAll:SomeTag
> 
> 
> that does not work. System hangs and I get a Testcase timeout  with a "TestTookTooMuchTime" exception.
> 
> the external call in
> 
> UnQLilteFFI>>array: pArray walk: xWalk data: pUserData
> 
> 
> does not come back.
> 
> 
> Any comments or bright ideas what's wrong ? Anybody experience with Voyage-UnQLite on Windows ?

well… thing is I never tried it on windows so I don’t know what may be wrong :(
also, there is a chance is something more general from voyage-unqlite… 

give me a couple of days and I will check it.

cheers,
Esteban 


> 
> Kind Regards from Germany
> Marco
> 
> 
> 
> 
> 
> 
> 




More information about the Pharo-users mailing list