Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- August
- 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
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
August 2010
- 112 participants
- 1765 messages
Re: [Pharo-project] String to Number conversion
by Guillermo Polito
Maybe the parser should have a #readXXX for each #nextXXX. And let
the #readXXX check the for the end of the stream.
On Thu, Aug 26, 2010 at 11:43 AM, Guillermo Polito
<guillermopolito(a)gmail.com> wrote:
> On Thu, Aug 26, 2010 at 10:32 AM, Johan Brichau <johan(a)inceptive.be> wrote:
>>
>> On 26 Aug 2010, at 15:09, Guillermo Polito wrote:
>>
>>> Number readFrom: '3foo'. --> exception
>>> Number readFrom: '3foo' readStream --> 3
>>
>> They both return 3 in my image.
>> The comment of #readFrom: also says so that that is the expected behavior. But I'm not sure this is what we want.
>>
>
> Yes, you're right. Â I meant 'foo3' :(.
>
>>> String>>asNumber should fail :).
>>
>> agreed.
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
Aug. 26, 2010
Re: [Pharo-project] Fwd: Alien install issue?
by Luc Fabresse
Hi all,
I had no problem to install Alien on Pharo 1.1 with ConfigurationOfAlien:
Gofer new
squeaksource: 'Alien';
package: 'ConfigurationOfAlien';
load.
((Smalltalk at: #ConfigurationOfAlien) project version: 'Pharo 1.1') load:
{'Core' . 'Tests' . 'LibC'. 'MacOSX'}
All 40 tests are green.
Here the version number of the installed packages:
- ConfigurationOfAlien-KenTreis.26
- Alien-Core-JoachimGeidel.64
- Alien-CoreTest-F_Olivero.22
- Alien-Examples-F_Olivero.2
- Alien-LibC-mha.9
- Alien-MacOSX-AppKit-John_M_McIntosh.1
- Alien-MacOSX-Core-John_M_McIntosh.2
- Alien-MacOSX-Examples-John_M_McIntosh.1
- Alien-Prereqs-KenTreis.5
Luc
2010/8/26 Mariano Martinez Peck <marianopeck(a)gmail.com>
>
>
> On Thu, Aug 26, 2010 at 3:38 PM, Noury Bouraqadi <bouraqadi(a)gmail.com>wrote:
>
>> It seems that the ConfigurationOfAlien is broken.
>>
>> I tried on a Pharo-1.1-11411-dev10.07.01 image and got the same failure.
>> It does not seem to load the most recent packages.
>>
>> I then loaded the packages one by one using the monticello repository
>> browser
>> And all tests are green (on Mac).
>>
>>
> Remember you can alwasys say Metacello to load all the latests version. To
> do that, the easiest way is to load a "baseline". As in baseline no version
> is specified, all the latest will be downloaded :)
>
> (ConfigurationOfAlien project version: '1.0-baseline') load.
>
> or whatever loadXXX
>
>
>
>> Packages in load order:
>> Alien-Prereqs-KenTreis.5
>> Alien-Core-JoachimGeidel.64
>> Alien-CoreTest-F_Olivero.22
>> Alien-Examples-F_Olivero.2
>> Alien-LibC-mha.9
>> Alien-MacOSX-AppKit-John_M_McIntosh.1
>> Alien-MacOSX-Core-John_M_McIntosh.2
>>
>> Noury
>>
>> On 26 août 2010, at 15:07, Noury Bouraqadi wrote:
>>
>> > Hi,
>> >
>> > Strange. I thought we already fixed this pb.
>> > I'll look at it.
>> >
>> > Noury
>> > On 25 août 2010, at 19:14, John M McIntosh wrote:
>> >
>> >>
>> >>
>> >> Begin forwarded message:
>> >>
>> >>> From: Marcin Tustin <mm3(a)zepler.net>
>> >>> Date: August 25, 2010 2:31:16 AM PDT
>> >>> To: John McIntosh <johnmci(a)smalltalkconsulting.com>
>> >>> Cc: A friendly place where any question about pharo is welcome <
>> pharo-users(a)lists.gforge.inria.fr>, pharo-dev(a)lists.gforge.inria.fr
>> >>> Subject: Re: [Pharo-users] Invoking external processes/IPC
>> >>>
>> >>> I'm not sure that I would class the fact that Alien wants the Special
>> Objects Array to be bigger than it actually is to be a mere installation
>> issue.
>> >>>
>> >>> On Wed, Aug 25, 2010 at 10:13 AM, John McIntosh <
>> johnmci(a)smalltalkconsulting.com> wrote:
>> >>> Ask on the Pharo list for help or instruction on loading alien into
>> pharo, I didn't write any of the loader code so I can't deal with the fact
>> it may or may not be broken.
>> >>>
>> >>> Sent from my iPad
>> >>>
>> >>> On 2010-08-25, at 1:30 AM, Marcin Tustin <mm3(a)zepler.net> wrote:
>> >>>
>> >>>> John,
>> >>>>
>> >>>> Do you have any intention of commenting on this, even to confirm that
>> you are content for Alien to be incompatible with current versions of Pharo?
>> >>>>
>> >>>> Marcin
>> >>>>
>> >>>> On Mon, Aug 23, 2010 at 11:15 PM, Marcin Tustin <mm3(a)zepler.net>
>> wrote:
>> >>>> John,
>> >>>>
>> >>>> That is the installation recipe I was following, as should have been
>> apparent from my description of the process followed given in my previous
>> email. My problem occurred on the first step after loading the
>> ConfigurationOfAlien package.
>> >>>>
>> >>>> For completeness, I tried loading ConfigurationOfAlien using Gofer,
>> and the exact same thing occurred. I also note that Gofer>>addPackage is
>> deprecated.
>> >>>>
>> >>>> Marcin
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>> On Mon, Aug 23, 2010 at 10:40 PM, John M McIntosh <
>> johnmci(a)smalltalkconsulting.com> wrote:
>> >>>> LIkely the installation process is wrong, look at the
>> http://squeaksource.com/@EGv-75Ct7JEKFz5m/rnvjMef8
>> >>>> and follow the instructions for installing there.
>> >>>>
>> >>>> On 2010-08-23, at 2:08 PM, Marcin Tustin wrote:
>> >>>>
>> >>>>> Following Mariano's advice, I just tried installing Alien (using
>> Pharo-1.1-11406-rc3 with the Seaside RC3 image; this is a sane version, not
>> affected by previous package loading problems).
>> >>>>>
>> >>>>> I loaded ConfigurationOfAlien (ConfigurationOfAlien-KenTreis.26)
>> using Monticello, then executed ConfigurationOfAlien loadCore (as per the
>> instructions). That resulted in an error:
>> 'SystemDictionary>>recreateSpecialObjectsArray appears incompatible' raised
>> from ensureInSpecialObjectsArray. The cause appears to be that Alien wants
>> to be in the special objects array at 53, but the array is created to be
>> size 50.
>> >>>>>
>> >>>>> Proceeding through the error results in the predictable subscript
>> out of bounds error.
>> >>>>>
>> >>>>> running loadCore once more (second time) does the same thing. Doing
>> it a third time results in a message not understood
>> 'initScannerForTokenization' from Parser>>ParseSelector:.
>> >>>>>
>> >>>>> Any ideas?
>> >>>>>
>> >>>>>
>> >>>>> On Mon, Aug 23, 2010 at 8:41 PM, Marcin Tustin <mm3(a)zepler.net>
>> wrote:
>> >>>>> Mariano,
>> >>>>>
>> >>>>> Thanks for this. I belive CommandShell depends on OSProcess. I am
>> using windows, so I guess neither is a runner anyway. I'll try FFI/AlienFFI.
>> >>>>>
>> >>>>> Marcin
>> >>>>>
>> >>>>>
>> >>>>> On Mon, Aug 23, 2010 at 8:19 PM, Mariano Martinez Peck <
>> marianopeck(a)gmail.com> wrote:
>> >>>>>
>> >>>>>
>> >>>>> On Mon, Aug 23, 2010 at 7:45 PM, Marcin Tustin <mm3(a)zepler.net>
>> wrote:
>> >>>>> Hi all,
>> >>>>>
>> >>>>> I'm an occasional squeak/pharo dabbler, and I'm wondering what the
>> recommended way of interacting with external processes is these days?
>> >>>>>
>> >>>>> Should I go through the process of getting all the VMMaker and
>> OSProcess stuff, and build the OSProcess plugin, or is there some other way
>> in Pharo to interact with the OS environment?
>> >>>>>
>> >>>>>
>> >>>>> Hi. Which OS are you? because I think OSProcess is not working on
>> Windows. And I also think there are binaries for it, so you don't need to
>> generate .c from VMMaker neither compile c code to binary.
>> >>>>> But I may be wrong.
>> >>>>>
>> >>>>> CommandShell ?
>> >>>>>
>> >>>>> Maybe using normal FFI or AlienFFI? They will let you invoke shared
>> libraries of the OS from Pharo.
>> >>>>>
>> >>>>> Alternatively, are people doing something (easy) with IPC mechanisms
>> like named sockets or TCP streams?
>> >>>>>
>> >>>>> The "project" I'm working on is putting figlet on a website, just
>> for fun.
>> >>>>>
>> >>>>> Marcin
>> >>>>>
>> >>>>> --
>> >>>>> Marcin Tustin
>> >>>>> Mobile: 07773787105
>> >>>>> Office: 020 3400 3259
>> >>>>>
>> >>>>> _______________________________________________
>> >>>>> Pharo-users mailing list
>> >>>>> Pharo-users(a)lists.gforge.inria.fr
>> >>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> _______________________________________________
>> >>>>> Pharo-users mailing list
>> >>>>> Pharo-users(a)lists.gforge.inria.fr
>> >>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> --
>> >>>>> Marcin Tustin
>> >>>>> Mobile: 07773787105
>> >>>>> Office: 020 3400 3259
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> --
>> >>>>> Marcin Tustin
>> >>>>> Mobile: 07773787105
>> >>>>> Office: 020 3400 3259
>> >>>>
>> >>>> --
>> >>>>
>> ===========================================================================
>> >>>> John M. McIntosh <johnmci(a)smalltalkconsulting.com> Twitter:
>> squeaker68882
>> >>>> Corporate Smalltalk Consulting Ltd.
>> http://www.smalltalkconsulting.com
>> >>>>
>> ===========================================================================
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> Marcin Tustin
>> >>>> Mobile: 07773787105
>> >>>> Office: 020 3400 3259
>> >>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> Marcin Tustin
>> >>>> Mobile: 07773787105
>> >>>> Office: 020 3400 3259
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Marcin Tustin
>> >>> Mobile: 07773787105
>> >>> Office: 020 3400 3259
>> >>
>> >> --
>> >>
>> ===========================================================================
>> >> John M. McIntosh <johnmci(a)smalltalkconsulting.com> Twitter:
>> squeaker68882
>> >> Corporate Smalltalk Consulting Ltd.
>> http://www.smalltalkconsulting.com
>> >>
>> ===========================================================================
>> >>
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> Pharo-project mailing list
>> >> Pharo-project(a)lists.gforge.inria.fr
>> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> >
>> > Noury
>> >
>>
>> Noury
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
Aug. 26, 2010
Re: [Pharo-project] String to Number conversion
by Guillermo Polito
On Thu, Aug 26, 2010 at 10:32 AM, Johan Brichau <johan(a)inceptive.be> wrote:
>
> On 26 Aug 2010, at 15:09, Guillermo Polito wrote:
>
>> Number readFrom: '3foo'. --> exception
>> Number readFrom: '3foo' readStream --> 3
>
> They both return 3 in my image.
> The comment of #readFrom: also says so that that is the expected behavior. But I'm not sure this is what we want.
>
Yes, you're right. I meant 'foo3' :(.
>> String>>asNumber should fail :).
>
> agreed.
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
Aug. 26, 2010
Re: [Pharo-project] String to Number conversion
by Schwab,Wilhelm K
'3foo' asInteger probably should fail, because there is no stream to be tested for #atEnd. Reading '3foo' from a stream *probably* should be ok by default, becauuse the stream will clearly not be a the end, one could easily want to read integers out of formatted strings.
________________________________________
From: pharo-project-bounces(a)lists.gforge.inria.fr [pharo-project-bounces(a)lists.gforge.inria.fr] On Behalf Of Johan Brichau [johan(a)inceptive.be]
Sent: Thursday, August 26, 2010 8:43 AM
To: Pharo-project(a)lists.gforge.inria.fr
Subject: Re: [Pharo-project] String to Number conversion
On 25 Aug 2010, at 09:26, Stéphane Ducasse wrote:
>> Did you mean to let the dirty stuff to #squeezeOutNumber and throw the error in the #readFrom:?
>
> Yes. Now we should identify user of readFrom: that in fact are expecting squeezeOutNumber and fix them.
Well, it seems that the current readFrom: only requires the string to _start_ with a valid format. This means that:
'3foo' asInteger = 3
Should we not fail here too? What are the opinions?
Johan
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Aug. 26, 2010
Re: [Pharo-project] Sprint at esug
by Stéphane Ducasse
saturday too :)
Stef
On Aug 26, 2010, at 4:04 PM, Alexandre Bergel wrote:
> Hi!
>
> I just created an entry in the google site:
> http://code.google.com/p/pharo/wiki/PharoSprints
>
> It is scheduled for Sunday 12, as part of the Camp Smalltalk.
>
> Please, add yourself if you wish to join.
> The tasks will be defined soon. But killing and crunching bugs will be in the menu.
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Aug. 26, 2010
Re: [Pharo-project] hasInstanceVariableNamed: hasClassVariableNamed:
by Stéphane Ducasse
I tend to agree but not quite :)
Size is not the only criteria.
Consistency is another really important one.
And also tested code because there are plenty of methods that are not that difficult to rewrite all the time
in client code but you want to use them because another guys spent time to write them and test them.
And yes I started to read Class and Behavior and I want to clean that.
As soon as Opal gets into pharo we will clean, clean, clean.
Stef
>>
> i remember writing a code like:
> class allInstVarNames includes: somevar,
> multiple times,
> but i can't tell that i miss the above methods too much.
> I'd vote to add them, only if we , in exchange, find the other two(or
> more) methods to remove.
> A class protocol is heavily bloated, and adding even more on top of that,
> even if its userful, could be lost in a jungle of many others.
>
>> Stef
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Aug. 26, 2010
[Pharo-project] Sprint at esug
by Alexandre Bergel
Hi!
I just created an entry in the google site:
http://code.google.com/p/pharo/wiki/PharoSprints
It is scheduled for Sunday 12, as part of the Camp Smalltalk.
Please, add yourself if you wish to join.
The tasks will be defined soon. But killing and crunching bugs will be in the menu.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Aug. 26, 2010
Re: [Pharo-project] String to Number conversion
by Nicolas Cellier
2010/8/26 Johan Brichau <johan(a)inceptive.be>:
>
> On 26 Aug 2010, at 15:09, Guillermo Polito wrote:
>
>> Number readFrom: '3foo'. --> exception
>> Number readFrom: '3foo' readStream --> 3
>
> They both return 3 in my image.
> The comment of #readFrom: also says so that that is the expected behavior. But I'm not sure this is what we want.
>
>> String>>asNumber should fail :).
>
> agreed.
me too, that's what I suggested in another mail.
Nicolas
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
Aug. 26, 2010
Re: [Pharo-project] Fwd: Alien install issue?
by Mariano Martinez Peck
On Thu, Aug 26, 2010 at 3:38 PM, Noury Bouraqadi <bouraqadi(a)gmail.com>wrote:
> It seems that the ConfigurationOfAlien is broken.
>
> I tried on a Pharo-1.1-11411-dev10.07.01 image and got the same failure.
> It does not seem to load the most recent packages.
>
> I then loaded the packages one by one using the monticello repository
> browser
> And all tests are green (on Mac).
>
>
Remember you can alwasys say Metacello to load all the latests version. To
do that, the easiest way is to load a "baseline". As in baseline no version
is specified, all the latest will be downloaded :)
(ConfigurationOfAlien project version: '1.0-baseline') load.
or whatever loadXXX
> Packages in load order:
> Alien-Prereqs-KenTreis.5
> Alien-Core-JoachimGeidel.64
> Alien-CoreTest-F_Olivero.22
> Alien-Examples-F_Olivero.2
> Alien-LibC-mha.9
> Alien-MacOSX-AppKit-John_M_McIntosh.1
> Alien-MacOSX-Core-John_M_McIntosh.2
>
> Noury
>
> On 26 août 2010, at 15:07, Noury Bouraqadi wrote:
>
> > Hi,
> >
> > Strange. I thought we already fixed this pb.
> > I'll look at it.
> >
> > Noury
> > On 25 août 2010, at 19:14, John M McIntosh wrote:
> >
> >>
> >>
> >> Begin forwarded message:
> >>
> >>> From: Marcin Tustin <mm3(a)zepler.net>
> >>> Date: August 25, 2010 2:31:16 AM PDT
> >>> To: John McIntosh <johnmci(a)smalltalkconsulting.com>
> >>> Cc: A friendly place where any question about pharo is welcome <
> pharo-users(a)lists.gforge.inria.fr>, pharo-dev(a)lists.gforge.inria.fr
> >>> Subject: Re: [Pharo-users] Invoking external processes/IPC
> >>>
> >>> I'm not sure that I would class the fact that Alien wants the Special
> Objects Array to be bigger than it actually is to be a mere installation
> issue.
> >>>
> >>> On Wed, Aug 25, 2010 at 10:13 AM, John McIntosh <
> johnmci(a)smalltalkconsulting.com> wrote:
> >>> Ask on the Pharo list for help or instruction on loading alien into
> pharo, I didn't write any of the loader code so I can't deal with the fact
> it may or may not be broken.
> >>>
> >>> Sent from my iPad
> >>>
> >>> On 2010-08-25, at 1:30 AM, Marcin Tustin <mm3(a)zepler.net> wrote:
> >>>
> >>>> John,
> >>>>
> >>>> Do you have any intention of commenting on this, even to confirm that
> you are content for Alien to be incompatible with current versions of Pharo?
> >>>>
> >>>> Marcin
> >>>>
> >>>> On Mon, Aug 23, 2010 at 11:15 PM, Marcin Tustin <mm3(a)zepler.net>
> wrote:
> >>>> John,
> >>>>
> >>>> That is the installation recipe I was following, as should have been
> apparent from my description of the process followed given in my previous
> email. My problem occurred on the first step after loading the
> ConfigurationOfAlien package.
> >>>>
> >>>> For completeness, I tried loading ConfigurationOfAlien using Gofer,
> and the exact same thing occurred. I also note that Gofer>>addPackage is
> deprecated.
> >>>>
> >>>> Marcin
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On Mon, Aug 23, 2010 at 10:40 PM, John M McIntosh <
> johnmci(a)smalltalkconsulting.com> wrote:
> >>>> LIkely the installation process is wrong, look at the
> http://squeaksource.com/@EGv-75Ct7JEKFz5m/rnvjMef8
> >>>> and follow the instructions for installing there.
> >>>>
> >>>> On 2010-08-23, at 2:08 PM, Marcin Tustin wrote:
> >>>>
> >>>>> Following Mariano's advice, I just tried installing Alien (using
> Pharo-1.1-11406-rc3 with the Seaside RC3 image; this is a sane version, not
> affected by previous package loading problems).
> >>>>>
> >>>>> I loaded ConfigurationOfAlien (ConfigurationOfAlien-KenTreis.26)
> using Monticello, then executed ConfigurationOfAlien loadCore (as per the
> instructions). That resulted in an error:
> 'SystemDictionary>>recreateSpecialObjectsArray appears incompatible' raised
> from ensureInSpecialObjectsArray. The cause appears to be that Alien wants
> to be in the special objects array at 53, but the array is created to be
> size 50.
> >>>>>
> >>>>> Proceeding through the error results in the predictable subscript out
> of bounds error.
> >>>>>
> >>>>> running loadCore once more (second time) does the same thing. Doing
> it a third time results in a message not understood
> 'initScannerForTokenization' from Parser>>ParseSelector:.
> >>>>>
> >>>>> Any ideas?
> >>>>>
> >>>>>
> >>>>> On Mon, Aug 23, 2010 at 8:41 PM, Marcin Tustin <mm3(a)zepler.net>
> wrote:
> >>>>> Mariano,
> >>>>>
> >>>>> Thanks for this. I belive CommandShell depends on OSProcess. I am
> using windows, so I guess neither is a runner anyway. I'll try FFI/AlienFFI.
> >>>>>
> >>>>> Marcin
> >>>>>
> >>>>>
> >>>>> On Mon, Aug 23, 2010 at 8:19 PM, Mariano Martinez Peck <
> marianopeck(a)gmail.com> wrote:
> >>>>>
> >>>>>
> >>>>> On Mon, Aug 23, 2010 at 7:45 PM, Marcin Tustin <mm3(a)zepler.net>
> wrote:
> >>>>> Hi all,
> >>>>>
> >>>>> I'm an occasional squeak/pharo dabbler, and I'm wondering what the
> recommended way of interacting with external processes is these days?
> >>>>>
> >>>>> Should I go through the process of getting all the VMMaker and
> OSProcess stuff, and build the OSProcess plugin, or is there some other way
> in Pharo to interact with the OS environment?
> >>>>>
> >>>>>
> >>>>> Hi. Which OS are you? because I think OSProcess is not working on
> Windows. And I also think there are binaries for it, so you don't need to
> generate .c from VMMaker neither compile c code to binary.
> >>>>> But I may be wrong.
> >>>>>
> >>>>> CommandShell ?
> >>>>>
> >>>>> Maybe using normal FFI or AlienFFI? They will let you invoke shared
> libraries of the OS from Pharo.
> >>>>>
> >>>>> Alternatively, are people doing something (easy) with IPC mechanisms
> like named sockets or TCP streams?
> >>>>>
> >>>>> The "project" I'm working on is putting figlet on a website, just for
> fun.
> >>>>>
> >>>>> Marcin
> >>>>>
> >>>>> --
> >>>>> Marcin Tustin
> >>>>> Mobile: 07773787105
> >>>>> Office: 020 3400 3259
> >>>>>
> >>>>> _______________________________________________
> >>>>> Pharo-users mailing list
> >>>>> Pharo-users(a)lists.gforge.inria.fr
> >>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
> >>>>>
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Pharo-users mailing list
> >>>>> Pharo-users(a)lists.gforge.inria.fr
> >>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Marcin Tustin
> >>>>> Mobile: 07773787105
> >>>>> Office: 020 3400 3259
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Marcin Tustin
> >>>>> Mobile: 07773787105
> >>>>> Office: 020 3400 3259
> >>>>
> >>>> --
> >>>>
> ===========================================================================
> >>>> John M. McIntosh <johnmci(a)smalltalkconsulting.com> Twitter:
> squeaker68882
> >>>> Corporate Smalltalk Consulting Ltd.
> http://www.smalltalkconsulting.com
> >>>>
> ===========================================================================
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Marcin Tustin
> >>>> Mobile: 07773787105
> >>>> Office: 020 3400 3259
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Marcin Tustin
> >>>> Mobile: 07773787105
> >>>> Office: 020 3400 3259
> >>>
> >>>
> >>>
> >>> --
> >>> Marcin Tustin
> >>> Mobile: 07773787105
> >>> Office: 020 3400 3259
> >>
> >> --
> >>
> ===========================================================================
> >> John M. McIntosh <johnmci(a)smalltalkconsulting.com> Twitter:
> squeaker68882
> >> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
> >>
> ===========================================================================
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Pharo-project mailing list
> >> Pharo-project(a)lists.gforge.inria.fr
> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> > Noury
> >
>
> Noury
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
Aug. 26, 2010
Re: [Pharo-project] Fwd: Alien install issue?
by Noury Bouraqadi
It seems that the ConfigurationOfAlien is broken.
I tried on a Pharo-1.1-11411-dev10.07.01 image and got the same failure.
It does not seem to load the most recent packages.
I then loaded the packages one by one using the monticello repository browser
And all tests are green (on Mac).
Packages in load order:
Alien-Prereqs-KenTreis.5
Alien-Core-JoachimGeidel.64
Alien-CoreTest-F_Olivero.22
Alien-Examples-F_Olivero.2
Alien-LibC-mha.9
Alien-MacOSX-AppKit-John_M_McIntosh.1
Alien-MacOSX-Core-John_M_McIntosh.2
Noury
On 26 août 2010, at 15:07, Noury Bouraqadi wrote:
> Hi,
>
> Strange. I thought we already fixed this pb.
> I'll look at it.
>
> Noury
> On 25 août 2010, at 19:14, John M McIntosh wrote:
>
>>
>>
>> Begin forwarded message:
>>
>>> From: Marcin Tustin <mm3(a)zepler.net>
>>> Date: August 25, 2010 2:31:16 AM PDT
>>> To: John McIntosh <johnmci(a)smalltalkconsulting.com>
>>> Cc: A friendly place where any question about pharo is welcome <pharo-users(a)lists.gforge.inria.fr>, pharo-dev(a)lists.gforge.inria.fr
>>> Subject: Re: [Pharo-users] Invoking external processes/IPC
>>>
>>> I'm not sure that I would class the fact that Alien wants the Special Objects Array to be bigger than it actually is to be a mere installation issue.
>>>
>>> On Wed, Aug 25, 2010 at 10:13 AM, John McIntosh <johnmci(a)smalltalkconsulting.com> wrote:
>>> Ask on the Pharo list for help or instruction on loading alien into pharo, I didn't write any of the loader code so I can't deal with the fact it may or may not be broken.
>>>
>>> Sent from my iPad
>>>
>>> On 2010-08-25, at 1:30 AM, Marcin Tustin <mm3(a)zepler.net> wrote:
>>>
>>>> John,
>>>>
>>>> Do you have any intention of commenting on this, even to confirm that you are content for Alien to be incompatible with current versions of Pharo?
>>>>
>>>> Marcin
>>>>
>>>> On Mon, Aug 23, 2010 at 11:15 PM, Marcin Tustin <mm3(a)zepler.net> wrote:
>>>> John,
>>>>
>>>> That is the installation recipe I was following, as should have been apparent from my description of the process followed given in my previous email. My problem occurred on the first step after loading the ConfigurationOfAlien package.
>>>>
>>>> For completeness, I tried loading ConfigurationOfAlien using Gofer, and the exact same thing occurred. I also note that Gofer>>addPackage is deprecated.
>>>>
>>>> Marcin
>>>>
>>>>
>>>>
>>>>
>>>> On Mon, Aug 23, 2010 at 10:40 PM, John M McIntosh <johnmci(a)smalltalkconsulting.com> wrote:
>>>> LIkely the installation process is wrong, look at the http://squeaksource.com/@EGv-75Ct7JEKFz5m/rnvjMef8
>>>> and follow the instructions for installing there.
>>>>
>>>> On 2010-08-23, at 2:08 PM, Marcin Tustin wrote:
>>>>
>>>>> Following Mariano's advice, I just tried installing Alien (using Pharo-1.1-11406-rc3 with the Seaside RC3 image; this is a sane version, not affected by previous package loading problems).
>>>>>
>>>>> I loaded ConfigurationOfAlien (ConfigurationOfAlien-KenTreis.26) using Monticello, then executed ConfigurationOfAlien loadCore (as per the instructions). That resulted in an error: 'SystemDictionary>>recreateSpecialObjectsArray appears incompatible' raised from ensureInSpecialObjectsArray. The cause appears to be that Alien wants to be in the special objects array at 53, but the array is created to be size 50.
>>>>>
>>>>> Proceeding through the error results in the predictable subscript out of bounds error.
>>>>>
>>>>> running loadCore once more (second time) does the same thing. Doing it a third time results in a message not understood 'initScannerForTokenization' from Parser>>ParseSelector:.
>>>>>
>>>>> Any ideas?
>>>>>
>>>>>
>>>>> On Mon, Aug 23, 2010 at 8:41 PM, Marcin Tustin <mm3(a)zepler.net> wrote:
>>>>> Mariano,
>>>>>
>>>>> Thanks for this. I belive CommandShell depends on OSProcess. I am using windows, so I guess neither is a runner anyway. I'll try FFI/AlienFFI.
>>>>>
>>>>> Marcin
>>>>>
>>>>>
>>>>> On Mon, Aug 23, 2010 at 8:19 PM, Mariano Martinez Peck <marianopeck(a)gmail.com> wrote:
>>>>>
>>>>>
>>>>> On Mon, Aug 23, 2010 at 7:45 PM, Marcin Tustin <mm3(a)zepler.net> wrote:
>>>>> Hi all,
>>>>>
>>>>> I'm an occasional squeak/pharo dabbler, and I'm wondering what the recommended way of interacting with external processes is these days?
>>>>>
>>>>> Should I go through the process of getting all the VMMaker and OSProcess stuff, and build the OSProcess plugin, or is there some other way in Pharo to interact with the OS environment?
>>>>>
>>>>>
>>>>> Hi. Which OS are you? because I think OSProcess is not working on Windows. And I also think there are binaries for it, so you don't need to generate .c from VMMaker neither compile c code to binary.
>>>>> But I may be wrong.
>>>>>
>>>>> CommandShell ?
>>>>>
>>>>> Maybe using normal FFI or AlienFFI? They will let you invoke shared libraries of the OS from Pharo.
>>>>>
>>>>> Alternatively, are people doing something (easy) with IPC mechanisms like named sockets or TCP streams?
>>>>>
>>>>> The "project" I'm working on is putting figlet on a website, just for fun.
>>>>>
>>>>> Marcin
>>>>>
>>>>> --
>>>>> Marcin Tustin
>>>>> Mobile: 07773787105
>>>>> Office: 020 3400 3259
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-users mailing list
>>>>> Pharo-users(a)lists.gforge.inria.fr
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-users mailing list
>>>>> Pharo-users(a)lists.gforge.inria.fr
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Marcin Tustin
>>>>> Mobile: 07773787105
>>>>> Office: 020 3400 3259
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Marcin Tustin
>>>>> Mobile: 07773787105
>>>>> Office: 020 3400 3259
>>>>
>>>> --
>>>> ===========================================================================
>>>> John M. McIntosh <johnmci(a)smalltalkconsulting.com> Twitter: squeaker68882
>>>> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
>>>> ===========================================================================
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Marcin Tustin
>>>> Mobile: 07773787105
>>>> Office: 020 3400 3259
>>>>
>>>>
>>>>
>>>> --
>>>> Marcin Tustin
>>>> Mobile: 07773787105
>>>> Office: 020 3400 3259
>>>
>>>
>>>
>>> --
>>> Marcin Tustin
>>> Mobile: 07773787105
>>> Office: 020 3400 3259
>>
>> --
>> ===========================================================================
>> John M. McIntosh <johnmci(a)smalltalkconsulting.com> Twitter: squeaker68882
>> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
>> ===========================================================================
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> Noury
>
Noury
Aug. 26, 2010