Re: [Pharo-project] Understanding Athens

2013-04-18 Thread kilon
Ok resumed learning of Athens, did look through and experimented with the steps of the tutorial , I think I understand the basics now. Started from a fresh image reinstalled everything and no longer save my image with Athens Tutorial open so there is no segfault.But the error remains.

Re: [Pharo-project] Understanding Athens

2013-04-18 Thread Henrik Johansen
On Apr 18, 2013, at 11:24 AM, kilon wrote: Ok resumed learning of Athens, did look through and experimented with the steps of the tutorial , I think I understand the basics now. Started from a fresh image reinstalled everything and no longer save my image with Athens Tutorial open so

Re: [Pharo-project] Understanding Athens

2013-04-18 Thread Igor Stasenko
On 18 April 2013 11:52, Henrik Johansen henrik.s.johan...@veloxit.no wrote: On Apr 18, 2013, at 11:24 AM, kilon wrote: Ok resumed learning of Athens, did look through and experimented with the steps of the tutorial , I think I understand the basics now. Started from a fresh image

Re: [Pharo-project] Understanding Athens

2013-04-18 Thread Marcus Denker
On Apr 18, 2013, at 12:17 PM, Igor Stasenko siguc...@gmail.com wrote: On 18 April 2013 11:52, Henrik Johansen henrik.s.johan...@veloxit.no wrote: On Apr 18, 2013, at 11:24 AM, kilon wrote: Ok resumed learning of Athens, did look through and experimented with the steps of the tutorial ,

Re: [Pharo-project] Understanding Athens

2013-04-18 Thread Igor Stasenko
On 18 April 2013 12:45, Marcus Denker marcus.den...@inria.fr wrote: On Apr 18, 2013, at 12:17 PM, Igor Stasenko siguc...@gmail.com wrote: On 18 April 2013 11:52, Henrik Johansen henrik.s.johan...@veloxit.no wrote: On Apr 18, 2013, at 11:24 AM, kilon wrote: Ok resumed learning of Athens,

Re: [Pharo-project] Understanding Athens

2013-04-18 Thread Sean P. DeNigris
Ben Coman wrote An idea for more general recovery options Using the Pharo command-line processing, have some recovery commands that execute and quit before any UI processing is started. For example... * list/close open windows * list/close running processes * list/revert recent method

[Pharo-project] Understanding Athens

2013-04-16 Thread dimitris chloupis
I was doing the AthensTutorial and there is something I dont understand so I created a stackoverflow question. Can be found here - http://stackoverflow.com/questions/16034694/in-athenstutorial-where-canvas-comes-from AthensTutorial does not work on Ubuntu 12.10 amd64 since it requires

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Tudor Girba
Did you try installing the latest pharo vm? Doru On Tue, Apr 16, 2013 at 12:30 PM, dimitris chloupis theki...@yahoo.co.ukwrote: I was doing the AthensTutorial and there is something I dont understand so I created a stackoverflow question. Can be found here -

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Pavel Krivanek
To my 64bit Fedora I had to install 32bit Cairo and related libraries too (but then Athens worked). Cheers, -- Pavel On Tue, Apr 16, 2013 at 12:30 PM, dimitris chloupis theki...@yahoo.co.ukwrote: I was doing the AthensTutorial and there is something I dont understand so I created a

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread kilon
Doru , I am using Pharo 2.0 from the main website , also it does not matter because cairo libraries are looked outside the pharo folder. If you open system browser and go to the CairoLibraryLoadergetLibraryPath (class side) you will see it tries to find cairo libs in '/usr/lib/libcairo.so' . On

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Igor Stasenko
On 16 April 2013 13:23, kilon theki...@yahoo.co.uk wrote: Doru , I am using Pharo 2.0 from the main website , also it does not matter because cairo libraries are looked outside the pharo folder. If you open system browser and go to the CairoLibraryLoadergetLibraryPath (class side) you will

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Igor Stasenko
P.S. i also asked Damien to look for the ways how we can tell system that installation depends on cairo-32 bit package (for ppa distro). On 16 April 2013 13:35, Igor Stasenko siguc...@gmail.com wrote: On 16 April 2013 13:23, kilon theki...@yahoo.co.uk wrote: Doru , I am using Pharo 2.0 from the

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Norbert Hartl
If you go for ppa you have two options. Compile everything when building the package or just packaging binaries. So have to set either Build-Depends: libcairo2-dev or/and Depends: libcairo2 in the debian/control file. The architecture you build your stuff for is i386. With the modern

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Pavel Krivanek
On Tue, Apr 16, 2013 at 1:23 PM, kilon theki...@yahoo.co.uk wrote: Doru , I am using Pharo 2.0 from the main website , also it does not matter because cairo libraries are looked outside the pharo folder. If you open system browser and go to the CairoLibraryLoadergetLibraryPath (class side)

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread kilon
Thank you Igor for the clarification. Suffice to say I was never a fan of relying to third parties for dependancies because it ends up in scenarios like this one. Similar reason why I am not a big fan of installing libraries to common paths, though I also understand the need for it. My vote goes

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Damien Cassou
On Tue, Apr 16, 2013 at 2:20 PM, kilon theki...@yahoo.co.uk wrote: Should I assume it works for Fedora but its not available for Ubuntu ? yum is not meant to be used on Ubuntu system. For Ubuntu, just do: $ sudo apt-get install libcairo2:i386 -- Damien Cassou

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread kilon
with the help of Damien via irc I have solved the problem with AthenTutorial, the lib is installed in /usr/lib/i386-linux-gnu/libcairo.so.2 I changed the getLibraryPath to point to the right directory and the tutorial now works fine, Damien also answered my canvas question a huge thank you to

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Igor Stasenko
I am adding this method for CairoLibraryLoader class in Athens: cantFindCairoOnLinux Cog VM is a 32-bit process, and therefore won't link with 64-bit libraries on 64-bit OS. In case if you have problems with cairo library on linux system, try following:

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Igor Stasenko
On 16 April 2013 14:44, kilon theki...@yahoo.co.uk wrote: with the help of Damien via irc I have solved the problem with AthenTutorial, the lib is installed in /usr/lib/i386-linux-gnu/libcairo.so.2 I changed the getLibraryPath to point to the right directory and the tutorial now works fine,

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread kilon
As I said the library is located at '/usr/lib/i386-linux-gnu/libcairo.so.2' I changed it in getLibraryPath in CairoLibraryLoader and it seems to work fine now at least AthensTutorial works fine. -- View this message in context:

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread kilon
Ok new problem for the AthenTutorial Everything seems to work fine till Step 29 in step 30 it throws a messageNotUnderstood for LogicalFontglyphRenderOn glyphRendererOn: anAthensBalloonSurface ^ self realFont glyphRendererOn: anAthensBalloonSurface full stack can be found here -

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Igor Stasenko
On 16 April 2013 15:16, kilon theki...@yahoo.co.uk wrote: Ok new problem for the AthenTutorial Everything seems to work fine till Step 29 in step 30 it throws a messageNotUnderstood for LogicalFontglyphRenderOn glyphRendererOn: anAthensBalloonSurface ^ self realFont

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread kilon
Oh Oh not only enabling Freetype does not solve the problem but even saving and quiting and restarting the image the problem remains. So I disabled and renabled Freetype again and save and quit and opened pharo again and this time pharo closes, everytime i try to reopen pharo it closes

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread kilon
here is the segmentation fault for anyone who cares reading long reports http://pastebin.com/UG6HgHDD http://pastebin.com/UG6HgHDD -- View this message in context: http://forum.world.st/Understanding-Athens-tp4681820p4681906.html Sent from the Pharo Smalltalk mailing list archive at

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Igor Stasenko
On 16 April 2013 15:36, kilon theki...@yahoo.co.uk wrote: Oh Oh not only enabling Freetype does not solve the problem but even saving and quiting and restarting the image the problem remains. So I disabled and renabled Freetype again and save and quit and opened pharo again and this time

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Igor Stasenko
On 16 April 2013 15:39, kilon theki...@yahoo.co.uk wrote: here is the segmentation fault for anyone who cares reading long reports http://pastebin.com/UG6HgHDD http://pastebin.com/UG6HgHDD yeah, this is because you restarted an image.. the handle to cairo surface from previous session is no

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread kilon
Thats awesome but I cant open my pharo image anymore , I dont mind starting from a new image and reinstalling everything but I was wondering if there is a way to recover all that or am I screwed ? :) -- View this message in context:

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Tristan Bourgois
2013/4/16 kilon theki...@yahoo.co.uk Thats awesome but I cant open my pharo image anymore , I dont mind starting from a new image and reinstalling everything but I was wondering if there is a way to recover all that or am I screwed ? :) I already have this problem I open it with CogVM

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Esteban Lorenzano
start it with a stackvm, then close the offending window and save, then restart with a regular vm :) Esteban On Apr 16, 2013, at 3:47 PM, kilon theki...@yahoo.co.uk wrote: Thats awesome but I cant open my pharo image anymore , I dont mind starting from a new image and reinstalling everything

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Igor Stasenko
On 16 April 2013 15:47, kilon theki...@yahoo.co.uk wrote: Thats awesome but I cant open my pharo image anymore , I dont mind starting from a new image and reinstalling everything but I was wondering if there is a way to recover all that or am I screwed ? :) You have a talent at screwing

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Igor Stasenko
On 16 April 2013 15:52, Tristan Bourgois tristan.bourg...@gmail.com wrote: 2013/4/16 kilon theki...@yahoo.co.uk Thats awesome but I cant open my pharo image anymore , I dont mind starting from a new image and reinstalling everything but I was wondering if there is a way to recover all

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Goubier Thierry
Le 16/04/2013 16:12, Igor Stasenko a écrit : On 16 April 2013 15:47, kilon theki...@yahoo.co.uk wrote: Thats awesome but I cant open my pharo image anymore , I dont mind starting from a new image and reinstalling everything but I was wondering if there is a way to recover all that or am I

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Igor Stasenko
On 16 April 2013 16:27, Goubier Thierry thierry.goub...@cea.fr wrote: Le 16/04/2013 16:12, Igor Stasenko a écrit : On 16 April 2013 15:47, kilon theki...@yahoo.co.uk wrote: Thats awesome but I cant open my pharo image anymore , I dont mind starting from a new image and reinstalling

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Goubier Thierry
Le 16/04/2013 16:29, Igor Stasenko a écrit : On 16 April 2013 16:27, Goubier Thierry thierry.goub...@cea.fr wrote: Le 16/04/2013 16:12, Igor Stasenko a écrit : On 16 April 2013 15:47, kilon theki...@yahoo.co.uk wrote: Thats awesome but I cant open my pharo image anymore , I dont mind

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Igor Stasenko
On 16 April 2013 16:39, Goubier Thierry thierry.goub...@cea.fr wrote: Le 16/04/2013 16:29, Igor Stasenko a écrit : On 16 April 2013 16:27, Goubier Thierry thierry.goub...@cea.fr wrote: Le 16/04/2013 16:12, Igor Stasenko a écrit : On 16 April 2013 15:47, kilon theki...@yahoo.co.uk wrote:

Re: [Pharo-project] Understanding Athens

2013-04-16 Thread Ben Coman
Igor Stasenko wrote: On 16 April 2013 16:27, Goubier Thierry thierry.goub...@cea.fr wrote: Le 16/04/2013 16:12, Igor Stasenko a écrit : On 16 April 2013 15:47, kilon theki...@yahoo.co.uk wrote: Thats awesome but I cant open my pharo image anymore , I dont mind starting from a