Fwd: Alien install issue?

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

Fwd: Alien install issue?

johnmci


Begin forwarded message:

From: Marcin Tustin <[hidden email]>
Date: August 25, 2010 2:31:16 AM PDT
To: John McIntosh <[hidden email]>
Cc: A friendly place where any question about pharo is welcome <[hidden email]>, [hidden email]
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email][hidden email]> 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 <[hidden email][hidden email]> 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 <[hidden email][hidden email]> 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 <[hidden email][hidden email]> wrote:


On Mon, Aug 23, 2010 at 7:45 PM, Marcin Tustin <[hidden email][hidden email]> 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
[hidden email][hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users



_______________________________________________
Pharo-users mailing list
[hidden email][hidden email]
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 <[hidden email][hidden email]>   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 <[hidden email]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Alien install issue?

Noury Bouraqadi-2
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 <[hidden email]>
>> Date: August 25, 2010 2:31:16 AM PDT
>> To: John McIntosh <[hidden email]>
>> Cc: A friendly place where any question about pharo is welcome <[hidden email]>, [hidden email]
>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:
>>>>
>>>>
>>>> On Mon, Aug 23, 2010 at 7:45 PM, Marcin Tustin <[hidden email]> 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
>>>> [hidden email]
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-users mailing list
>>>> [hidden email]
>>>> 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 <[hidden email]>   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 <[hidden email]>   Twitter:  squeaker68882
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ===========================================================================
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Noury



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Alien install issue?

Noury Bouraqadi-2
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 <[hidden email]>
>>> Date: August 25, 2010 2:31:16 AM PDT
>>> To: John McIntosh <[hidden email]>
>>> Cc: A friendly place where any question about pharo is welcome <[hidden email]>, [hidden email]
>>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:
>>>>>
>>>>>
>>>>> On Mon, Aug 23, 2010 at 7:45 PM, Marcin Tustin <[hidden email]> 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
>>>>> [hidden email]
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-users mailing list
>>>>> [hidden email]
>>>>> 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 <[hidden email]>   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 <[hidden email]>   Twitter:  squeaker68882
>> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
>> ===========================================================================
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> Noury
>

Noury



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Alien install issue?

Mariano Martinez Peck


On Thu, Aug 26, 2010 at 3:38 PM, Noury Bouraqadi <[hidden email]> 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 <[hidden email]>
>>> Date: August 25, 2010 2:31:16 AM PDT
>>> To: John McIntosh <[hidden email]>
>>> Cc: A friendly place where any question about pharo is welcome <[hidden email]>, [hidden email]
>>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:
>>>>>
>>>>>
>>>>> On Mon, Aug 23, 2010 at 7:45 PM, Marcin Tustin <[hidden email]> 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
>>>>> [hidden email]
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-users mailing list
>>>>> [hidden email]
>>>>> 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 <[hidden email]>   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 <[hidden email]>   Twitter:  squeaker68882
>> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
>> ===========================================================================
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> Noury
>

Noury



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Alien install issue?

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 <[hidden email]>


On Thu, Aug 26, 2010 at 3:38 PM, Noury Bouraqadi <[hidden email]> 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 <[hidden email]>
>>> Date: August 25, 2010 2:31:16 AM PDT
>>> To: John McIntosh <[hidden email]>
>>> Cc: A friendly place where any question about pharo is welcome <[hidden email]>, [hidden email]
>>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:
>>>>>
>>>>>
>>>>> On Mon, Aug 23, 2010 at 7:45 PM, Marcin Tustin <[hidden email]> 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
>>>>> [hidden email]
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-users mailing list
>>>>> [hidden email]
>>>>> 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 <[hidden email]>   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 <[hidden email]>   Twitter:  squeaker68882
>> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
>> ===========================================================================
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> Noury
>

Noury



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: Alien install issue?

Alberto Bacchelli
In reply to this post by Noury Bouraqadi-2
On 8/26/10 3:38 PM, Noury Bouraqadi 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

By using the ConfigurationOfAlien in the Metacello repository,
it should work without problems.

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project