Hi!
I wasn't able to run OSProcess on Mac and on Linux. I get the error "process accessor module not available". Doru mentioned it on Sep 23. Is the situation the same? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
http://comments.gmane.org/gmane.comp.lang.smalltalk.squeak.general/153430
gives me some hint. I wasn't able to run the tests. For example: testCatAFile | p openFileCount | openFileCount := self numberOfOpenFiles. p := UnixProcess catAFile. self assert: p notNil. self should: [p isRunning]. [p isRunning] whileTrue: [(Delay forMilliseconds: 100) wait]. "<<==== block here" I need to interrupt with alt-. OSProcess accessor osppModuleVersionString =>'4.3.2' Is there something wrong we're doing? Cheers, Alexandre On 20 Dec 2010, at 16:22, Alexandre Bergel wrote: > Hi! > > I wasn't able to run OSProcess on Mac and on Linux. I get the error "process accessor module not available". > Doru mentioned it on Sep 23. Is the situation the same? > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
Hi Alex,
One source of problems is that, as you are on a Mac, you have an outdated plugin (it is from April 1, 2007). It would be nice if the Mac VM shipped with an up to date plugin... You may also find the recent status report of Dave Lewis, which he posted to this list on December 1, useful. Cheers, Adrian On Dec 20, 2010, at 20:45 , Alexandre Bergel wrote: > http://comments.gmane.org/gmane.comp.lang.smalltalk.squeak.general/153430 > gives me some hint. > > I wasn't able to run the tests. For example: > testCatAFile > | p openFileCount | > openFileCount := self numberOfOpenFiles. > p := UnixProcess catAFile. > self assert: p notNil. > self should: [p isRunning]. > [p isRunning] whileTrue: [(Delay forMilliseconds: 100) wait]. "<<==== block here" > > I need to interrupt with alt-. > OSProcess accessor osppModuleVersionString > =>'4.3.2' > > Is there something wrong we're doing? > > Cheers, > Alexandre > > On 20 Dec 2010, at 16:22, Alexandre Bergel wrote: > >> Hi! >> >> I wasn't able to run OSProcess on Mac and on Linux. I get the error "process accessor module not available". >> Doru mentioned it on Sep 23. Is the situation the same? >> >> Cheers, >> Alexandre >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > |
Thanks, I will check.
Cheers, Alexandre On 20 Dec 2010, at 17:59, Adrian Lienhard wrote: > Hi Alex, > > One source of problems is that, as you are on a Mac, you have an outdated plugin (it is from April 1, 2007). It would be nice if the Mac VM shipped with an up to date plugin... > > You may also find the recent status report of Dave Lewis, which he posted to this list on December 1, useful. > > Cheers, > Adrian > > On Dec 20, 2010, at 20:45 , Alexandre Bergel wrote: > >> http://comments.gmane.org/gmane.comp.lang.smalltalk.squeak.general/153430 >> gives me some hint. >> >> I wasn't able to run the tests. For example: >> testCatAFile >> | p openFileCount | >> openFileCount := self numberOfOpenFiles. >> p := UnixProcess catAFile. >> self assert: p notNil. >> self should: [p isRunning]. >> [p isRunning] whileTrue: [(Delay forMilliseconds: 100) wait]. "<<==== block here" >> >> I need to interrupt with alt-. >> OSProcess accessor osppModuleVersionString >> =>'4.3.2' >> >> Is there something wrong we're doing? >> >> Cheers, >> Alexandre >> >> On 20 Dec 2010, at 16:22, Alexandre Bergel wrote: >> >>> Hi! >>> >>> I wasn't able to run OSProcess on Mac and on Linux. I get the error "process accessor module not available". >>> Doru mentioned it on Sep 23. Is the situation the same? >>> >>> Cheers, >>> Alexandre >>> -- >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>> Alexandre Bergel http://www.bergel.eu >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>> >>> >>> >>> >>> >>> >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> > > -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
In reply to this post by Adrian Lienhard
El 20/12/2010, a las 5:59p.m., Adrian Lienhard escribió: > Hi Alex, > > One source of problems is that, as you are on a Mac, you have an outdated plugin (it is from April 1, 2007). It would be nice if the Mac VM shipped with an up to date plugin... > yep... it is planned... no time to implement it yet, sorry (this end year is full of work) :( cheers, Esteban |
In reply to this post by Alexandre Bergel
I mostly use PipeableOSProcess, exclusively on Linux, and found it broken on 1.1. I ended up hacking FileDirectory>>fileExists: to answer true to '/bin/sh' and all was well. It is fixed in 1.1.1.
Bill ________________________________________ From: [hidden email] [[hidden email]] On Behalf Of Alexandre Bergel [[hidden email]] Sent: Monday, December 20, 2010 2:22 PM To: [hidden email] Development Cc: ivan rojas Subject: [Pharo-project] running osprocess Hi! I wasn't able to run OSProcess on Mac and on Linux. I get the error "process accessor module not available". Doru mentioned it on Sep 23. Is the situation the same? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
In reply to this post by EstebanLM
Hi Esteban,
On Dec 20, 2010, at 22:49 , Esteban Lorenzano wrote: > El 20/12/2010, a las 5:59p.m., Adrian Lienhard escribió: > >> Hi Alex, >> >> One source of problems is that, as you are on a Mac, you have an outdated plugin (it is from April 1, 2007). It would be nice if the Mac VM shipped with an up to date plugin... >> > > yep... it is planned... no time to implement it yet, sorry (this end year is full of work) :( No problem. It is nice to hear you already have it on the wish list. Cheers, Adrian |
In reply to this post by Schwab,Wilhelm K
Den 21.12.2010 01:42, skrev Schwab,Wilhelm K:
> I mostly use PipeableOSProcess, exclusively on Linux, and found it broken on 1.1. I ended up hacking FileDirectory>>fileExists: to answer true to '/bin/sh' and all was well. It is fixed in 1.1.1. > > Bill > Uhm, it's only fixed if you use 1.1.1 on Linux with a Cog VM, the code in image is the same as 1.1. This was an error in platform support-code for the standard Unix vm, which had already been fixed in Cog. That fix has been submitted for inclusion in the standard vm, and though I haven't seen any SVN-checkins related to it, I believe it is planned for inclusion in the (planned) Dec. release of new VM's. Cheers, Henry |
On Tue, Dec 21, 2010 at 04:52:32PM +0100, Henrik Johansen wrote:
> Den 21.12.2010 01:42, skrev Schwab,Wilhelm K: > > I mostly use PipeableOSProcess, exclusively on Linux, and found it broken on 1.1. I ended up hacking FileDirectory>>fileExists: to answer true to '/bin/sh' and all was well. It is fixed in 1.1.1. > > > > Bill > > > Uhm, it's only fixed if you use 1.1.1 on Linux with a Cog VM, the code > in image is the same as 1.1. > This was an error in platform support-code for the standard Unix vm, > which had already been fixed in Cog. > That fix has been submitted for inclusion in the standard vm, and though > I haven't seen any SVN-checkins related to it, I believe it is planned > for inclusion in the (planned) Dec. release of new VM's. Henry, Is this <http://bugs.squeak.org/view.php?id=7550> ? Thanks, Dave |
Free forum by Nabble | Edit this page |