PostgreSQL Client for Squeak 3.9

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

PostgreSQL Client for Squeak 3.9

Richard Eng
Using SqueakMap Loader in Damien's 2.7 image, the PostgreSQL Client package (Version 1.0) apparently has no published release for Squeak 3.9. Is there a more recent release? Or can I just install any ol' release for 3.9?
 
Thanks,
Richard

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: PostgreSQL Client for Squeak 3.9

Ron Teitelbaum
Hi Richard,

I use:

http://www.squeaksource.com/PostgresV2.html 

For 3.9.  

I had to change one thing to get Glorp and PostgreSQL working properly.
http://bugs.squeak.org/view.php?id=3834 

Hope that helps,

Ron Teitelbaum
President / Principal Software Engineer
US Medical Record Specialists
www.USMedRec.com  

________________________________________
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Richard K
Eng
Sent: Wednesday, July 18, 2007 2:03 PM
To: Seaside - general discussion
Subject: [Seaside] PostgreSQL Client for Squeak 3.9

Using SqueakMap Loader in Damien's 2.7 image, the PostgreSQL Client package
(Version 1.0) apparently has no published release for Squeak 3.9. Is there a
more recent release? Or can I just install any ol' release for 3.9?
 
Thanks,
Richard

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: PostgreSQL Client for Squeak 3.9

Richard Eng
I'm having quite a few failures in the Glorp tests. Can anybody help me out?

I installed the PostgresV2 client. Then I installed Glorp Preload, Glorp,
Glorp Postload, Glorp Test, Glorp Test Postload (all from 0.4.129).

Following Ramon's suggestion, I edited PostgreSQL's pg_hba.conf and changed
'md5' to 'password'.

I applied the fix to PostgreSQL Client as indicated in the post below.

I modified class method #defaultPostgreSQLLocalLogin to connect with
'localhost:5432_test'. (Should I be using 'test'?)

I even tried creating a PostgreSQL database called 'test'. (Is this
necessary?)

But when I run TestRunner, I get some tests passed, some tests failed, and a
really nasty exception (PGConnection>>execute
SqueakDatabaseAccessor>>basicExecuteSQLString  blah blah blah) on some
tests.

I have no idea where to begin looking for the cause. All I want is to pass
the tests so I can get to the good stuff...

Thanks,
Richard


On 7/18/07 2:43 PM, "Ron Teitelbaum" <[hidden email]> wrote:

> Hi Richard,
>
> I use:
>
> http://www.squeaksource.com/PostgresV2.html
>
> For 3.9.  
>
> I had to change one thing to get Glorp and PostgreSQL working properly.
> http://bugs.squeak.org/view.php?id=3834
>
> Hope that helps,
>
> Ron Teitelbaum
> President / Principal Software Engineer
> US Medical Record Specialists
> www.USMedRec.com
>
> ________________________________________
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of Richard K
> Eng
> Sent: Wednesday, July 18, 2007 2:03 PM
> To: Seaside - general discussion
> Subject: [Seaside] PostgreSQL Client for Squeak 3.9
>
> Using SqueakMap Loader in Damien's 2.7 image, the PostgreSQL Client package
> (Version 1.0) apparently has no published release for Squeak 3.9. Is there a
> more recent release? Or can I just install any ol' release for 3.9?
>  
> Thanks,
> Richard
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: PostgreSQL Client for Squeak 3.9

Rick Flower
On Thu, July 19, 2007 11:07 am, Richard Eng wrote:
> I'm having quite a few failures in the Glorp tests. Can anybody help me
> out?

Richard --

Make sure you sign up to the Glorp mailing list.. (www.glorp.org).. It's
been a while since I ran some of those tests using Pgsql for VW.. Anyway,
I'm sure that Alan can give some suggestions over there..


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: PostgreSQL Client for Squeak 3.9

Ron Teitelbaum
In reply to this post by Richard Eng
Hi Richard,

I had a quick look and notice the comment here.  You changed
defaultPostgreSQLLogin but it is not used unless you execute the code in
quotes below.

defaultPostgreSQLLogin
        "To set the default database login to PostgreSQL, execute the
following statement."
        "DefaultLogin := self defaultPostgreSQLLogin."   <- this code here

I edited

buildDefaultConnectionArgs

        ^ PGConnectionArgs
                hostname: 'localhost'
                portno: 5432
                databaseName: 'MYDBNAME'
                userName: 'aUserName'
                password: 'aPassword'

to point to the database that I created on postreSQL instead.

You could also (and should) leave the MD5 if you load the MD5 code from
www.squeaksource.com/Cryptography

Ron Teitelbaum
Squeak Cryptography Team Leader


> -----Original Message-----
> From: [hidden email] [mailto:seaside-
> [hidden email]] On Behalf Of Richard Eng
> Sent: Thursday, July 19, 2007 2:08 PM
> To: [hidden email], Seaside - general discussion
> Subject: Re: [Seaside] PostgreSQL Client for Squeak 3.9
>
> I'm having quite a few failures in the Glorp tests. Can anybody help me
> out?
>
> I installed the PostgresV2 client. Then I installed Glorp Preload, Glorp,
> Glorp Postload, Glorp Test, Glorp Test Postload (all from 0.4.129).
>
> Following Ramon's suggestion, I edited PostgreSQL's pg_hba.conf and
> changed
> 'md5' to 'password'.
>
> I applied the fix to PostgreSQL Client as indicated in the post below.
>
> I modified class method #defaultPostgreSQLLocalLogin to connect with
> 'localhost:5432_test'. (Should I be using 'test'?)
>
> I even tried creating a PostgreSQL database called 'test'. (Is this
> necessary?)
>
> But when I run TestRunner, I get some tests passed, some tests failed, and
> a
> really nasty exception (PGConnection>>execute
> SqueakDatabaseAccessor>>basicExecuteSQLString  blah blah blah) on some
> tests.
>
> I have no idea where to begin looking for the cause. All I want is to pass
> the tests so I can get to the good stuff...
>
> Thanks,
> Richard
>
>
> On 7/18/07 2:43 PM, "Ron Teitelbaum" <[hidden email]> wrote:
>
> > Hi Richard,
> >
> > I use:
> >
> > http://www.squeaksource.com/PostgresV2.html
> >
> > For 3.9.
> >
> > I had to change one thing to get Glorp and PostgreSQL working properly.
> > http://bugs.squeak.org/view.php?id=3834
> >
> > Hope that helps,
> >
> > Ron Teitelbaum
> > President / Principal Software Engineer
> > US Medical Record Specialists
> > www.USMedRec.com
> >
> > ________________________________________
> > From: [hidden email]
> > [mailto:[hidden email]] On Behalf Of Richard
> K
> > Eng
> > Sent: Wednesday, July 18, 2007 2:03 PM
> > To: Seaside - general discussion
> > Subject: [Seaside] PostgreSQL Client for Squeak 3.9
> >
> > Using SqueakMap Loader in Damien's 2.7 image, the PostgreSQL Client
> package
> > (Version 1.0) apparently has no published release for Squeak 3.9. Is
> there a
> > more recent release? Or can I just install any ol' release for 3.9?
> >
> > Thanks,
> > Richard
> >
> > _______________________________________________
> > Seaside mailing list
> > [hidden email]
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: PostgreSQL Client for Squeak 3.9

radoslav hodnicak
In reply to this post by Richard Eng


On Thu, 19 Jul 2007, Richard Eng wrote:

> I'm having quite a few failures in the Glorp tests. Can anybody help me out?
>
> I installed the PostgresV2 client. Then I installed Glorp Preload, Glorp,
> Glorp Postload, Glorp Test, Glorp Test Postload (all from 0.4.129).

How do you even do that? And why? If you install Glorp from Squeakmap it
will file-in all this code for you, no need to do it manually.

rado
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: PostgreSQL Client for Squeak 3.9

Richard Eng
"Ah, I see!", said the blind man, as he picked up his hammer and saw.

When I saw the menu item "install SAR", I thought it meant install the SAR
utility program. I misunderstood.

Okay, I did it the right way this time. Now I see a readme that tells me
exactly what to do to pass the tests. HOWEVER, it still fails...with the
same problems as before.

I've re-posted the question at Glorp.org.

Thanks,
Richard


----- Original Message -----
From: "radoslav hodnicak" <[hidden email]>
To: "Seaside - general discussion" <[hidden email]>
Sent: Thursday, July 19, 2007 3:43 PM
Subject: Re: [Seaside] PostgreSQL Client for Squeak 3.9


>
>
> On Thu, 19 Jul 2007, Richard Eng wrote:
>
>> I'm having quite a few failures in the Glorp tests. Can anybody help me
>> out?
>>
>> I installed the PostgresV2 client. Then I installed Glorp Preload, Glorp,
>> Glorp Postload, Glorp Test, Glorp Test Postload (all from 0.4.129).
>
> How do you even do that? And why? If you install Glorp from Squeakmap it
> will file-in all this code for you, no need to do it manually.
>
> rado
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside 

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: PostgreSQL Client for Squeak 3.9

radoslav hodnicak

Try it again in a fresh image. If you mess up at first, some globals have
to be reset (basically you can just follow the senders of the method and
manually reinitiallize the places that use it).

rado

On Thu, 19 Jul 2007, Richard K Eng wrote:

> "Ah, I see!", said the blind man, as he picked up his hammer and saw.
>
> When I saw the menu item "install SAR", I thought it meant install the SAR
> utility program. I misunderstood.
>
> Okay, I did it the right way this time. Now I see a readme that tells me
> exactly what to do to pass the tests. HOWEVER, it still fails...with the same
> problems as before.
>
> I've re-posted the question at Glorp.org.
>
> Thanks,
> Richard
>
>
> ----- Original Message ----- From: "radoslav hodnicak" <[hidden email]>
> To: "Seaside - general discussion" <[hidden email]>
> Sent: Thursday, July 19, 2007 3:43 PM
> Subject: Re: [Seaside] PostgreSQL Client for Squeak 3.9
>
>
>>
>>
>> On Thu, 19 Jul 2007, Richard Eng wrote:
>>
>>> I'm having quite a few failures in the Glorp tests. Can anybody help me
>>> out?
>>>
>>> I installed the PostgresV2 client. Then I installed Glorp Preload, Glorp,
>>> Glorp Postload, Glorp Test, Glorp Test Postload (all from 0.4.129).
>>
>> How do you even do that? And why? If you install Glorp from Squeakmap it
>> will file-in all this code for you, no need to do it manually.
>>
>> rado
>> _______________________________________________
>> Seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside 
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: PostgreSQL Client for Squeak 3.9

Richard Eng
I did...and IT WORKED! Strange.

Okay, problem solved.

Thanks,
Richard

----- Original Message -----
From: "radoslav hodnicak" <[hidden email]>
To: "Seaside - general discussion" <[hidden email]>
Sent: Thursday, July 19, 2007 4:28 PM
Subject: Re: [Seaside] PostgreSQL Client for Squeak 3.9


>
> Try it again in a fresh image. If you mess up at first, some globals have
> to be reset (basically you can just follow the senders of the method and
> manually reinitiallize the places that use it).
>
> rado
>
> On Thu, 19 Jul 2007, Richard K Eng wrote:
>
>> "Ah, I see!", said the blind man, as he picked up his hammer and saw.
>>
>> When I saw the menu item "install SAR", I thought it meant install the
>> SAR utility program. I misunderstood.
>>
>> Okay, I did it the right way this time. Now I see a readme that tells me
>> exactly what to do to pass the tests. HOWEVER, it still fails...with the
>> same problems as before.
>>
>> I've re-posted the question at Glorp.org.
>>
>> Thanks,
>> Richard
>>
>>
>> ----- Original Message ----- From: "radoslav hodnicak" <[hidden email]>
>> To: "Seaside - general discussion" <[hidden email]>
>> Sent: Thursday, July 19, 2007 3:43 PM
>> Subject: Re: [Seaside] PostgreSQL Client for Squeak 3.9
>>
>>
>>>
>>>
>>> On Thu, 19 Jul 2007, Richard Eng wrote:
>>>
>>>> I'm having quite a few failures in the Glorp tests. Can anybody help me
>>>> out?
>>>>
>>>> I installed the PostgresV2 client. Then I installed Glorp Preload,
>>>> Glorp,
>>>> Glorp Postload, Glorp Test, Glorp Test Postload (all from 0.4.129).
>>>
>>> How do you even do that? And why? If you install Glorp from Squeakmap it
>>> will file-in all this code for you, no need to do it manually.
>>>
>>> rado
>>> _______________________________________________
>>> Seaside mailing list
>>> [hidden email]
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>> _______________________________________________
>> Seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside 

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside