[ANN] OS Project with initial support for Ubuntu and Unix

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

[ANN] OS Project with initial support for Ubuntu and Unix

Torsten Bergmann
Hi,

beside the existing "OS-Windows" support for Windows operating system
the "Pharo OS project" (http://smalltalkhub.com/#!/~OS) now also has
new subprojects for "OS-Unix" and "OS-Linux-Ubuntu" with some initial
support for these native platforms as well.

You can load it from the config browser in Pharo 4.0. I guess the
attached screenshot will explain it all...

Bye
T.

os_ubuntu.png (200K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] OS Project with initial support for Ubuntu and Unix

Damien Cassou
that is really great news, thank you very much. Do you plan a common
interface to manipulate OSes polymorphically? This could include:

- opening an external application
- sending a file to the trash
- ...

Thanks again!



On Fri, Jan 9, 2015 at 11:27 AM, Torsten Bergmann <[hidden email]> wrote:

> Hi,
>
> beside the existing "OS-Windows" support for Windows operating system
> the "Pharo OS project" (http://smalltalkhub.com/#!/~OS) now also has
> new subprojects for "OS-Unix" and "OS-Linux-Ubuntu" with some initial
> support for these native platforms as well.
>
> You can load it from the config browser in Pharo 4.0. I guess the
> attached screenshot will explain it all...
>
> Bye
> T.



--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm."
Winston Churchill

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] OS Project with initial support for Ubuntu and Unix

stepharo
In reply to this post by Torsten Bergmann
this is cool
What I would love is to have the possibility as in Ruby to invoke shell
and the rest from Pharo!

Stef
Le 9/1/15 11:27, Torsten Bergmann a écrit :

> Hi,
>
> beside the existing "OS-Windows" support for Windows operating system
> the "Pharo OS project" (http://smalltalkhub.com/#!/~OS) now also has
> new subprojects for "OS-Unix" and "OS-Linux-Ubuntu" with some initial
> support for these native platforms as well.
>
> You can load it from the config browser in Pharo 4.0. I guess the
> attached screenshot will explain it all...
>
> Bye
> T.


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] OS Project with initial support for Ubuntu and Unix

Martin Bähr
In reply to this post by Torsten Bergmann
Excerpts from Torsten Bergmann's message of 2015-01-09 11:27:01 +0100:
> beside the existing "OS-Windows" support for Windows operating system
> the "Pharo OS project" (http://smalltalkhub.com/#!/~OS) now also has
> new subprojects for "OS-Unix" and "OS-Linux-Ubuntu" with some initial
> support for these native platforms as well.
>
> You can load it from the config browser in Pharo 4.0. I guess the
> attached screenshot will explain it all...

i can't get it to work.
whatever i try to load, pharo just hangs when i try to use one of the linux
menu entries.

greetings, martin.

--
eKita                   -   the online platform for your entire academic life
--
chief engineer                                                       eKita.co
pike programmer      pike.lysator.liu.se    caudium.net     societyserver.org
secretary                                                      beijinglug.org
mentor                                                           fossasia.org
foresight developer  foresightlinux.org                            realss.com
unix sysadmin
Martin Bähr          working in china        http://societyserver.org/mbaehr/

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] OS Project with initial support for Ubuntu and Unix

Torsten Bergmann
> i can't get it to work.
> whatever i try to load, pharo just hangs when i try to use one of the linux
> menu entries.

Are you sure you run the latest ubuntu,  the latest 4.0 image and the latest Pharo
virtual machine? Did you follow the PPA installation guide on: http://pharo.org/download?

In any other case the debugger is your friend. Step through the methods
tell us where exactly it hangs (which call with with parameters).

Thx
T.

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] OS Project with initial support for Ubuntu and Unix

Martin Bähr
Excerpts from Torsten Bergmann's message of 2015-01-26 05:14:38 +0100:
> > i can't get it to work.
> > whatever i try to load, pharo just hangs when i try to use one of the linux
> > menu entries.
> Are you sure you run the latest ubuntu,  the latest 4.0 image and the latest Pharo
> virtual machine? Did you follow the PPA installation guide on: http://pharo.org/download?

i am not running ubuntu at all.
pharo4 is a few weeks old, i'll update that.

i see no reason why opening a terminal should be ubuntu specific. in any case
though, it should just fail and not hang.

> In any other case the debugger is your friend. Step through the methods
> tell us where exactly it hangs (which call with with parameters).

i need a little help here, i know how to use the debugger when it gets called
on an error, but how do i start the debugger beforehand to trace what's
happening before?

do i need to set a breakpoint and then step through?
where would i set that breakpoint?

but before that, what do i need to actually install? just OSLinuxUbuntu or OSUnix as well?

greetings, martin.

--
eKita                   -   the online platform for your entire academic life
--
chief engineer                                                       eKita.co
pike programmer      pike.lysator.liu.se    caudium.net     societyserver.org
secretary                                                      beijinglug.org
mentor                                                           fossasia.org
foresight developer  foresightlinux.org                            realss.com
unix sysadmin
Martin Bähr          working in china        http://societyserver.org/mbaehr/

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] OS Project with initial support for Ubuntu and Unix

Torsten Bergmann
> i am not running ubuntu at all.

and you wonder why an ubuntu specific project is not working - funny ;)

> pharo4 is a few weeks old, i'll update that.
>
> i see no reason why opening a terminal should be ubuntu specific. in any case
> though, it should just fail and not hang.

Check class side methods UbuntuShell.

It only calls "gnome-terminal" which might not be available.
 
Bye
T

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] OS Project with initial support for Ubuntu and Unix

Martin Bähr
Excerpts from Torsten Bergmann's message of 2015-01-26 05:49:18 +0100:
> > i am not running ubuntu at all.
> and you wonder why an ubuntu specific project is not working - funny ;)

i am not wondering why it's not working, i am wondering why it is hanging.
if the code aborts and i get thrown into a debugger, i can deal with that (and
make an attempt to fix it) but if it just silently hangs the whole image, i am
stuck until i learn how to handle that.

> > pharo4 is a few weeks old, i'll update that.
> >
> > i see no reason why opening a terminal should be ubuntu specific. in any case
> > though, it should just fail and not hang.
> Check class side methods UbuntuShell.
>
> It only calls "gnome-terminal" which might not be available.

well, gnome-terminal is available, so it must be something else.
now i just need to figure out how to get the debugger started manually, and
then i'll investigate.

greetings, martin.

--
eKita                   -   the online platform for your entire academic life
--
chief engineer                                                       eKita.co
pike programmer      pike.lysator.liu.se    caudium.net     societyserver.org
secretary                                                      beijinglug.org
mentor                                                           fossasia.org
foresight developer  foresightlinux.org                            realss.com
unix sysadmin
Martin Bähr          working in china        http://societyserver.org/mbaehr/

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] OS Project with initial support for Ubuntu and Unix

Martin Bähr
In reply to this post by Torsten Bergmann
Excerpts from Torsten Bergmann's message of 2015-01-26 05:49:18 +0100:
> > i see no reason why opening a terminal should be ubuntu specific. in any case
> > though, it should just fail and not hang.
> Check class side methods UbuntuShell.
> It only calls "gnome-terminal" which might not be available.

thanks, the code is less complex than i expected.
there is not much to debug even, because Ubuntu system: 'gnome-terminal &'. is what hangs.
and Ubuntu>>system: is just calling nativeboost. so the problem must be in
there. i have updated to the latest pharo4 image, but i didn't check that the
pharo-vm is up-to-date.

btw: PipeableOSProcess command: 'gnome-terminal &'. works just fine.

what is the difference between using nativeboost instead of OSProcess?

greetings, martin.

--
eKita                   -   the online platform for your entire academic life
--
chief engineer                                                       eKita.co
pike programmer      pike.lysator.liu.se    caudium.net     societyserver.org
secretary                                                      beijinglug.org
mentor                                                           fossasia.org
foresight developer  foresightlinux.org                            realss.com
unix sysadmin
Martin Bähr          working in china        http://societyserver.org/mbaehr/

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] OS Project with initial support for Ubuntu and Unix

Ben Coman
In reply to this post by Martin Bähr


On Mon, Jan 26, 2015 at 1:08 PM, Martin Bähr <[hidden email]> wrote:
Excerpts from Torsten Bergmann's message of 2015-01-26 05:49:18 +0100:
> > i am not running ubuntu at all.
> and you wonder why an ubuntu specific project is not working - funny ;)

i am not wondering why it's not working, i am wondering why it is hanging.
if the code aborts and i get thrown into a debugger, i can deal with that (and
make an attempt to fix it) but if it just silently hangs the whole image, i am
stuck until i learn how to handle that.


Just a random thought.  Can you see what effect installing the slice for the following issue has?
https://pharo.fogbugz.com/default.asp?14669

cheers -ben
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] OS Project with initial support for Ubuntu and Unix

Martin Bähr
Excerpts from Ben Coman's message of 2015-01-26 08:42:23 +0100:
> Just a random thought.  Can you see what effect installing the slice for
> the following issue has?
> https://pharo.fogbugz.com/default.asp?14669

can't access that without registration. sorry, but that's a serious impediment.
i already have to many accounts to manage.

pretty much every other Free Software project out there has this stuff
accessible without login.

greetings, martin.

--
eKita                   -   the online platform for your entire academic life
--
chief engineer                                                       eKita.co
pike programmer      pike.lysator.liu.se    caudium.net     societyserver.org
secretary                                                      beijinglug.org
mentor                                                           fossasia.org
foresight developer  foresightlinux.org                            realss.com
unix sysadmin
Martin Bähr          working in china        http://societyserver.org/mbaehr/

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] OS Project with initial support for Ubuntu and Unix

Marcus Denker-4

> On 26 Jan 2015, at 08:55, Martin Bähr <[hidden email]> wrote:
>
> Excerpts from Ben Coman's message of 2015-01-26 08:42:23 +0100:
>> Just a random thought.  Can you see what effect installing the slice for
>> the following issue has?
>> https://pharo.fogbugz.com/default.asp?14669
>
> can't access that without registration. sorry, but that's a serious impediment.
> i already have to many accounts to manage.
>
> pretty much every other Free Software project out there has this stuff
> accessible without login.
>

Yes, sadly fogbugz does not support that.

We will move just due to this to another issue tracker eventually, but it will be quite some effort.
I do not yet know when we will have the time and energy to do that.

        Marcus


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] OS Project with initial support for Ubuntu and Unix

Martin Bähr
Excerpts from Marcus Denker's message of 2015-01-26 11:26:58 +0100:
> >> https://pharo.fogbugz.com/default.asp?14669
> > pretty much every other Free Software project out there has this stuff
> > accessible without login.
> Yes, sadly fogbugz does not support that.
>
> We will move just due to this to another issue tracker eventually, but it
> will be quite some effort.  I do not yet know when we will have the time and
> energy to do that.

thanks, that's comforting to know.
has there been any consideration for which issue tracker would be preferred as a replacement?
github? some Free Software platform? something homegrown?

greetings, martin.

--
eKita                   -   the online platform for your entire academic life
--
chief engineer                                                       eKita.co
pike programmer      pike.lysator.liu.se    caudium.net     societyserver.org
secretary                                                      beijinglug.org
mentor                                                           fossasia.org
foresight developer  foresightlinux.org                            realss.com
unix sysadmin
Martin Bähr          working in china        http://societyserver.org/mbaehr/

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] OS Project with initial support for Ubuntu and Unix

Ben Coman
In reply to this post by Martin Bähr
With Monticello with "All" selected on the right side,  
open the Pharo4Inbox
then filter on 14669

cheers -ben

On Mon, Jan 26, 2015 at 3:55 PM, Martin Bähr <[hidden email]> wrote:
Excerpts from Ben Coman's message of 2015-01-26 08:42:23 +0100:
> Just a random thought.  Can you see what effect installing the slice for
> the following issue has?
> https://pharo.fogbugz.com/default.asp?14669

can't access that without registration. sorry, but that's a serious impediment.
i already have to many accounts to manage.

pretty much every other Free Software project out there has this stuff
accessible without login.

greetings, martin.

--
eKita                   -   the online platform for your entire academic life
--
chief engineer                                                       eKita.co
pike programmer      pike.lysator.liu.se    caudium.net     societyserver.org
secretary                                                      beijinglug.org
mentor                                                           fossasia.org
foresight developer  foresightlinux.org                            realss.com
unix sysadmin
Martin Bähr          working in china        http://societyserver.org/mbaehr/