Re: DBI.Connection call yields "Object: nil error: did not understand #atEnd" in ST 3.2.91-b98173d

Holger Freyther <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
> On 29 Aug 2015, at 21:31, Mark Bratcher <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.