Pharo-users
By thread
pharo-users@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
May 2014
- 68 participants
- 438 messages
Re: [Pharo-users] Pharo 3 minor issue
by Sven Van Caekenberghe
That is apparently a Spec problem (i.e. all buttons created with Spec react like this):
ButtonModel new
label: 'Right-click Me';
action: [ self inform: 'Clicked !' ];
openWithSpec
CC'ing to Pharo dev. We probably have to turn this into an bug tracker issue.
Thanks for reporting.
On 03 May 2014, at 03:11, S. Garth Holland <steve9571952(a)hotmail.com> wrote:
> Hi, started looking a Pharo again. I was going to load Iliad from the Configuration browser. The window has two buttons: "Install Stable Configuration" and "Load Configuration". I was not sure why I would want to just load the configuration. This link provided some insight https://www.youtube.com/watch?v=se21CH4BfyE&feature=youtu.be
>
> I did try right clicking on the buttons to get some guidance but that gave me a walkback.
>
> TIA, Garth
>
>
> BTW, I strongly recommend short well titled screen-casts as a precursor to real documentation.
>
>
> Date: Thu, 1 May 2014 10:28:35 +0200
> From: giorgio.ferraris(a)gmail.com
> To: pharo-users(a)lists.pharo.org
> CC: pharo-dev(a)lists.pharo.org
> Subject: Re: [Pharo-users] Pharo 3 minor issue
>
> it usually happens that way. You test everything and miss something obvious...
>
> ciao
>
> giorgio
>
>
> On Thu, May 1, 2014 at 9:24 AM, Esteban Lorenzano <estebanlm(a)gmail.com> wrote:
> thanks for reporting, I will look at it (super weird that it did not arise before :( )
>
> Esteban
>
> On 30 Apr 2014, at 20:54, giorgio ferraris <giorgio.ferraris(a)gmail.com> wrote:
>
> > Hi,
> >
> > started looking at Pharo after many years.
> > First of all, you all did an awesome works, thank you!
> > There is a small problems on System Browser
> > open image
> > open system browser
> > choose one class
> > select group
> > The class side checkbox is enabled, if you check it, you get a wall bak .
> > Giorgio
> >
> > <Screen Shot 2014-04-30 at 20.42.03.jpg>
>
>
>
> <PharoScreenshot.png>
May 3, 2014
Re: [Pharo-users] [ANN] Pharo3 Dark Theme is available
by Pablo Herrero
Awesome!, I made it my default theme.
2014-05-02 19:53 GMT-03:00 Esteban A. Maringolo <emaringolo(a)gmail.com>:
> I'm loving it!
>
> Thank you Esteban!
> Esteban A. Maringolo
>
>
> 2014-05-02 5:05 GMT-03:00 kmo <voxkmp(a)gmail.com>:
>>
>> /So, will we start the longtime postponed effort of effectively replace
>> current Morphic?/
>>
>> If it breaks the current one window restriction then please please yes.
>>
>>
>>
>> --
>> View this message in context: http://forum.world.st/ANN-Pharo3-Dark-Theme-is-available-tp4757420p4757549.…
>> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>>
>
May 3, 2014
Re: [Pharo-users] Pharo 3 minor issue
by S. Garth Holland
Hi, started looking a Pharo again. I was going to load Iliad from the Configuration browser. The window has two buttons: "Install Stable Configuration" and "Load Configuration". I was not sure why I would want to just load the configuration. This link provided some insight https://www.youtube.com/watch?v=se21CH4BfyE&feature=youtu.be
I did try right clicking on the buttons to get some guidance but that gave me a walkback.
TIA, Garth
BTW, I strongly recommend short well titled screen-casts as a precursor to real documentation.
Date: Thu, 1 May 2014 10:28:35 +0200
From: giorgio.ferraris(a)gmail.com
To: pharo-users(a)lists.pharo.org
CC: pharo-dev(a)lists.pharo.org
Subject: Re: [Pharo-users] Pharo 3 minor issue
it usually happens that way. You test everything and miss something obvious...
ciao
giorgio
On Thu, May 1, 2014 at 9:24 AM, Esteban Lorenzano <estebanlm(a)gmail.com> wrote:
thanks for reporting, I will look at it (super weird that it did not arise before :( )
Esteban
On 30 Apr 2014, at 20:54, giorgio ferraris <giorgio.ferraris(a)gmail.com> wrote:
> Hi,
>
> started looking at Pharo after many years.
> First of all, you all did an awesome works, thank you!
> There is a small problems on System Browser
> open image
> open system browser
> choose one class
> select group
> The class side checkbox is enabled, if you check it, you get a wall bak .
> Giorgio
>
> <Screen Shot 2014-04-30 at 20.42.03.jpg>
May 3, 2014
Re: [Pharo-users] [ANN] Pharo3 Dark Theme is available
by Esteban A. Maringolo
I'm loving it!
Thank you Esteban!
Esteban A. Maringolo
2014-05-02 5:05 GMT-03:00 kmo <voxkmp(a)gmail.com>:
>
> /So, will we start the longtime postponed effort of effectively replace
> current Morphic?/
>
> If it breaks the current one window restriction then please please yes.
>
>
>
> --
> View this message in context: http://forum.world.st/ANN-Pharo3-Dark-Theme-is-available-tp4757420p4757549.…
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
May 2, 2014
Re: [Pharo-users] Updating packages from command line
by Bernat Romagosa
Hi Thierry,
I did so, and loaded the package the way you suggested. It worked alright :)
I guess my configuration is not well formed, I'll do it over.
Thanks!
2014-05-02 15:56 GMT+02:00 GOUBIER Thierry <thierry.goubier(a)cea.fr>:
> Bernat,
>
> if I encounter something like that, I would also erase the contents of my
> package-cache directory. Sometimes it seems I never manage to activate
> changes because it keeps on loading a package of the same name and number
> out of the cache instead.
>
> Thierry
>
>
> ------------------------------
> *De :* Pharo-users [pharo-users-bounces(a)lists.pharo.org] de la part de
> Bernat Romagosa [tibabenfortlapalanca(a)gmail.com]
> *Envoyé :* vendredi 2 mai 2014 15:39
>
> *Ã :* Any question about pharo is welcome
> *Objet :* Re: [Pharo-users] Updating packages from command line
>
> I started over from scratch, filed out and in the config and package,
> erased all packages in the repo, pushed them back and still no success.
>
> I think I'll manually scp the image file for now... :P
>
> Thanks guys!
>
>
> 2014-05-02 15:21 GMT+02:00 Bernat Romagosa <tibabenfortlapalanca(a)gmail.com
> >:
>
>> Indeed something's broken... I used the versionner tool to build it, but
>> I think something went wrong.
>>
>>
>> http://smalltalkhub.com/#!/~bromagosa/StarUOCs/versions/ConfigurationOfStar…
>>
>> Try to download the mcz, it fails.
>>
>> I don't understand why MC added (2) to the file name.
>>
>>
>>
>>
>> 2014-05-02 15:13 GMT+02:00 Sven Van Caekenberghe <sven(a)stfx.eu>:
>>
>> I think something must be broken with his configuration, you cannot even
>>> list it...
>>>
>>> On 02 May 2014, at 15:11, Esteban Lorenzano <estebanlm(a)gmail.com> wrote:
>>>
>>> > pharo-vm-nox Pharo.image config
>>> http://smalltalkhub.com/mc/bromagosa/StarUOCs/main ConfigurationOfStarUOCs âinstall=development
>>> >
>>> > has to work. All out infrastructure is based on that :)
>>> >
>>> > Esteban
>>> >
>>> > On 02 May 2014, at 15:05, Bernat Romagosa <
>>> tibabenfortlapalanca(a)gmail.com> wrote:
>>> >
>>> >> Hmm it doesn't seem to work...
>>> >>
>>> >> pharo-vm-nox Pharo.image config
>>> http://smalltalkhub.com/mc/bromagosa/StarUOCs/main
>>> >> KeyNotFound: key #ConfigurationOfStarUOCs not found in
>>> SystemDictionary
>>> >>
>>> >> But the config is there and I can load it from the GUI by doing:
>>> >>
>>> >>
>>> >> Gofer new
>>> >> smalltalkhubUser: 'bromagosa' project: 'StarUOCs';
>>> >> package: 'ConfigurationOfStarUOCs';
>>> >> load.
>>> >>
>>> >> ConfigurationOfStarUOCs load.
>>> >>
>>> >> What can be happening? My version is:
>>> >>
>>> >> pharo-vm-nox Pharo.image printVersion
>>> >> [version] 3.0 #30846
>>> >>
>>> >>
>>> >>
>>> >> 2014-05-02 13:51 GMT+02:00 Bernat Romagosa <
>>> tibabenfortlapalanca(a)gmail.com>:
>>> >> I see, thanks a lot! :)
>>> >>
>>> >>
>>> >> 2014-05-02 13:45 GMT+02:00 Sven Van Caekenberghe <sven(a)stfx.eu>:
>>> >>
>>> >> The best approach is to use Configurations and the config handler:
>>> >>
>>> >> $ ./pharo Pharo.image config
>>> >> Command line handler for dealing with Metacello configurations from
>>> the command line
>>> >>
>>> >> Usage: config [--help] <repository url> [<configuration>]
>>> [--install[=<version>]] [--group=<group>] [--username=<username>]
>>> [--password=<password>]
>>> >> --help show this help message
>>> >> <repository url> A Monticello repository name
>>> >> <configuration> A valid Metacello Configuration name
>>> >> <version> A valid version for the given configuration
>>> >> <group> A valid Metacello group name
>>> >> <username> An optional username to access the
>>> configuration's repository
>>> >> <password> An optional password to access the
>>> configuration's repository
>>> >>
>>> >> Examples:
>>> >> # display this help message
>>> >> pharo Pharo.image config
>>> >>
>>> >> # list all configurations of a repository
>>> >> pharo Pharo.image config $MC_REPOS_URL
>>> >>
>>> >> # list all the available versions of a confgurtation
>>> >> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo
>>> >>
>>> >> # install the stable version
>>> >> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo
>>> --install
>>> >>
>>> >> #install a specific version '1.5'
>>> >> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo
>>> --install=1.5
>>> >>
>>> >> #install a specific version '1.5' and only a specific group
>>> 'Tests'
>>> >> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo
>>> --install=1.5 --group=Tests
>>> >>
>>> >> The following article contains this approach as well:
>>> >>
>>> >> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/
>>> >>
>>> >>
>>> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/#deployingforproduction
>>> >>
>>> >> HTH,
>>> >>
>>> >> Sven
>>> >>
>>> >> On 02 May 2014, at 13:28, Bernat Romagosa <
>>> tibabenfortlapalanca(a)gmail.com> wrote:
>>> >>
>>> >>> Is there a way to do it?
>>> >>>
>>> >>> Here's my attempt:
>>> >>>
>>> >>> pharo-vm-nox MyImage.image eval "Gofer new smalltalkhubUser:
>>> 'myUser' project: 'MyProject'; package: 'MyPackage'; load. Smalltalk
>>> snapshot: true andQuit: true"
>>> >>>
>>> >>> then:
>>> >>>
>>> >>> pharo-vm-nox MyImage.image eval --no-quit "MyJustLoadedClass start"
>>> >>>
>>> >>> results in:
>>> >>>
>>> >>> UndefinedObject>>DoIt (MyJustLoadedClass is Undeclared)
>>> >>> MessageNotUnderstood: receiver of "start" is nil
>>> >>>
>>> >>> Thanks!
>>> >>> Bernat.
>>> >>>
>>> >>> --
>>> >>> Bernat Romagosa.
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Bernat Romagosa.
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Bernat Romagosa.
>>> >
>>> >
>>>
>>>
>>>
>>
>>
>> --
>> Bernat Romagosa.
>>
>
>
>
> --
> Bernat Romagosa.
>
--
Bernat Romagosa.
May 2, 2014
Re: [Pharo-users] Updating packages from command line
by GOUBIER Thierry
Bernat,
if I encounter something like that, I would also erase the contents of my package-cache directory. Sometimes it seems I never manage to activate changes because it keeps on loading a package of the same name and number out of the cache instead.
Thierry
________________________________
De : Pharo-users [pharo-users-bounces(a)lists.pharo.org] de la part de Bernat Romagosa [tibabenfortlapalanca(a)gmail.com]
Envoyé : vendredi 2 mai 2014 15:39
à : Any question about pharo is welcome
Objet : Re: [Pharo-users] Updating packages from command line
I started over from scratch, filed out and in the config and package, erased all packages in the repo, pushed them back and still no success.
I think I'll manually scp the image file for now... :P
Thanks guys!
2014-05-02 15:21 GMT+02:00 Bernat Romagosa <tibabenfortlapalanca(a)gmail.com<mailto:tibabenfortlapalanca@gmail.com>>:
Indeed something's broken... I used the versionner tool to build it, but I think something went wrong.
http://smalltalkhub.com/#!/~bromagosa/StarUOCs/versions/ConfigurationOfStar…
Try to download the mcz, it fails.
I don't understand why MC added (2) to the file name.
2014-05-02 15:13 GMT+02:00 Sven Van Caekenberghe <sven(a)stfx.eu<mailto:sven@stfx.eu>>:
I think something must be broken with his configuration, you cannot even list it...
On 02 May 2014, at 15:11, Esteban Lorenzano <estebanlm(a)gmail.com<mailto:estebanlm@gmail.com>> wrote:
> pharo-vm-nox Pharo.image config http://smalltalkhub.com/mc/bromagosa/StarUOCs/main ConfigurationOfStarUOCs âinstall=development
>
> has to work. All out infrastructure is based on that :)
>
> Esteban
>
> On 02 May 2014, at 15:05, Bernat Romagosa <tibabenfortlapalanca(a)gmail.com<mailto:tibabenfortlapalanca@gmail.com>> wrote:
>
>> Hmm it doesn't seem to work...
>>
>> pharo-vm-nox Pharo.image config http://smalltalkhub.com/mc/bromagosa/StarUOCs/main
>> KeyNotFound: key #ConfigurationOfStarUOCs not found in SystemDictionary
>>
>> But the config is there and I can load it from the GUI by doing:
>>
>>
>> Gofer new
>> smalltalkhubUser: 'bromagosa' project: 'StarUOCs';
>> package: 'ConfigurationOfStarUOCs';
>> load.
>>
>> ConfigurationOfStarUOCs load.
>>
>> What can be happening? My version is:
>>
>> pharo-vm-nox Pharo.image printVersion
>> [version] 3.0 #30846
>>
>>
>>
>> 2014-05-02 13:51 GMT+02:00 Bernat Romagosa <tibabenfortlapalanca(a)gmail.com<mailto:tibabenfortlapalanca@gmail.com>>:
>> I see, thanks a lot! :)
>>
>>
>> 2014-05-02 13:45 GMT+02:00 Sven Van Caekenberghe <sven(a)stfx.eu<mailto:sven@stfx.eu>>:
>>
>> The best approach is to use Configurations and the config handler:
>>
>> $ ./pharo Pharo.image config
>> Command line handler for dealing with Metacello configurations from the command line
>>
>> Usage: config [--help] <repository url> [<configuration>] [--install[=<version>]] [--group=<group>] [--username=<username>] [--password=<password>]
>> --help show this help message
>> <repository url> A Monticello repository name
>> <configuration> A valid Metacello Configuration name
>> <version> A valid version for the given configuration
>> <group> A valid Metacello group name
>> <username> An optional username to access the configuration's repository
>> <password> An optional password to access the configuration's repository
>>
>> Examples:
>> # display this help message
>> pharo Pharo.image config
>>
>> # list all configurations of a repository
>> pharo Pharo.image config $MC_REPOS_URL
>>
>> # list all the available versions of a confgurtation
>> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo
>>
>> # install the stable version
>> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo --install
>>
>> #install a specific version '1.5'
>> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo --install=1.5
>>
>> #install a specific version '1.5' and only a specific group 'Tests'
>> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo --install=1.5 --group=Tests
>>
>> The following article contains this approach as well:
>>
>> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/
>>
>> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/#deployingforproduction
>>
>> HTH,
>>
>> Sven
>>
>> On 02 May 2014, at 13:28, Bernat Romagosa <tibabenfortlapalanca(a)gmail.com<mailto:tibabenfortlapalanca@gmail.com>> wrote:
>>
>>> Is there a way to do it?
>>>
>>> Here's my attempt:
>>>
>>> pharo-vm-nox MyImage.image eval "Gofer new smalltalkhubUser: 'myUser' project: 'MyProject'; package: 'MyPackage'; load. Smalltalk snapshot: true andQuit: true"
>>>
>>> then:
>>>
>>> pharo-vm-nox MyImage.image eval --no-quit "MyJustLoadedClass start"
>>>
>>> results in:
>>>
>>> UndefinedObject>>DoIt (MyJustLoadedClass is Undeclared)
>>> MessageNotUnderstood: receiver of "start" is nil
>>>
>>> Thanks!
>>> Bernat.
>>>
>>> --
>>> Bernat Romagosa.
>>
>>
>>
>>
>>
>> --
>> Bernat Romagosa.
>>
>>
>>
>> --
>> Bernat Romagosa.
>
>
--
Bernat Romagosa.
--
Bernat Romagosa.
May 2, 2014
Re: [Pharo-users] Updating packages from command line
by Bernat Romagosa
I started over from scratch, filed out and in the config and package,
erased all packages in the repo, pushed them back and still no success.
I think I'll manually scp the image file for now... :P
Thanks guys!
2014-05-02 15:21 GMT+02:00 Bernat Romagosa <tibabenfortlapalanca(a)gmail.com>:
> Indeed something's broken... I used the versionner tool to build it, but I
> think something went wrong.
>
>
> http://smalltalkhub.com/#!/~bromagosa/StarUOCs/versions/ConfigurationOfStar…
>
> Try to download the mcz, it fails.
>
> I don't understand why MC added (2) to the file name.
>
>
>
>
> 2014-05-02 15:13 GMT+02:00 Sven Van Caekenberghe <sven(a)stfx.eu>:
>
> I think something must be broken with his configuration, you cannot even
>> list it...
>>
>> On 02 May 2014, at 15:11, Esteban Lorenzano <estebanlm(a)gmail.com> wrote:
>>
>> > pharo-vm-nox Pharo.image config
>> http://smalltalkhub.com/mc/bromagosa/StarUOCs/main ConfigurationOfStarUOCs âinstall=development
>> >
>> > has to work. All out infrastructure is based on that :)
>> >
>> > Esteban
>> >
>> > On 02 May 2014, at 15:05, Bernat Romagosa <
>> tibabenfortlapalanca(a)gmail.com> wrote:
>> >
>> >> Hmm it doesn't seem to work...
>> >>
>> >> pharo-vm-nox Pharo.image config
>> http://smalltalkhub.com/mc/bromagosa/StarUOCs/main
>> >> KeyNotFound: key #ConfigurationOfStarUOCs not found in SystemDictionary
>> >>
>> >> But the config is there and I can load it from the GUI by doing:
>> >>
>> >>
>> >> Gofer new
>> >> smalltalkhubUser: 'bromagosa' project: 'StarUOCs';
>> >> package: 'ConfigurationOfStarUOCs';
>> >> load.
>> >>
>> >> ConfigurationOfStarUOCs load.
>> >>
>> >> What can be happening? My version is:
>> >>
>> >> pharo-vm-nox Pharo.image printVersion
>> >> [version] 3.0 #30846
>> >>
>> >>
>> >>
>> >> 2014-05-02 13:51 GMT+02:00 Bernat Romagosa <
>> tibabenfortlapalanca(a)gmail.com>:
>> >> I see, thanks a lot! :)
>> >>
>> >>
>> >> 2014-05-02 13:45 GMT+02:00 Sven Van Caekenberghe <sven(a)stfx.eu>:
>> >>
>> >> The best approach is to use Configurations and the config handler:
>> >>
>> >> $ ./pharo Pharo.image config
>> >> Command line handler for dealing with Metacello configurations from
>> the command line
>> >>
>> >> Usage: config [--help] <repository url> [<configuration>]
>> [--install[=<version>]] [--group=<group>] [--username=<username>]
>> [--password=<password>]
>> >> --help show this help message
>> >> <repository url> A Monticello repository name
>> >> <configuration> A valid Metacello Configuration name
>> >> <version> A valid version for the given configuration
>> >> <group> A valid Metacello group name
>> >> <username> An optional username to access the
>> configuration's repository
>> >> <password> An optional password to access the
>> configuration's repository
>> >>
>> >> Examples:
>> >> # display this help message
>> >> pharo Pharo.image config
>> >>
>> >> # list all configurations of a repository
>> >> pharo Pharo.image config $MC_REPOS_URL
>> >>
>> >> # list all the available versions of a confgurtation
>> >> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo
>> >>
>> >> # install the stable version
>> >> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo
>> --install
>> >>
>> >> #install a specific version '1.5'
>> >> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo
>> --install=1.5
>> >>
>> >> #install a specific version '1.5' and only a specific group
>> 'Tests'
>> >> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo
>> --install=1.5 --group=Tests
>> >>
>> >> The following article contains this approach as well:
>> >>
>> >> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/
>> >>
>> >>
>> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/#deployingforproduction
>> >>
>> >> HTH,
>> >>
>> >> Sven
>> >>
>> >> On 02 May 2014, at 13:28, Bernat Romagosa <
>> tibabenfortlapalanca(a)gmail.com> wrote:
>> >>
>> >>> Is there a way to do it?
>> >>>
>> >>> Here's my attempt:
>> >>>
>> >>> pharo-vm-nox MyImage.image eval "Gofer new smalltalkhubUser: 'myUser'
>> project: 'MyProject'; package: 'MyPackage'; load. Smalltalk snapshot: true
>> andQuit: true"
>> >>>
>> >>> then:
>> >>>
>> >>> pharo-vm-nox MyImage.image eval --no-quit "MyJustLoadedClass start"
>> >>>
>> >>> results in:
>> >>>
>> >>> UndefinedObject>>DoIt (MyJustLoadedClass is Undeclared)
>> >>> MessageNotUnderstood: receiver of "start" is nil
>> >>>
>> >>> Thanks!
>> >>> Bernat.
>> >>>
>> >>> --
>> >>> Bernat Romagosa.
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> Bernat Romagosa.
>> >>
>> >>
>> >>
>> >> --
>> >> Bernat Romagosa.
>> >
>> >
>>
>>
>>
>
>
> --
> Bernat Romagosa.
>
--
Bernat Romagosa.
May 2, 2014
Re: [Pharo-users] SOAP in Pharo
by Thushar G R
Hi Sir,
REST in magento is oAuth 1.0a, this cannot be done using javascript , if i
am not wrong. Also REST in magento dont support shopping cart and payments.
I actually first considered REST itself but due to these issues i came back
to SOAP/XMLRPC. For OAuth i used Zinc-SSO and from pharo i had REST working
too.
SoapOpera : hit by grief already!!
So i think i will start with XMLRPC and improvise. But before that i need
to get the xml requests and response formats to start with.
Will keep you posted.
Thanks a lot,
thushar
On Fri, May 2, 2014 at 6:06 PM, S Krish
<krishnamachari.sudhakar(a)gmail.com>wrote:
>
> Or:
>
> http://www.magentocommerce.com/api/rest/introduction.html
>
> REST is a clean approach.. OAuth2 you can perhaps do with Zinc and SSL.. (
> http://blog.doit.st/2011/02/15/cloudforksso-openid-and-oauth-support-for-sm…)
>
>
>
>
> On Fri, May 2, 2014 at 6:03 PM, S Krish <krishnamachari.sudhakar(a)gmail.com
> > wrote:
>
>> XML-RPC
>>
>> To use XML-RPC, load the following URL into your XML-RPC client:
>>
>> http://magentohost/api/xmlrpc/
>>
>> The XML-RPC supports the version 1 of the Magento API. and the API it
>> supports is quite extensive..
>>
>>
>> Another Approach:
>>
>> One can with some ingenuity mix a bit of groovy to deal with complex SOAP
>> and reduce it enough for the Pharo to deal with it in XML RPC if you have
>> to go that way.
>>
>> SoapOpera I am sure will give you a bit of grief, unless you plan to fix
>> it.. while you use it.
>>
>>
>>
>>
>>
>>
>> On Fri, May 2, 2014 at 5:15 PM, Thushar G R <thushar.gr(a)gmail.com> wrote:
>>
>>> Hi,
>>> XMLRPC may not be enough. I have tried some of the request using the
>>> XMLRPC and it works but i am not sure if its enough for managing all the
>>> requests. I am trying to connect to a magento site. and their recommended
>>> approach is unfortunately soap. SoapOpera updating is a possibility it
>>> seems, am i right? Also any paid paid solution is not practical for us at
>>> the momment.
>>>
>>> Also i hope the SoapOpera is latest at squeakSource and that it was last
>>> updated in 2010.
>>>
>>> thanks for the replies
>>>
>>> Thushar
>>>
>>> *G R Thushar*
>>> *Team Leader(Technology),*
>>> *Signos Software Solutions Pvt. Ltd.*
>>> *Ground Floor **A.R Plaza, TC 11/43 (2),*
>>> *P.M.G Junction,*
>>> *Thiruvananthapuram, 695004. Kerala, India.*
>>>
>>> *Web: www.signossolutions.com <http://www.signossolutions.com>*
>>> Email: thushar.gr(a)signossolutions.com, thushar.gr(a)gmail.com
>>> Phone: +919846577772
>>>
>>>
>>>
>>>
>>>
>>> On Fri, May 2, 2014 at 5:03 PM, phil(a)highoctane.be <phil(a)highoctane.be>wrote:
>>>
>>>> Pharo lacks a SOAP stack.
>>>>
>>>> This is something that also limits it in environments where a ton of
>>>> APIs are in SOAP format. E.g. Banks, Insurance, Media, Government
>>>> (including European Institutions).
>>>> For SaaS apps, who cares.
>>>>
>>>> Java and .NET have full stacks and that's a significant factor for
>>>> their use.
>>>> VisualWorks support those: as in:
>>>>
>>>> http://www.cincomsmalltalk.com/main/products/visualworks/
>>>>
>>>> - *Major improvements to WSDL 2.0 / SOAP 1.2 to handle updated
>>>> protocols.*
>>>>
>>>> FWIW, my approach is to have a Java endpoint that will pass stuff back
>>>> and forth through RabbitMQ or whatever middleware.
>>>>
>>>> When you get into SOAP over JMS, with JMS being WebsphereMQ for
>>>> example, well, things get complicated, especially when you factor in
>>>> certificates.
>>>> And sometimes you need compliance and certification.
>>>>
>>>> IBM has a product to help solve those things:
>>>> http://www-03.ibm.com/software/products/en/datapower.
>>>> I led a team that used it extensively for a couple of months. It works
>>>> well. The price tag is quite hard to swallow for little systems and
>>>> companies.
>>>>
>>>> <featurelist>
>>>>
>>>> "The IBM® WebSphere® DataPower® Service Gateway XG45 appliance helps
>>>> you secure and govern web traffic more effectively. It provides an advanced
>>>> data threat reduction and security enforcement layer for web and
>>>> on-premises applications, while giving you the flexibility to deploy new
>>>> applications rapidly.
>>>>
>>>> The IBM WebSphere DataPower Service Gateway XG45 appliance helps you:
>>>>
>>>> - Strengthen compliance using robust data protection, policy
>>>> enforcement and auditing capabilities
>>>> - Gain âfront-line defenseâ for inbound and outbound traffic
>>>> through a web 2.0 gateway.
>>>> - Separate security concerns from application code with an optional
>>>> hardware security module (HSM) that is certified for FIPS 140-2 Level 3.
>>>> - Integrate applications for improved application and database
>>>> connectivity."
>>>>
>>>> </featurelist>
>>>>
>>>> If you have something around, you can bridge SOAP to whatever,
>>>> including REST. The new versions do support JSON etc as well.
>>>>
>>>>
>>>> Phil
>>>>
>>>>
>>>>
>>>> On Fri, May 2, 2014 at 12:26 PM, S Krish <
>>>> krishnamachari.sudhakar(a)gmail.com> wrote:
>>>>
>>>>> Are you looking for a SOAP client for RPC style calls or document
>>>>> format.
>>>>>
>>>>> For the former adding a simple SOAP Envelope to the request and using
>>>>> ZnClient should work fairly well.
>>>>>
>>>>> But if you are looking for something like :
>>>>> http://www.soapclient.com/soaptest.html to be used against a
>>>>> declared WSDL.. I doubt if any exists.
>>>>>
>>>>> Look at the XMLRPC package and see if you can work from there.. if you
>>>>> need to adapt something..
>>>>>
>>>>>
>>>>> On Fri, May 2, 2014 at 3:29 PM, Thushar G R <thushar.gr(a)gmail.com>wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Do we have a SOAP client in pharo? I checked SoapOpera but seems its
>>>>>> too old to work with latest pharo 2.0.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
May 2, 2014
Re: [Pharo-users] Updating packages from command line
by Bernat Romagosa
Indeed something's broken... I used the versionner tool to build it, but I
think something went wrong.
http://smalltalkhub.com/#!/~bromagosa/StarUOCs/versions/ConfigurationOfStar…
Try to download the mcz, it fails.
I don't understand why MC added (2) to the file name.
2014-05-02 15:13 GMT+02:00 Sven Van Caekenberghe <sven(a)stfx.eu>:
> I think something must be broken with his configuration, you cannot even
> list it...
>
> On 02 May 2014, at 15:11, Esteban Lorenzano <estebanlm(a)gmail.com> wrote:
>
> > pharo-vm-nox Pharo.image config
> http://smalltalkhub.com/mc/bromagosa/StarUOCs/main ConfigurationOfStarUOCs âinstall=development
> >
> > has to work. All out infrastructure is based on that :)
> >
> > Esteban
> >
> > On 02 May 2014, at 15:05, Bernat Romagosa <
> tibabenfortlapalanca(a)gmail.com> wrote:
> >
> >> Hmm it doesn't seem to work...
> >>
> >> pharo-vm-nox Pharo.image config
> http://smalltalkhub.com/mc/bromagosa/StarUOCs/main
> >> KeyNotFound: key #ConfigurationOfStarUOCs not found in SystemDictionary
> >>
> >> But the config is there and I can load it from the GUI by doing:
> >>
> >>
> >> Gofer new
> >> smalltalkhubUser: 'bromagosa' project: 'StarUOCs';
> >> package: 'ConfigurationOfStarUOCs';
> >> load.
> >>
> >> ConfigurationOfStarUOCs load.
> >>
> >> What can be happening? My version is:
> >>
> >> pharo-vm-nox Pharo.image printVersion
> >> [version] 3.0 #30846
> >>
> >>
> >>
> >> 2014-05-02 13:51 GMT+02:00 Bernat Romagosa <
> tibabenfortlapalanca(a)gmail.com>:
> >> I see, thanks a lot! :)
> >>
> >>
> >> 2014-05-02 13:45 GMT+02:00 Sven Van Caekenberghe <sven(a)stfx.eu>:
> >>
> >> The best approach is to use Configurations and the config handler:
> >>
> >> $ ./pharo Pharo.image config
> >> Command line handler for dealing with Metacello configurations from the
> command line
> >>
> >> Usage: config [--help] <repository url> [<configuration>]
> [--install[=<version>]] [--group=<group>] [--username=<username>]
> [--password=<password>]
> >> --help show this help message
> >> <repository url> A Monticello repository name
> >> <configuration> A valid Metacello Configuration name
> >> <version> A valid version for the given configuration
> >> <group> A valid Metacello group name
> >> <username> An optional username to access the
> configuration's repository
> >> <password> An optional password to access the
> configuration's repository
> >>
> >> Examples:
> >> # display this help message
> >> pharo Pharo.image config
> >>
> >> # list all configurations of a repository
> >> pharo Pharo.image config $MC_REPOS_URL
> >>
> >> # list all the available versions of a confgurtation
> >> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo
> >>
> >> # install the stable version
> >> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo
> --install
> >>
> >> #install a specific version '1.5'
> >> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo
> --install=1.5
> >>
> >> #install a specific version '1.5' and only a specific group
> 'Tests'
> >> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo
> --install=1.5 --group=Tests
> >>
> >> The following article contains this approach as well:
> >>
> >> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/
> >>
> >>
> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/#deployingforproduction
> >>
> >> HTH,
> >>
> >> Sven
> >>
> >> On 02 May 2014, at 13:28, Bernat Romagosa <
> tibabenfortlapalanca(a)gmail.com> wrote:
> >>
> >>> Is there a way to do it?
> >>>
> >>> Here's my attempt:
> >>>
> >>> pharo-vm-nox MyImage.image eval "Gofer new smalltalkhubUser: 'myUser'
> project: 'MyProject'; package: 'MyPackage'; load. Smalltalk snapshot: true
> andQuit: true"
> >>>
> >>> then:
> >>>
> >>> pharo-vm-nox MyImage.image eval --no-quit "MyJustLoadedClass start"
> >>>
> >>> results in:
> >>>
> >>> UndefinedObject>>DoIt (MyJustLoadedClass is Undeclared)
> >>> MessageNotUnderstood: receiver of "start" is nil
> >>>
> >>> Thanks!
> >>> Bernat.
> >>>
> >>> --
> >>> Bernat Romagosa.
> >>
> >>
> >>
> >>
> >>
> >> --
> >> Bernat Romagosa.
> >>
> >>
> >>
> >> --
> >> Bernat Romagosa.
> >
> >
>
>
>
--
Bernat Romagosa.
May 2, 2014
Re: [Pharo-users] Updating packages from command line
by Sven Van Caekenberghe
I think something must be broken with his configuration, you cannot even list it...
On 02 May 2014, at 15:11, Esteban Lorenzano <estebanlm(a)gmail.com> wrote:
> pharo-vm-nox Pharo.image config http://smalltalkhub.com/mc/bromagosa/StarUOCs/main ConfigurationOfStarUOCs âinstall=development
>
> has to work. All out infrastructure is based on that :)
>
> Esteban
>
> On 02 May 2014, at 15:05, Bernat Romagosa <tibabenfortlapalanca(a)gmail.com> wrote:
>
>> Hmm it doesn't seem to work...
>>
>> pharo-vm-nox Pharo.image config http://smalltalkhub.com/mc/bromagosa/StarUOCs/main
>> KeyNotFound: key #ConfigurationOfStarUOCs not found in SystemDictionary
>>
>> But the config is there and I can load it from the GUI by doing:
>>
>>
>> Gofer new
>> smalltalkhubUser: 'bromagosa' project: 'StarUOCs';
>> package: 'ConfigurationOfStarUOCs';
>> load.
>>
>> ConfigurationOfStarUOCs load.
>>
>> What can be happening? My version is:
>>
>> pharo-vm-nox Pharo.image printVersion
>> [version] 3.0 #30846
>>
>>
>>
>> 2014-05-02 13:51 GMT+02:00 Bernat Romagosa <tibabenfortlapalanca(a)gmail.com>:
>> I see, thanks a lot! :)
>>
>>
>> 2014-05-02 13:45 GMT+02:00 Sven Van Caekenberghe <sven(a)stfx.eu>:
>>
>> The best approach is to use Configurations and the config handler:
>>
>> $ ./pharo Pharo.image config
>> Command line handler for dealing with Metacello configurations from the command line
>>
>> Usage: config [--help] <repository url> [<configuration>] [--install[=<version>]] [--group=<group>] [--username=<username>] [--password=<password>]
>> --help show this help message
>> <repository url> A Monticello repository name
>> <configuration> A valid Metacello Configuration name
>> <version> A valid version for the given configuration
>> <group> A valid Metacello group name
>> <username> An optional username to access the configuration's repository
>> <password> An optional password to access the configuration's repository
>>
>> Examples:
>> # display this help message
>> pharo Pharo.image config
>>
>> # list all configurations of a repository
>> pharo Pharo.image config $MC_REPOS_URL
>>
>> # list all the available versions of a confgurtation
>> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo
>>
>> # install the stable version
>> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo --install
>>
>> #install a specific version '1.5'
>> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo --install=1.5
>>
>> #install a specific version '1.5' and only a specific group 'Tests'
>> pharo Pharo.image config $MC_REPOS_URL ConfigurationOfFoo --install=1.5 --group=Tests
>>
>> The following article contains this approach as well:
>>
>> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/
>>
>> http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/#deployingforproduction
>>
>> HTH,
>>
>> Sven
>>
>> On 02 May 2014, at 13:28, Bernat Romagosa <tibabenfortlapalanca(a)gmail.com> wrote:
>>
>>> Is there a way to do it?
>>>
>>> Here's my attempt:
>>>
>>> pharo-vm-nox MyImage.image eval "Gofer new smalltalkhubUser: 'myUser' project: 'MyProject'; package: 'MyPackage'; load. Smalltalk snapshot: true andQuit: true"
>>>
>>> then:
>>>
>>> pharo-vm-nox MyImage.image eval --no-quit "MyJustLoadedClass start"
>>>
>>> results in:
>>>
>>> UndefinedObject>>DoIt (MyJustLoadedClass is Undeclared)
>>> MessageNotUnderstood: receiver of "start" is nil
>>>
>>> Thanks!
>>> Bernat.
>>>
>>> --
>>> Bernat Romagosa.
>>
>>
>>
>>
>>
>> --
>> Bernat Romagosa.
>>
>>
>>
>> --
>> Bernat Romagosa.
>
>
May 2, 2014