VW7.8 Store Sqlite3 install problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

VW7.8 Store Sqlite3 install problem

askoh
Administrator
Download sqlite3
Copy sqlite3.def, sqlite3.dll, sqlite3.exe into C:\Windows\System32

Starting with virgin 7.8 image.
Load parcel StoreForSQLite3.pcl.
Doit
    Store.DbRegistry installDatabaseTables.
Get dialog. Enter user, password. Click Connect.
Get an exception below.
Please help.
Thanks,
Aik-Siong Koh

Unhandled exception: Message not understood: #isEmpty
ExternalMethod class(Object)>>doesNotUnderstand:
Store.ConnectionDialog class(ConnectionDialog class)>>messageFor:from:
optimized [] in [] in ConnectionDialog class>>connect:
BlockClosure>>cull:
ExternalObjectNotFoundError(GenericException)>>performHandler:
ExternalObjectNotFoundError(GenericException)>>propagatePrivateFrom:
ExternalObjectNotFoundError(GenericException)>>propagateFrom:
ExternalObjectNotFoundError(GenericException)>>propagate
ExternalObjectNotFoundError(GenericException)>>raiseSignal
ExternalObjectNotFoundError class(GenericException class)>>raiseWith:
[] in ExternalMethod class>>mapAddressFor:
LinkedOrderedCollection>>detect:ifNone:
ExternalMethod class>>mapAddressFor:
ExternalMethod class>>virtualHandleForClass:external:
ExternalMethod>>unlinkedCall:arguments:
SQLite3Connection>>serverAttachEnvironmentExternal:
optimized [] in SQLite3Connection>>acquireExternal:
BlockClosure>>ifCurtailed:
SQLite3Connection>>acquireExternal:
SQLite3Connection(ExternalDatabaseConnection)>>acquire:
SQLite3Connection(ExternalDatabaseConnection)>>connect:
Store.ConnectionDialog class(ConnectionDialog class)>>unsafeConnect:
optimized [] in [] in ConnectionDialog class>>connect:
Reply | Threaded
Open this post in threaded view
|

Re: VW7.8 Store Sqlite3 install problem

askoh
Administrator
I am using Win7 64bit. Running 32bit VW 7.8.
Reply | Threaded
Open this post in threaded view
|

Re: VW7.8 Store Sqlite3 install problem

Samuel S. Shuster-2
askoh,

> I am using Win7 64bit. Running 32bit VW 7.8.

If you downloaded the 64 bit SQLite3, it will not work with 32 bit VW.

Also, try putting the sqlite3.dll in either the bin/win directory or the image directory.

                                And So It Goes
                                     Sames
______________________________________________________________________

Samuel S. Shuster [|]
VisualWorks Engineering, Store Project
Smalltalk Enables Success -- What Are YOU Using?





_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: VW7.8 Store Sqlite3 install problem

Niall Ross
In reply to this post by askoh
Dear Koh,
   you must use the 32-bit dll if you are running the VisualWorks
Windows 32-bit VM.

IIUC, the correct place to put it on a 64-bit Windows machine is in
C:\Windows\SysWOW64, not in C:\Windows\System32 which is where the
64-bit dll should be on a 64-bit machine and where the 32-bit dll should
be on a 32-bit machine.  (Not the most obvious naming conventions, to my
mind, but that's what Microsoft chose, and the installers Microsoft
provide follow that pattern.)

As Sames says, you can also put the 32-bit dll in the VisualWorks
bin/win directory, or in the image directory, and it should work.

The 64-bit SQLite works fine if you are running the 64-bit Windows VM.  
That VM is in bin/unsupported/win64 in 7.8 and 7.8.1.  It will be
supported in 7.9.

There is an AR to have the external interface in SQLite3EXDI find the
correct binary for the WisualWorks VM when both 32 and 64 bit binaries
are present.  If you both install the 32-bit and do anything with the
unsupported 64-bit on your machine in 7.8.1, by all means post your
experience of the current state on Windows.

               Yours faithfully
                     Niall Ross

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: VW7.8 Store Sqlite3 install problem

askoh
Administrator
I put sqlite3.dll in the bin/win directory and it worked.

I notice that the 'mysqlite' database for store is in the same location as the image directory. How can I have a master 'mysqlite' database that all images (present and future) can point to?

Thanks,
Aik-Siong Koh