How to get GLORP

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

How to get GLORP

horrido
I'm a Squeak newbie. I'm trying to get GLORP. But I'm encountering *endless* problems...
 
First, in Squeak 3.9, I try using SqueakMap Package Loader to install GLORP 0.3.138. I encounter the following error:
 
    Error occurred during install:
    UndefinedObject>>methodsFor:stamp:
 
Then I try to get GLORP off the Internet. I find it at map.squeak.org. But the download is in SAR format!!!
 
Then I look for something that will un-SAR this file. It's called SAPCAR.exe and there is no friggin' way for me to get it!
 
I tried to find Nevin Pratt, the maintainer. But his website (www.smalltalkpro.com) no longer exists!
 
So how do I get GLORP successfully into my Squeak environment???
 
Thanks,
Richard


Reply | Threaded
Open this post in threaded view
|

Re: How to get GLORP

Alexander Lazarevic'
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maybe you should join the glorp mailing list. In the archive you can
find the attached message, which might help.

Alex

Richard Eng schrieb:

> I'm a Squeak newbie. I'm trying to get GLORP. But I'm encountering
> *endless* problems...
>  
> First, in Squeak 3.9, I try using SqueakMap Package Loader to install
> GLORP 0.3.138. I encounter the following error:
>  
>     Error occurred during install:
>     UndefinedObject>>methodsFor:stamp:
>  
> Then I try to get GLORP off the Internet. I find it at map.squeak.org
> <http://map.squeak.org>. But the download is in SAR format!!!
>  
> Then I look for something that will un-SAR this file. It's called
> SAPCAR.exe and there is no friggin' way for me to get it!
>  
> I tried to find Nevin Pratt, the maintainer. But his website
> (www.smalltalkpro.com <http://www.smalltalkpro.com>) no longer exists!
>  
> So how do I get GLORP successfully into my Squeak environment???
>  
> Thanks,
> Richard
>
>
> ------------------------------------------------------------------------
>
>
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGk56HYiF2wSTEZ9gRAh0fAKCcBsoC6ZvjuC0Tdeft1IgrIcPaygCg5kmp
BV4oFs0a4tqQ15ndvcteddE=
=R6AL
-----END PGP SIGNATURE-----

Hi,

the installation of Glorp from squeakmap into a 3.9 image
isn't working. Attached is a fix.

Todd, there are recent changes done by Alan I'm interested in
very much. Do you plan a new release of the glop port for
squeak soon?

thanks,

Norbert

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Glorp-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/glorp-development



Dialect class.noha.1.cs (944 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How to get GLORP

cbeler
In reply to this post by horrido
Richard Eng a écrit :

> I'm a Squeak newbie. I'm trying to get GLORP. But I'm encountering
> *endless* problems...
>  
> First, in Squeak 3.9, I try using SqueakMap Package Loader to install
> GLORP 0.3.138. I encounter the following error:
>  
>     Error occurred during install:
>     UndefinedObject>>methodsFor:stamp:
>  
> Then I try to get GLORP off the Internet. I find it at map.squeak.org
> <http://map.squeak.org>. But the download is in SAR format!!!
>  
not sure but I think you should add the following http package in
monticello: http://www.squeaksource.com/MagritteGlorp
In this one you'll find a version Ramon Leon was using (with magritte).
You have glorp preload, glorp and glorp postload then glorp test. Before
you should install the postgress client (accessible from the universe
browser).

If you want to use glorb with magritte, see
http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/ 

other wise, seaside with glorp:
http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/ 


hth,

Cédrick

Reply | Threaded
Open this post in threaded view
|

Re: How to get GLORP

NorbertHartl
In reply to this post by horrido
On Tue, 2007-07-10 at 10:48 -0400, Richard Eng wrote:

> I'm a Squeak newbie. I'm trying to get GLORP. But I'm encountering
> *endless* problems...
>  
> First, in Squeak 3.9, I try using SqueakMap Package Loader to install
> GLORP 0.3.138. I encounter the following error:
>  
>     Error occurred during install:
>     UndefinedObject>>methodsFor:stamp:
>  
> Then I try to get GLORP off the Internet. I find it at map.squeak.org.
> But the download is in SAR format!!!
>  
> Then I look for something that will un-SAR this file. It's called
> SAPCAR.exe and there is no friggin' way for me to get it!
>  
> I tried to find Nevin Pratt, the maintainer. But his website
> (www.smalltalkpro.com) no longer exists!
>  
> So how do I get GLORP successfully into my Squeak environment???
>  
Your problem has todo with squeak 3.9. If you want to use the
sotware from squeakmap you can do this easily by using squeak 3.8.

If you want to use squeak 3.9 you should get used to monticello.
If you click on the background in the squeak window a menu appears
and you can find open...  then open Monticello Browser.

You need to enter new repositories by clicking +Repository. The URL
are most interesting for you are

http://www.squeaksource.com/GlorpPreload
http://www.squeaksource.com/Glorp
http://www.squeaksource.com/GlorpPostload

Open GlorpPreload and select the topmost entry and press load. Then
open Glorp and do the same. I uploaded a new version a few minutes
ago which should load into 3.9. Finally open GlorpPostload and load
the topmost entry you'll find there. Be sure you loaded the Post-
gresql client and Ansi compatibility packages from squeakmap before

Let me know if you were successful.

Norbert


Reply | Threaded
Open this post in threaded view
|

Re: How to get GLORP

Tapple Gao
In reply to this post by horrido
On Tue, Jul 10, 2007 at 10:48:00AM -0400, Richard Eng wrote:

>    I'm a Squeak newbie. I'm trying to get GLORP. But I'm encountering
>    *endless* problems...
>    
>    First, in Squeak 3.9, I try using SqueakMap Package Loader to install
>    GLORP 0.3.138. I encounter the following error:
>    
>        Error occurred during install:
>        UndefinedObject>>methodsFor:stamp:
>    
>    Then I try to get GLORP off the Internet. I find it at map.squeak.org. But
>    the download is in SAR format!!!

SAR is a format that Squeak understands directly. To open a file
with squeak, either drag it from the OS into Squeak, or use the
file list (World Menu -> open... -> file list). Either way will
give you the option to open, unzip, or install the SAR package.

I tried doing this, and got the same error as you encountered
above. I noted that SqueakMap says the package is only tested in
3.8, so I tried installing it in Squeak 3.8. I got
Squeak3.8.1-7067, upgraded SqueakMap, then tried installing
GLORP port, and got the same error as before.

Next, I tried reading the package description, and it said that
it requires the Ansi compatibility package and the Posgres
package. So, Back to 3.9 I went and tried loading those two
packages. I loaded those two packages from SqueakMap, then
retried installing GLORP port from SqueakMap. This time it
got further, but it failed at Dialect>>determineDialect. I
modified Dialect>>basicIsSqueak to return true, and tried the
install again. It still failed.

On the other hand, what are you trying to do? You seem to want a
database. There are several databases Squeak supports. The
most well supported is the image itself. Next is the Magma
Object database. Also, Gemstone Smalltalk prides itself in
having the best in-image database of any Smalltalk.

Is GLORP really what you want? If so, I would recommend
trying this on Squeak3.8-6665 (noted from the GLORP
SqueakMap description):
- Open SqueakMap, and let it update itself and load Monticello
- Install Ansi Compatibility from SqueakMap
- Install PosgreSQL client from SqueakMap. The GLORP description
  in SqueakMap recommends version 0.9.2, which is not the latest.
- Install GLORP port from SqueakMap

--
Matthew Fulmer -- http://mtfulmer.wordpress.com/
Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808

Reply | Threaded
Open this post in threaded view
|

Re: How to get GLORP

radoslav hodnicak

I'm working on a fresh port of glorp that will be loadable into 3.9
properly. Expect it this or next week.

rado

Reply | Threaded
Open this post in threaded view
|

Re: How to get GLORP

horrido
In reply to this post by Tapple Gao
I am totally flabbergasted that Squeak understands the SAR format! I never would've expected that in a million years! This fact is not documented anywhere (except here).

-----

I'm only going by what I read on the Internet. People like Ramon Leon think very highly of the PostgreSQL/GLORP combination. So I've installed PostgreSQL. Now I need GLORP.

I suppose I could use Magma. I'm concerned about multiuser access and database locking, though. How well does Magma scale?

(I'm trying to go Open Source/Free Software all the way. So that sort of rules out Gemstone.)

Regards,
Richard

On 7/10/07, Matthew Fulmer <[hidden email]> wrote:
On Tue, Jul 10, 2007 at 10:48:00AM -0400, Richard Eng wrote:
>    I'm a Squeak newbie. I'm trying to get GLORP. But I'm encountering
>    *endless* problems...
>
>    First, in Squeak 3.9 , I try using SqueakMap Package Loader to install
>    GLORP 0.3.138. I encounter the following error:
>
>        Error occurred during install:
>        UndefinedObject>>methodsFor:stamp:
>
>    Then I try to get GLORP off the Internet. I find it at map.squeak.org. But
>    the download is in SAR format!!!

SAR is a format that Squeak understands directly. To open a file
with squeak, either drag it from the OS into Squeak, or use the
file list (World Menu -> open... -> file list). Either way will
give you the option to open, unzip, or install the SAR package.

I tried doing this, and got the same error as you encountered
above. I noted that SqueakMap says the package is only tested in
3.8, so I tried installing it in Squeak 3.8. I got
Squeak3.8.1-7067, upgraded SqueakMap, then tried installing
GLORP port, and got the same error as before.

Next, I tried reading the package description, and it said that
it requires the Ansi compatibility package and the Posgres
package. So, Back to 3.9 I went and tried loading those two
packages. I loaded those two packages from SqueakMap, then
retried installing GLORP port from SqueakMap. This time it
got further, but it failed at Dialect>>determineDialect. I
modified Dialect>>basicIsSqueak to return true, and tried the
install again. It still failed.

On the other hand, what are you trying to do? You seem to want a
database. There are several databases Squeak supports. The
most well supported is the image itself. Next is the Magma
Object database. Also, Gemstone Smalltalk prides itself in
having the best in-image database of any Smalltalk.

Is GLORP really what you want? If so, I would recommend
trying this on Squeak3.8-6665 (noted from the GLORP
SqueakMap description):
- Open SqueakMap, and let it update itself and load Monticello
- Install Ansi Compatibility from SqueakMap
- Install PosgreSQL client from SqueakMap. The GLORP description
  in SqueakMap recommends version 0.9.2, which is not the latest.
- Install GLORP port from SqueakMap

--
Matthew Fulmer -- http://mtfulmer.wordpress.com/
Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808




Reply | Threaded
Open this post in threaded view
|

Re: How to get GLORP

Giuseppe Luigi Punzi
http://wiki.squeak.org/squeak/3324

Cheers.


El 10/07/2007, a las 22:57, Richard Eng escribió:

> I am totally flabbergasted that Squeak understands the SAR format!  
> I never would've expected that in a million years! This fact is not  
> documented anywhere (except here).
>
> -----
>
> I'm only going by what I read on the Internet. People like Ramon  
> Leon think very highly of the PostgreSQL/GLORP combination. So I've  
> installed PostgreSQL. Now I need GLORP.
>
> I suppose I could use Magma. I'm concerned about multiuser access  
> and database locking, though. How well does Magma scale?
>
> (I'm trying to go Open Source/Free Software all the way. So that  
> sort of rules out Gemstone.)
>
> Regards,
> Richard
>
> On 7/10/07, Matthew Fulmer <[hidden email]> wrote: On Tue, Jul  
> 10, 2007 at 10:48:00AM -0400, Richard Eng wrote:
> >    I'm a Squeak newbie. I'm trying to get GLORP. But I'm  
> encountering
> >    *endless* problems...
> >
> >    First, in Squeak 3.9 , I try using SqueakMap Package Loader to  
> install
> >    GLORP 0.3.138. I encounter the following error:
> >
> >        Error occurred during install:
> >        UndefinedObject>>methodsFor:stamp:
> >
> >    Then I try to get GLORP off the Internet. I find it at  
> map.squeak.org. But
> >    the download is in SAR format!!!
>
> SAR is a format that Squeak understands directly. To open a file
> with squeak, either drag it from the OS into Squeak, or use the
> file list (World Menu -> open... -> file list). Either way will
> give you the option to open, unzip, or install the SAR package.
>
> I tried doing this, and got the same error as you encountered
> above. I noted that SqueakMap says the package is only tested in
> 3.8, so I tried installing it in Squeak 3.8. I got
> Squeak3.8.1-7067, upgraded SqueakMap, then tried installing
> GLORP port, and got the same error as before.
>
> Next, I tried reading the package description, and it said that
> it requires the Ansi compatibility package and the Posgres
> package. So, Back to 3.9 I went and tried loading those two
> packages. I loaded those two packages from SqueakMap, then
> retried installing GLORP port from SqueakMap. This time it
> got further, but it failed at Dialect>>determineDialect. I
> modified Dialect>>basicIsSqueak to return true, and tried the
> install again. It still failed.
>
> On the other hand, what are you trying to do? You seem to want a
> database. There are several databases Squeak supports. The
> most well supported is the image itself. Next is the Magma
> Object database. Also, Gemstone Smalltalk prides itself in
> having the best in-image database of any Smalltalk.
>
> Is GLORP really what you want? If so, I would recommend
> trying this on Squeak3.8-6665 (noted from the GLORP
> SqueakMap description):
> - Open SqueakMap, and let it update itself and load Monticello
> - Install Ansi Compatibility from SqueakMap
> - Install PosgreSQL client from SqueakMap. The GLORP description
>   in SqueakMap recommends version 0.9.2, which is not the latest.
> - Install GLORP port from SqueakMap
>
> --
> Matthew Fulmer -- http://mtfulmer.wordpress.com/
> Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: How to get GLORP

horrido
In reply to this post by radoslav hodnicak
Please do let me know. For the time being, I'm stuck without GLORP for 3.9. I guess I can take this opportunity to investigate Magma...  :-)
 
Thanks,
Richard

 
On 7/10/07, radoslav hodnicak <[hidden email]> wrote:

I'm working on a fresh port of glorp that will be loadable into 3.9
properly. Expect it this or next week.

rado




Reply | Threaded
Open this post in threaded view
|

Re: How to get GLORP

stephane ducasse
In reply to this post by NorbertHartl
Norbert

can you tell me what is the problem with 3.9?
Because I have the impression that this is a problem related to  
package not been updated to 3.9

Stef

On 10 juil. 07, at 17:19, Norbert Hartl wrote:

> On Tue, 2007-07-10 at 10:48 -0400, Richard Eng wrote:
>> I'm a Squeak newbie. I'm trying to get GLORP. But I'm encountering
>> *endless* problems...
>>
>> First, in Squeak 3.9, I try using SqueakMap Package Loader to install
>> GLORP 0.3.138. I encounter the following error:
>>
>>     Error occurred during install:
>>     UndefinedObject>>methodsFor:stamp:
>>
>> Then I try to get GLORP off the Internet. I find it at  
>> map.squeak.org.
>> But the download is in SAR format!!!
>>
>> Then I look for something that will un-SAR this file. It's called
>> SAPCAR.exe and there is no friggin' way for me to get it!
>>
>> I tried to find Nevin Pratt, the maintainer. But his website
>> (www.smalltalkpro.com) no longer exists!
>>
>> So how do I get GLORP successfully into my Squeak environment???
>>
> Your problem has todo with squeak 3.9. If you want to use the
> sotware from squeakmap you can do this easily by using squeak 3.8.
>
> If you want to use squeak 3.9 you should get used to monticello.
> If you click on the background in the squeak window a menu appears
> and you can find open...  then open Monticello Browser.
>
> You need to enter new repositories by clicking +Repository. The URL
> are most interesting for you are
>
> http://www.squeaksource.com/GlorpPreload
> http://www.squeaksource.com/Glorp
> http://www.squeaksource.com/GlorpPostload
>
> Open GlorpPreload and select the topmost entry and press load. Then
> open Glorp and do the same. I uploaded a new version a few minutes
> ago which should load into 3.9. Finally open GlorpPostload and load
> the topmost entry you'll find there. Be sure you loaded the Post-
> gresql client and Ansi compatibility packages from squeakmap before
>
> Let me know if you were successful.
>
> Norbert
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: How to get GLORP

NorbertHartl
On Thu, 2007-07-12 at 12:14 +0200, stephane ducasse wrote:
> Norbert
>
> can you tell me what is the problem with 3.9?
> Because I have the impression that this is a problem related to  
> package not been updated to 3.9
>
You are right. My posting had misleading potential. It is just
that the version on squeakmap does not have the SmalltalkImage
current in use.

I put a corrected version on squeakmap which is now obsoleted
by rados new port.

Norbert