help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] DBI.Connection call yields "Object: nil error: did


From: Holger Freyther
Subject: Re: [Help-smalltalk] DBI.Connection call yields "Object: nil error: did not understand #atEnd" in ST 3.2.91-b98173d
Date: Sat, 29 Aug 2015 22:27:46 +0200

> On 29 Aug 2015, at 21:31, Mark Bratcher <address@hidden> wrote:
> 
> Hello

Hi!


> I've been using GNU Smalltalk 3.2.5 with DBI without any serious issues. 
> However, when I tried version 3.2.91-b98173d, I get an error attempting to 
> connect to a simple MySQL database:
> 
> |st> PackageLoader fileInPackage: 'DBI' Loading package ROE Loading package 
> DBI PackageLoader st> PackageLoader fileInPackage: 'DBD-MySQL' Loading 
> package ObjectDumper Loading package Sockets Loading package DBI Loading 
> package Digest Loading package DBD-MySQL PackageLoader st> db := 
> DBI.Connection connect: 'dbi:MySQL:dbname=test_database' user: 'name' 
> password: 'mypassword' Object: nil error: did not understand #atEnd |

My first guess would be that the authentication has failed and that the
underlying stream is nil.

The MySQL test is ran on the travis-ci build and it passed the last time[1].
So in some configuration it works with master as well.




> I have 3.2.5 and 3.2.91-b98173d in two different source directories. When I 
> want to use one of them, I use `make install` to install it. I'm assuming 
> that the `make install` will overwrite whatever it needs to in library/binary 
> folders to operate properly. Is this not a good assumption?

It is a good assumption. make install should install everything and the MySQL
package should not accidentally pull in old things.

kind regards
        holger


[1] https://travis-ci.org/gnu-smalltalk/smalltalk#L3793





reply via email to

[Prev in Thread] Current Thread [Next in Thread]