Hello

 

Just an update on a further test. Going through old e-mails, I saw Esteban Lorenzano’s recommendation to use a different repository to install PunQLite. I used his snippet:

Metacello new 
    repository: 'github://pharo-nosql/PunQLite/repository';
    baseline: 'PunQLite';
    load.

to install it in a clean Moose 6.1 image. The results were the same; all tests red, manual test gave error: ‘External module not found’. I suspect it is all a matter of getting the unqlite.dll module where it can be found, but I don’t know where this should be.

 

Thanks for any help

 

Peter Kenny

 

From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org] On Behalf Of PBKResearch
Sent: 11 July 2017 18:27
To: pharo-users@lists.pharo.org
Subject: [Pharo-users] Problems with PunQLite

 

Hello

 

I have decided to have another try with PunQLite, having failed to get it working before. For the record, I am using Windows 10 Home with all recent updates applied.

 

I tried the following:

 

  1. Download latest image of Moose 6.1 (Pharo 6.0 Latest update: #60507).
  2. Search Catalog Browser for PunQLite, which is flagged as OK for Pharo 6.0, and select ‘Install stable version’.
  3. Check that the file unqlite.dll has been installed in the same folder as the image.
  4. Run tests in PqDatabaseTests. 30 tests run, all red.
  5. Try to run some tests manually. Enter ‘PqDatabase openOnMemory’ and ‘doIt’. Result: ‘Error: External module not found’.

 

Looking at the Monticello Browser, I see that my image has ConfigurationOfPunQLite(TorstenBergmann.29) and PunQLite-Core(TorstenBergmann.28). This is the version chosen as stable by the Catalog Browser. Have I in fact got the right version? Do I have to do something with the .dll to make it visible to the .ffi call?

 

Any suggestions gratefully received.

 

Peter Kenny