SmalltalkWorld chartFrameworks.

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

Re: SmalltalkWorld chartFrameworks.

Tudor Girba-2
Hi,

On May 20, 2013, at 6:05 PM, Alain Busser <[hidden email]> wrote:

> I dropped the image on Pharo and I still have this illegal subtraction message.
>
> I don't build anything, I just downloaded Pharo 2.0 "one click" and added MathsOntologie, DrGeo and PetitParser. Plus the (almost) daily updates.

How are you downloading PetitParser? If you do not explicitly say what you do, it is hard to say what is wrong :)

I gave you detailed instructions for how to load PetitParser. Please follow them and let me know if you still have the problem:

- open a workspace in a Pharo 2.0 image
- execute (select and invoke do it):
Gofer new
         smalltalkhubUser: 'Moose' project: 'PetitParser';
         package: 'ConfigurationOfPetitParser';
         load.
(Smalltalk at: #ConfigurationOfPetitParser)
         loadDevelopment

Cheers,
Doru


> The debugger says that GLMSystemWindow's "addMorph: fullFrame" method has a subtraction where WindowBorderWidth (which equals 4) is subtracted to bottom; and bottom is nil, so it don't understand the "-" message (I doubt a nil object understands anything).
>
> So I guess the question is "why is bottom nil?" I see that at the beginning there is bottom := frame bottomOffset. Whereas frame is a LayoutFrame ( (0@0) + (4@4)px corner: (1@1) + (-4@nil)px ) so I imagine the nil comes from this point, no?
>
>
> On Sun, May 19, 2013 at 4:01 PM, Tudor Girba <[hidden email]> wrote:
> Hi Alain,
>
> As I said, something does not add up.
>
> What do you do exactly when you are building your image?
>
> Also, could you try following the instructions from the previous mail and let me know if it still fails?
>
> Cheers,
> Doru
>
>
> On May 19, 2013, at 1:24 PM, Alain Busser <[hidden email]> wrote:
>
> > in the "world" menu, "tools" then "petitparser";
> >
> > the browser method is "openWith: aRender" which fails to render anything in GLMMorphicRenderer...
> >
> >
> > On Sun, May 19, 2013 at 12:02 AM, Tudor Girba <[hidden email]> wrote:
> > Hi,
> >
> > Something does not add up :). What menu are you talking about?
> >
> > Here is an image based on Pharo 2.0 that only contains PetitParser:
> > https://ci.inria.fr/moose/job/petitparser/lastSuccessfulBuild/artifact/petitparser.zip
> >
> > If I run "PPBrowser open", it seems to work just fine.
> >
> > Here is how the image was created:
> > wget --quiet -O - http://get.pharo.org/20+vmLatest | bash
> > ./pharo Pharo.image save $JOB_NAME
> > REPO=http://www.smalltalkhub.com/mc/Moose/PetitParser/main
> > ./pharo $JOB_NAME.image config $REPO ConfigurationOfPetitParser --install=development
> > ./pharo $JOB_NAME.image test --junit-xml-output "Petit.*"
> > mv ./pharo-vm/PharoV20.sources ./
> > zip -r $JOB_NAME.zip $JOB_NAME.image $JOB_NAME.changes PharoV20.sources
> >
> > Cheers,
> > Doru
> >
> >
> >
> > On May 18, 2013, at 7:56 PM, Alain Busser <[hidden email]> wrote:
> >
> > > Done, and when I clicked on the menu entry ... and ... guess what ...  Pharo crashed again ...
> > >
> > > The last error message was about a labelGraphic ( aMultistateButton); in case it helps...
> > >
> > >
> > >
> > >
> > > On Sat, May 18, 2013 at 9:43 AM, Tudor Girba <[hidden email]> wrote:
> > > Hi,
> > >
> > > Please load the latest version of PetitParser in Pharo 2.0 from SmalltalkHub:
> > >
> > > Gofer new
> > >         smalltalkhubUser: 'Moose' project: 'PetitParser';
> > >         package: 'ConfigurationOfPetitParser';
> > >         load.
> > > (Smalltalk at: #ConfigurationOfPetitParser)
> > >         loadDevelopment
> > >
> > > Cheers,
> > > Doru
> > >
> > >
> > > On May 17, 2013, at 7:23 PM, Alain Busser <[hidden email]> wrote:
> > >
> > > >
> > > > OK, I used Monticello with the Moose address, and downloaded petitsmalltalk and PetitParser, as well as configuration files. I made
> > > >
> > > > (Smalltalk at: #ConfigurationOfPetitParser)
> > > >     perform: #loadDefault.
> > > >
> > > >
> > > > once again, and clicked on the petit entry in the tools menu ... and Pharo crashed!
> > > >
> > > >
> > > > On Fri, May 17, 2013 at 9:11 PM, Alain Busser <[hidden email]> wrote:
> > > > I made
> > > >
> > > > Gofer new
> > > >     renggli: 'petit';
> > > >     package: 'ConfigurationOfPetitParser';
> > > >     load.
> > > > (Smalltalk at: #ConfigurationOfPetitParser)
> > > >     perform: #loadDefault.
> > > >
> > > >
> > > > The tool is actually loaded but when I try to launch it from the system menu I get a
> > > >
> > > > receiver of "-" is nil
> > > >
> > > > Same message if in the workspace I type PPBrowser new open, but not if I try PPBrowser new inspect (there, I have an inspector open on the PPBrowser)
> > > >
> > > > I'll switch to smalltalkhub now
> > > >
> > > > Alain
> > > >
> > > >
> > > > On Fri, May 17, 2013 at 10:44 AM, stephane ducasse <[hidden email]> wrote:
> > > > ****ALL*** the moose people are using PetitParser and it loads in 20.
> > > > so where you took the code from?
> > > >
> > > > The official repositories are on SmalltalkHub/Moose
> > > >
> > > > Stef
> > > >
> > > > On May 16, 2013, at 8:27 PM, Alain Busser <[hidden email]> wrote:
> > > >
> > > >> Hi,
> > > >>
> > > >> I have a similar problem with PetitParser (loads well under Pharo 1.4, not as well under Pharo 2.0)
> > > >>
> > > >> Alain
> > > >>
> > > >>
> > > >> On Thu, May 16, 2013 at 8:56 PM, Camille Teruel <[hidden email]> wrote:
> > > >>
> > > >> On 16 mai 2013, at 17:59, stephane ducasse wrote:
> > > >>
> > > >>> yes normally the moose people.
> > > >>> This is strange because eyesee is in Moose and we load it daily in 2.0.
> > > >>
> > > >> Maybe the smalltalk hub repo is more up to date?
> > > >>
> > > >>>
> > > >>> Stef
> > > >>>
> > > >>>> Thanks for your answer Camille!
> > > >>>>
> > > >>>> I tried it.
> > > >>>> It loads well on 1.4 but in 2.0 shows warining about a non satisfied blockclosure class.
> > > >>>>
> > > >>>> Then when I run the test there is a faliure with the anouncements, which also accured when I tried the examples.
> > > >>>>
> > > >>>> Is someone maintaining this?
> > > >>>>
> > > >>>> Thanks again,
> > > >>>> Juan
> > > >>>>
> > > >>>>
> > > >>>> On Thu, May 16, 2013 at 11:27 AM, Camille Teruel <[hidden email]> wrote:
> > > >>>> Hi Juan,
> > > >>>>
> > > >>>> You can have a look to eyeSee:
> > > >>>>
> > > >>>> Gofer it
> > > >>>>     squeaksource: 'EyeSee';
> > > >>>>     package: 'ConfigurationOfEyeSee';
> > > >>>>     load.
> > > >>>> (Smalltalk at: #ConfigurationOfEyeSee) loadDefault
> > > >>>>
> > > >>>>
> > > >>>> On 16 mai 2013, at 16:03, Juan Ignacio Vaccarezza wrote:
> > > >>>>
> > > >>>>> Hi all,
> > > >>>>>
> > > >>>>>       Does anybody know a chart framework? Im looking fo something like jfreechart (java chart framework).
> > > >>>>>       I need bar graph, pie chart, and line chart.
> > > >>>>>
> > > >>>>> Thanks,
> > > >>>>> Juan
> > > >>>>
> > > >>>>
> > > >>>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > >
> > > --
> > > www.tudorgirba.com
> > >
> > > "Innovation comes in the least expected form.
> > > That is, if it is expected, it already happened."
> > >
> > >
> > >
> >
> > --
> > www.tudorgirba.com
> >
> > "To lead is not to demand things, it is to make them happen."
> >
> >
> >
> >
> >
>
> --
> www.tudorgirba.com
>
> "If you can't say why something is relevant,
> it probably isn't."
>
>
>

--
www.tudorgirba.com

"Problem solving efficiency grows with the abstractness level of problem understanding."




Reply | Threaded
Open this post in threaded view
|

Re: SmalltalkWorld chartFrameworks.

Alain Busser
Yes, I done it as you wrote with Gofer, then I used Monticello to download petit (file by file), then I done the Gofer trick again, and I still have the same problem: A nil as "bottom" which blocks a subtraction...

If I am the only one to encounter the problem, it probably comes from somewhere else but where?


On Mon, May 20, 2013 at 10:37 PM, Tudor Girba <[hidden email]> wrote:
Hi,

On May 20, 2013, at 6:05 PM, Alain Busser <[hidden email]> wrote:

> I dropped the image on Pharo and I still have this illegal subtraction message.
>
> I don't build anything, I just downloaded Pharo 2.0 "one click" and added MathsOntologie, DrGeo and PetitParser. Plus the (almost) daily updates.

How are you downloading PetitParser? If you do not explicitly say what you do, it is hard to say what is wrong :)

I gave you detailed instructions for how to load PetitParser. Please follow them and let me know if you still have the problem:

- open a workspace in a Pharo 2.0 image
- execute (select and invoke do it):
Gofer new
         smalltalkhubUser: 'Moose' project: 'PetitParser';
         package: 'ConfigurationOfPetitParser';
         load.
(Smalltalk at: #ConfigurationOfPetitParser)
         loadDevelopment

Cheers,
Doru


> The debugger says that GLMSystemWindow's "addMorph: fullFrame" method has a subtraction where WindowBorderWidth (which equals 4) is subtracted to bottom; and bottom is nil, so it don't understand the "-" message (I doubt a nil object understands anything).
>
> So I guess the question is "why is bottom nil?" I see that at the beginning there is bottom := frame bottomOffset. Whereas frame is a LayoutFrame ( (0@0) + (4@4)px corner: (1@1) + (-4@nil)px ) so I imagine the nil comes from this point, no?
>
>
> On Sun, May 19, 2013 at 4:01 PM, Tudor Girba <[hidden email]> wrote:
> Hi Alain,
>
> As I said, something does not add up.
>
> What do you do exactly when you are building your image?
>
> Also, could you try following the instructions from the previous mail and let me know if it still fails?
>
> Cheers,
> Doru
>
>
> On May 19, 2013, at 1:24 PM, Alain Busser <[hidden email]> wrote:
>
> > in the "world" menu, "tools" then "petitparser";
> >
> > the browser method is "openWith: aRender" which fails to render anything in GLMMorphicRenderer...
> >
> >
> > On Sun, May 19, 2013 at 12:02 AM, Tudor Girba <[hidden email]> wrote:
> > Hi,
> >
> > Something does not add up :). What menu are you talking about?
> >
> > Here is an image based on Pharo 2.0 that only contains PetitParser:
> > https://ci.inria.fr/moose/job/petitparser/lastSuccessfulBuild/artifact/petitparser.zip
> >
> > If I run "PPBrowser open", it seems to work just fine.
> >
> > Here is how the image was created:
> > wget --quiet -O - http://get.pharo.org/20+vmLatest | bash
> > ./pharo Pharo.image save $JOB_NAME
> > REPO=http://www.smalltalkhub.com/mc/Moose/PetitParser/main
> > ./pharo $JOB_NAME.image config $REPO ConfigurationOfPetitParser --install=development
> > ./pharo $JOB_NAME.image test --junit-xml-output "Petit.*"
> > mv ./pharo-vm/PharoV20.sources ./
> > zip -r $JOB_NAME.zip $JOB_NAME.image $JOB_NAME.changes PharoV20.sources
> >
> > Cheers,
> > Doru
> >
> >
> >
> > On May 18, 2013, at 7:56 PM, Alain Busser <[hidden email]> wrote:
> >
> > > Done, and when I clicked on the menu entry ... and ... guess what ...  Pharo crashed again ...
> > >
> > > The last error message was about a labelGraphic ( aMultistateButton); in case it helps...
> > >
> > >
> > >
> > >
> > > On Sat, May 18, 2013 at 9:43 AM, Tudor Girba <[hidden email]> wrote:
> > > Hi,
> > >
> > > Please load the latest version of PetitParser in Pharo 2.0 from SmalltalkHub:
> > >
> > > Gofer new
> > >         smalltalkhubUser: 'Moose' project: 'PetitParser';
> > >         package: 'ConfigurationOfPetitParser';
> > >         load.
> > > (Smalltalk at: #ConfigurationOfPetitParser)
> > >         loadDevelopment
> > >
> > > Cheers,
> > > Doru
> > >
> > >
> > > On May 17, 2013, at 7:23 PM, Alain Busser <[hidden email]> wrote:
> > >
> > > >
> > > > OK, I used Monticello with the Moose address, and downloaded petitsmalltalk and PetitParser, as well as configuration files. I made
> > > >
> > > > (Smalltalk at: #ConfigurationOfPetitParser)
> > > >     perform: #loadDefault.
> > > >
> > > >
> > > > once again, and clicked on the petit entry in the tools menu ... and Pharo crashed!
> > > >
> > > >
> > > > On Fri, May 17, 2013 at 9:11 PM, Alain Busser <[hidden email]> wrote:
> > > > I made
> > > >
> > > > Gofer new
> > > >     renggli: 'petit';
> > > >     package: 'ConfigurationOfPetitParser';
> > > >     load.
> > > > (Smalltalk at: #ConfigurationOfPetitParser)
> > > >     perform: #loadDefault.
> > > >
> > > >
> > > > The tool is actually loaded but when I try to launch it from the system menu I get a
> > > >
> > > > receiver of "-" is nil
> > > >
> > > > Same message if in the workspace I type PPBrowser new open, but not if I try PPBrowser new inspect (there, I have an inspector open on the PPBrowser)
> > > >
> > > > I'll switch to smalltalkhub now
> > > >
> > > > Alain
> > > >
> > > >
> > > > On Fri, May 17, 2013 at 10:44 AM, stephane ducasse <[hidden email]> wrote:
> > > > ****ALL*** the moose people are using PetitParser and it loads in 20.
> > > > so where you took the code from?
> > > >
> > > > The official repositories are on SmalltalkHub/Moose
> > > >
> > > > Stef
> > > >
> > > > On May 16, 2013, at 8:27 PM, Alain Busser <[hidden email]> wrote:
> > > >
> > > >> Hi,
> > > >>
> > > >> I have a similar problem with PetitParser (loads well under Pharo 1.4, not as well under Pharo 2.0)
> > > >>
> > > >> Alain
> > > >>
> > > >>
> > > >> On Thu, May 16, 2013 at 8:56 PM, Camille Teruel <[hidden email]> wrote:
> > > >>
> > > >> On 16 mai 2013, at 17:59, stephane ducasse wrote:
> > > >>
> > > >>> yes normally the moose people.
> > > >>> This is strange because eyesee is in Moose and we load it daily in 2.0.
> > > >>
> > > >> Maybe the smalltalk hub repo is more up to date?
> > > >>
> > > >>>
> > > >>> Stef
> > > >>>
> > > >>>> Thanks for your answer Camille!
> > > >>>>
> > > >>>> I tried it.
> > > >>>> It loads well on 1.4 but in 2.0 shows warining about a non satisfied blockclosure class.
> > > >>>>
> > > >>>> Then when I run the test there is a faliure with the anouncements, which also accured when I tried the examples.
> > > >>>>
> > > >>>> Is someone maintaining this?
> > > >>>>
> > > >>>> Thanks again,
> > > >>>> Juan
> > > >>>>
> > > >>>>
> > > >>>> On Thu, May 16, 2013 at 11:27 AM, Camille Teruel <[hidden email]> wrote:
> > > >>>> Hi Juan,
> > > >>>>
> > > >>>> You can have a look to eyeSee:
> > > >>>>
> > > >>>> Gofer it
> > > >>>>     squeaksource: 'EyeSee';
> > > >>>>     package: 'ConfigurationOfEyeSee';
> > > >>>>     load.
> > > >>>> (Smalltalk at: #ConfigurationOfEyeSee) loadDefault
> > > >>>>
> > > >>>>
> > > >>>> On 16 mai 2013, at 16:03, Juan Ignacio Vaccarezza wrote:
> > > >>>>
> > > >>>>> Hi all,
> > > >>>>>
> > > >>>>>       Does anybody know a chart framework? Im looking fo something like jfreechart (java chart framework).
> > > >>>>>       I need bar graph, pie chart, and line chart.
> > > >>>>>
> > > >>>>> Thanks,
> > > >>>>> Juan
> > > >>>>
> > > >>>>
> > > >>>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > >
> > > --
> > > www.tudorgirba.com
> > >
> > > "Innovation comes in the least expected form.
> > > That is, if it is expected, it already happened."
> > >
> > >
> > >
> >
> > --
> > www.tudorgirba.com
> >
> > "To lead is not to demand things, it is to make them happen."
> >
> >
> >
> >
> >
>
> --
> www.tudorgirba.com
>
> "If you can't say why something is relevant,
> it probably isn't."
>
>
>

--
www.tudorgirba.com

"Problem solving efficiency grows with the abstractness level of problem understanding."





Reply | Threaded
Open this post in threaded view
|

Re: SmalltalkWorld chartFrameworks.

stephane ducasse

On May 21, 2013, at 9:45 AM, Alain Busser <[hidden email]> wrote:

Yes, I done it as you wrote with Gofer, then I used Monticello to download petit (file by file)

why do you have to donwload file by file?

Gofer does it for you.

execute only these two expressions: 
Gofer new
         smalltalkhubUser: 'Moose' project: 'PetitParser';
         package: 'ConfigurationOfPetitParser';
         load.
(Smalltalk at: #ConfigurationOfPetitParser)
         loadDevelopment

Stef


, then I done the Gofer trick again, and I still have the same problem: A nil as "bottom" which blocks a subtraction...

If I am the only one to encounter the problem, it probably comes from somewhere else but where?


On Mon, May 20, 2013 at 10:37 PM, Tudor Girba <[hidden email]> wrote:
Hi,

On May 20, 2013, at 6:05 PM, Alain Busser <[hidden email]> wrote:

> I dropped the image on Pharo and I still have this illegal subtraction message.
>
> I don't build anything, I just downloaded Pharo 2.0 "one click" and added MathsOntologie, DrGeo and PetitParser. Plus the (almost) daily updates.

How are you downloading PetitParser? If you do not explicitly say what you do, it is hard to say what is wrong :)

I gave you detailed instructions for how to load PetitParser. Please follow them and let me know if you still have the problem:

- open a workspace in a Pharo 2.0 image
- execute (select and invoke do it):
Gofer new
         smalltalkhubUser: 'Moose' project: 'PetitParser';
         package: 'ConfigurationOfPetitParser';
         load.
(Smalltalk at: #ConfigurationOfPetitParser)
         loadDevelopment

Cheers,
Doru


> The debugger says that GLMSystemWindow's "addMorph: fullFrame" method has a subtraction where WindowBorderWidth (which equals 4) is subtracted to bottom; and bottom is nil, so it don't understand the "-" message (I doubt a nil object understands anything).
>
> So I guess the question is "why is bottom nil?" I see that at the beginning there is bottom := frame bottomOffset. Whereas frame is a LayoutFrame ( (0@0) + (4@4)px corner: (1@1) + (-4@nil)px ) so I imagine the nil comes from this point, no?
>
>
> On Sun, May 19, 2013 at 4:01 PM, Tudor Girba <[hidden email]> wrote:
> Hi Alain,
>
> As I said, something does not add up.
>
> What do you do exactly when you are building your image?
>
> Also, could you try following the instructions from the previous mail and let me know if it still fails?
>
> Cheers,
> Doru
>
>
> On May 19, 2013, at 1:24 PM, Alain Busser <[hidden email]> wrote:
>
> > in the "world" menu, "tools" then "petitparser";
> >
> > the browser method is "openWith: aRender" which fails to render anything in GLMMorphicRenderer...
> >
> >
> > On Sun, May 19, 2013 at 12:02 AM, Tudor Girba <[hidden email]> wrote:
> > Hi,
> >
> > Something does not add up :). What menu are you talking about?
> >
> > Here is an image based on Pharo 2.0 that only contains PetitParser:
> > https://ci.inria.fr/moose/job/petitparser/lastSuccessfulBuild/artifact/petitparser.zip
> >
> > If I run "PPBrowser open", it seems to work just fine.
> >
> > Here is how the image was created:
> > wget --quiet -O - http://get.pharo.org/20+vmLatest | bash
> > ./pharo Pharo.image save $JOB_NAME
> > REPO=http://www.smalltalkhub.com/mc/Moose/PetitParser/main
> > ./pharo $JOB_NAME.image config $REPO ConfigurationOfPetitParser --install=development
> > ./pharo $JOB_NAME.image test --junit-xml-output "Petit.*"
> > mv ./pharo-vm/PharoV20.sources ./
> > zip -r $JOB_NAME.zip $JOB_NAME.image $JOB_NAME.changes PharoV20.sources
> >
> > Cheers,
> > Doru
> >
> >
> >
> > On May 18, 2013, at 7:56 PM, Alain Busser <[hidden email]> wrote:
> >
> > > Done, and when I clicked on the menu entry ... and ... guess what ...  Pharo crashed again ...
> > >
> > > The last error message was about a labelGraphic ( aMultistateButton); in case it helps...
> > >
> > >
> > >
> > >
> > > On Sat, May 18, 2013 at 9:43 AM, Tudor Girba <[hidden email]> wrote:
> > > Hi,
> > >
> > > Please load the latest version of PetitParser in Pharo 2.0 from SmalltalkHub:
> > >
> > > Gofer new
> > >         smalltalkhubUser: 'Moose' project: 'PetitParser';
> > >         package: 'ConfigurationOfPetitParser';
> > >         load.
> > > (Smalltalk at: #ConfigurationOfPetitParser)
> > >         loadDevelopment
> > >
> > > Cheers,
> > > Doru
> > >
> > >
> > > On May 17, 2013, at 7:23 PM, Alain Busser <[hidden email]> wrote:
> > >
> > > >
> > > > OK, I used Monticello with the Moose address, and downloaded petitsmalltalk and PetitParser, as well as configuration files. I made
> > > >
> > > > (Smalltalk at: #ConfigurationOfPetitParser)
> > > >     perform: #loadDefault.
> > > >
> > > >
> > > > once again, and clicked on the petit entry in the tools menu ... and Pharo crashed!
> > > >
> > > >
> > > > On Fri, May 17, 2013 at 9:11 PM, Alain Busser <[hidden email]> wrote:
> > > > I made
> > > >
> > > > Gofer new
> > > >     renggli: 'petit';
> > > >     package: 'ConfigurationOfPetitParser';
> > > >     load.
> > > > (Smalltalk at: #ConfigurationOfPetitParser)
> > > >     perform: #loadDefault.
> > > >
> > > >
> > > > The tool is actually loaded but when I try to launch it from the system menu I get a
> > > >
> > > > receiver of "-" is nil
> > > >
> > > > Same message if in the workspace I type PPBrowser new open, but not if I try PPBrowser new inspect (there, I have an inspector open on the PPBrowser)
> > > >
> > > > I'll switch to smalltalkhub now
> > > >
> > > > Alain
> > > >
> > > >
> > > > On Fri, May 17, 2013 at 10:44 AM, stephane ducasse <[hidden email]> wrote:
> > > > ****ALL*** the moose people are using PetitParser and it loads in 20.
> > > > so where you took the code from?
> > > >
> > > > The official repositories are on SmalltalkHub/Moose
> > > >
> > > > Stef
> > > >
> > > > On May 16, 2013, at 8:27 PM, Alain Busser <[hidden email]> wrote:
> > > >
> > > >> Hi,
> > > >>
> > > >> I have a similar problem with PetitParser (loads well under Pharo 1.4, not as well under Pharo 2.0)
> > > >>
> > > >> Alain
> > > >>
> > > >>
> > > >> On Thu, May 16, 2013 at 8:56 PM, Camille Teruel <[hidden email]> wrote:
> > > >>
> > > >> On 16 mai 2013, at 17:59, stephane ducasse wrote:
> > > >>
> > > >>> yes normally the moose people.
> > > >>> This is strange because eyesee is in Moose and we load it daily in 2.0.
> > > >>
> > > >> Maybe the smalltalk hub repo is more up to date?
> > > >>
> > > >>>
> > > >>> Stef
> > > >>>
> > > >>>> Thanks for your answer Camille!
> > > >>>>
> > > >>>> I tried it.
> > > >>>> It loads well on 1.4 but in 2.0 shows warining about a non satisfied blockclosure class.
> > > >>>>
> > > >>>> Then when I run the test there is a faliure with the anouncements, which also accured when I tried the examples.
> > > >>>>
> > > >>>> Is someone maintaining this?
> > > >>>>
> > > >>>> Thanks again,
> > > >>>> Juan
> > > >>>>
> > > >>>>
> > > >>>> On Thu, May 16, 2013 at 11:27 AM, Camille Teruel <[hidden email]> wrote:
> > > >>>> Hi Juan,
> > > >>>>
> > > >>>> You can have a look to eyeSee:
> > > >>>>
> > > >>>> Gofer it
> > > >>>>     squeaksource: 'EyeSee';
> > > >>>>     package: 'ConfigurationOfEyeSee';
> > > >>>>     load.
> > > >>>> (Smalltalk at: #ConfigurationOfEyeSee) loadDefault
> > > >>>>
> > > >>>>
> > > >>>> On 16 mai 2013, at 16:03, Juan Ignacio Vaccarezza wrote:
> > > >>>>
> > > >>>>> Hi all,
> > > >>>>>
> > > >>>>>       Does anybody know a chart framework? Im looking fo something like jfreechart (java chart framework).
> > > >>>>>       I need bar graph, pie chart, and line chart.
> > > >>>>>
> > > >>>>> Thanks,
> > > >>>>> Juan
> > > >>>>
> > > >>>>
> > > >>>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > >
> > > --
> > > www.tudorgirba.com
> > >
> > > "Innovation comes in the least expected form.
> > > That is, if it is expected, it already happened."
> > >
> > >
> > >
> >
> > --
> > www.tudorgirba.com
> >
> > "To lead is not to demand things, it is to make them happen."
> >
> >
> >
> >
> >
>
> --
> www.tudorgirba.com
>
> "If you can't say why something is relevant,
> it probably isn't."
>
>
>

--
www.tudorgirba.com

"Problem solving efficiency grows with the abstractness level of problem understanding."






Reply | Threaded
Open this post in threaded view
|

Re: SmalltalkWorld chartFrameworks.

Tudor Girba-2
Exactly.

Take a fresh image. Do not download anything manually. Only execute the script and it should work.

Doru


On Tue, May 21, 2013 at 2:56 PM, stephane ducasse <[hidden email]> wrote:

On May 21, 2013, at 9:45 AM, Alain Busser <[hidden email]> wrote:

Yes, I done it as you wrote with Gofer, then I used Monticello to download petit (file by file)

why do you have to donwload file by file?

Gofer does it for you.

execute only these two expressions: 
Gofer new
         smalltalkhubUser: 'Moose' project: 'PetitParser';
         package: 'ConfigurationOfPetitParser';
         load.
(Smalltalk at: #ConfigurationOfPetitParser)
         loadDevelopment

Stef


, then I done the Gofer trick again, and I still have the same problem: A nil as "bottom" which blocks a subtraction...

If I am the only one to encounter the problem, it probably comes from somewhere else but where?


On Mon, May 20, 2013 at 10:37 PM, Tudor Girba <[hidden email]> wrote:
Hi,

On May 20, 2013, at 6:05 PM, Alain Busser <[hidden email]> wrote:

> I dropped the image on Pharo and I still have this illegal subtraction message.
>
> I don't build anything, I just downloaded Pharo 2.0 "one click" and added MathsOntologie, DrGeo and PetitParser. Plus the (almost) daily updates.

How are you downloading PetitParser? If you do not explicitly say what you do, it is hard to say what is wrong :)

I gave you detailed instructions for how to load PetitParser. Please follow them and let me know if you still have the problem:

- open a workspace in a Pharo 2.0 image
- execute (select and invoke do it):
Gofer new
         smalltalkhubUser: 'Moose' project: 'PetitParser';
         package: 'ConfigurationOfPetitParser';
         load.
(Smalltalk at: #ConfigurationOfPetitParser)
         loadDevelopment

Cheers,
Doru


> The debugger says that GLMSystemWindow's "addMorph: fullFrame" method has a subtraction where WindowBorderWidth (which equals 4) is subtracted to bottom; and bottom is nil, so it don't understand the "-" message (I doubt a nil object understands anything).
>
> So I guess the question is "why is bottom nil?" I see that at the beginning there is bottom := frame bottomOffset. Whereas frame is a LayoutFrame ( (0@0) + (4@4)px corner: (1@1) + (-4@nil)px ) so I imagine the nil comes from this point, no?
>
>
> On Sun, May 19, 2013 at 4:01 PM, Tudor Girba <[hidden email]> wrote:
> Hi Alain,
>
> As I said, something does not add up.
>
> What do you do exactly when you are building your image?
>
> Also, could you try following the instructions from the previous mail and let me know if it still fails?
>
> Cheers,
> Doru
>
>
> On May 19, 2013, at 1:24 PM, Alain Busser <[hidden email]> wrote:
>
> > in the "world" menu, "tools" then "petitparser";
> >
> > the browser method is "openWith: aRender" which fails to render anything in GLMMorphicRenderer...
> >
> >
> > On Sun, May 19, 2013 at 12:02 AM, Tudor Girba <[hidden email]> wrote:
> > Hi,
> >
> > Something does not add up :). What menu are you talking about?
> >
> > Here is an image based on Pharo 2.0 that only contains PetitParser:
> > https://ci.inria.fr/moose/job/petitparser/lastSuccessfulBuild/artifact/petitparser.zip
> >
> > If I run "PPBrowser open", it seems to work just fine.
> >
> > Here is how the image was created:
> > wget --quiet -O - http://get.pharo.org/20+vmLatest | bash
> > ./pharo Pharo.image save $JOB_NAME
> > REPO=http://www.smalltalkhub.com/mc/Moose/PetitParser/main
> > ./pharo $JOB_NAME.image config $REPO ConfigurationOfPetitParser --install=development
> > ./pharo $JOB_NAME.image test --junit-xml-output "Petit.*"
> > mv ./pharo-vm/PharoV20.sources ./
> > zip -r $JOB_NAME.zip $JOB_NAME.image $JOB_NAME.changes PharoV20.sources
> >
> > Cheers,
> > Doru
> >
> >
> >
> > On May 18, 2013, at 7:56 PM, Alain Busser <[hidden email]> wrote:
> >
> > > Done, and when I clicked on the menu entry ... and ... guess what ...  Pharo crashed again ...
> > >
> > > The last error message was about a labelGraphic ( aMultistateButton); in case it helps...
> > >
> > >
> > >
> > >
> > > On Sat, May 18, 2013 at 9:43 AM, Tudor Girba <[hidden email]> wrote:
> > > Hi,
> > >
> > > Please load the latest version of PetitParser in Pharo 2.0 from SmalltalkHub:
> > >
> > > Gofer new
> > >         smalltalkhubUser: 'Moose' project: 'PetitParser';
> > >         package: 'ConfigurationOfPetitParser';
> > >         load.
> > > (Smalltalk at: #ConfigurationOfPetitParser)
> > >         loadDevelopment
> > >
> > > Cheers,
> > > Doru
> > >
> > >
> > > On May 17, 2013, at 7:23 PM, Alain Busser <[hidden email]> wrote:
> > >
> > > >
> > > > OK, I used Monticello with the Moose address, and downloaded petitsmalltalk and PetitParser, as well as configuration files. I made
> > > >
> > > > (Smalltalk at: #ConfigurationOfPetitParser)
> > > >     perform: #loadDefault.
> > > >
> > > >
> > > > once again, and clicked on the petit entry in the tools menu ... and Pharo crashed!
> > > >
> > > >
> > > > On Fri, May 17, 2013 at 9:11 PM, Alain Busser <[hidden email]> wrote:
> > > > I made
> > > >
> > > > Gofer new
> > > >     renggli: 'petit';
> > > >     package: 'ConfigurationOfPetitParser';
> > > >     load.
> > > > (Smalltalk at: #ConfigurationOfPetitParser)
> > > >     perform: #loadDefault.
> > > >
> > > >
> > > > The tool is actually loaded but when I try to launch it from the system menu I get a
> > > >
> > > > receiver of "-" is nil
> > > >
> > > > Same message if in the workspace I type PPBrowser new open, but not if I try PPBrowser new inspect (there, I have an inspector open on the PPBrowser)
> > > >
> > > > I'll switch to smalltalkhub now
> > > >
> > > > Alain
> > > >
> > > >
> > > > On Fri, May 17, 2013 at 10:44 AM, stephane ducasse <[hidden email]> wrote:
> > > > ****ALL*** the moose people are using PetitParser and it loads in 20.
> > > > so where you took the code from?
> > > >
> > > > The official repositories are on SmalltalkHub/Moose
> > > >
> > > > Stef
> > > >
> > > > On May 16, 2013, at 8:27 PM, Alain Busser <[hidden email]> wrote:
> > > >
> > > >> Hi,
> > > >>
> > > >> I have a similar problem with PetitParser (loads well under Pharo 1.4, not as well under Pharo 2.0)
> > > >>
> > > >> Alain
> > > >>
> > > >>
> > > >> On Thu, May 16, 2013 at 8:56 PM, Camille Teruel <[hidden email]> wrote:
> > > >>
> > > >> On 16 mai 2013, at 17:59, stephane ducasse wrote:
> > > >>
> > > >>> yes normally the moose people.
> > > >>> This is strange because eyesee is in Moose and we load it daily in 2.0.
> > > >>
> > > >> Maybe the smalltalk hub repo is more up to date?
> > > >>
> > > >>>
> > > >>> Stef
> > > >>>
> > > >>>> Thanks for your answer Camille!
> > > >>>>
> > > >>>> I tried it.
> > > >>>> It loads well on 1.4 but in 2.0 shows warining about a non satisfied blockclosure class.
> > > >>>>
> > > >>>> Then when I run the test there is a faliure with the anouncements, which also accured when I tried the examples.
> > > >>>>
> > > >>>> Is someone maintaining this?
> > > >>>>
> > > >>>> Thanks again,
> > > >>>> Juan
> > > >>>>
> > > >>>>
> > > >>>> On Thu, May 16, 2013 at 11:27 AM, Camille Teruel <[hidden email]> wrote:
> > > >>>> Hi Juan,
> > > >>>>
> > > >>>> You can have a look to eyeSee:
> > > >>>>
> > > >>>> Gofer it
> > > >>>>     squeaksource: 'EyeSee';
> > > >>>>     package: 'ConfigurationOfEyeSee';
> > > >>>>     load.
> > > >>>> (Smalltalk at: #ConfigurationOfEyeSee) loadDefault
> > > >>>>
> > > >>>>
> > > >>>> On 16 mai 2013, at 16:03, Juan Ignacio Vaccarezza wrote:
> > > >>>>
> > > >>>>> Hi all,
> > > >>>>>
> > > >>>>>       Does anybody know a chart framework? Im looking fo something like jfreechart (java chart framework).
> > > >>>>>       I need bar graph, pie chart, and line chart.
> > > >>>>>
> > > >>>>> Thanks,
> > > >>>>> Juan
> > > >>>>
> > > >>>>
> > > >>>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > >
> > > --
> > > www.tudorgirba.com
> > >
> > > "Innovation comes in the least expected form.
> > > That is, if it is expected, it already happened."
> > >
> > >
> > >
> >
> > --
> > www.tudorgirba.com
> >
> > "To lead is not to demand things, it is to make them happen."
> >
> >
> >
> >
> >
>
> --
> www.tudorgirba.com
>
> "If you can't say why something is relevant,
> it probably isn't."
>
>
>

--
www.tudorgirba.com

"Problem solving efficiency grows with the abstractness level of problem understanding."









--

"Every thing has its own flow"
Reply | Threaded
Open this post in threaded view
|

Re: SmalltalkWorld chartFrameworks.

Alain Busser
In reply to this post by stephane ducasse
I didn't *have to* download file by file, I just wanted to try everything that I could. Doing the Gofer trick still does not allow me to launch a PPBrowser.

If I try with a fresh image, it works OK, that may prove that Petit works well on Pharo 2.0, but on my own image it don't work, so there may well be some competition between Athens and Petit (or MathsOntologie and Petit?)


Next step: I removed, by hand, any package which name begins with "petit", then to crash Pharo I just have to do

Gofer new
         smalltalkhubUser: 'Moose' project: 'PetitParser';
         package: 'ConfigurationOfPetitParser';
         load.

and that's all!

With a fresh image, I will have to load Athens and MathsOntologie again, won't I? Plus the changes that I already made to MathsOntologie...


On Tue, May 21, 2013 at 4:56 PM, stephane ducasse <[hidden email]> wrote:

On May 21, 2013, at 9:45 AM, Alain Busser <[hidden email]> wrote:

Yes, I done it as you wrote with Gofer, then I used Monticello to download petit (file by file)

why do you have to donwload file by file?

Gofer does it for you.

execute only these two expressions: 
Gofer new
         smalltalkhubUser: 'Moose' project: 'PetitParser';
         package: 'ConfigurationOfPetitParser';
         load.
(Smalltalk at: #ConfigurationOfPetitParser)
         loadDevelopment

Stef


, then I done the Gofer trick again, and I still have the same problem: A nil as "bottom" which blocks a subtraction...

If I am the only one to encounter the problem, it probably comes from somewhere else but where?


On Mon, May 20, 2013 at 10:37 PM, Tudor Girba <[hidden email]> wrote:
Hi,

On May 20, 2013, at 6:05 PM, Alain Busser <[hidden email]> wrote:

> I dropped the image on Pharo and I still have this illegal subtraction message.
>
> I don't build anything, I just downloaded Pharo 2.0 "one click" and added MathsOntologie, DrGeo and PetitParser. Plus the (almost) daily updates.

How are you downloading PetitParser? If you do not explicitly say what you do, it is hard to say what is wrong :)

I gave you detailed instructions for how to load PetitParser. Please follow them and let me know if you still have the problem:

- open a workspace in a Pharo 2.0 image
- execute (select and invoke do it):
Gofer new
         smalltalkhubUser: 'Moose' project: 'PetitParser';
         package: 'ConfigurationOfPetitParser';
         load.
(Smalltalk at: #ConfigurationOfPetitParser)
         loadDevelopment

Cheers,
Doru


> The debugger says that GLMSystemWindow's "addMorph: fullFrame" method has a subtraction where WindowBorderWidth (which equals 4) is subtracted to bottom; and bottom is nil, so it don't understand the "-" message (I doubt a nil object understands anything).
>
> So I guess the question is "why is bottom nil?" I see that at the beginning there is bottom := frame bottomOffset. Whereas frame is a LayoutFrame ( (0@0) + (4@4)px corner: (1@1) + (-4@nil)px ) so I imagine the nil comes from this point, no?
>
>
> On Sun, May 19, 2013 at 4:01 PM, Tudor Girba <[hidden email]> wrote:
> Hi Alain,
>
> As I said, something does not add up.
>
> What do you do exactly when you are building your image?
>
> Also, could you try following the instructions from the previous mail and let me know if it still fails?
>
> Cheers,
> Doru
>
>
> On May 19, 2013, at 1:24 PM, Alain Busser <[hidden email]> wrote:
>
> > in the "world" menu, "tools" then "petitparser";
> >
> > the browser method is "openWith: aRender" which fails to render anything in GLMMorphicRenderer...
> >
> >
> > On Sun, May 19, 2013 at 12:02 AM, Tudor Girba <[hidden email]> wrote:
> > Hi,
> >
> > Something does not add up :). What menu are you talking about?
> >
> > Here is an image based on Pharo 2.0 that only contains PetitParser:
> > https://ci.inria.fr/moose/job/petitparser/lastSuccessfulBuild/artifact/petitparser.zip
> >
> > If I run "PPBrowser open", it seems to work just fine.
> >
> > Here is how the image was created:
> > wget --quiet -O - http://get.pharo.org/20+vmLatest | bash
> > ./pharo Pharo.image save $JOB_NAME
> > REPO=http://www.smalltalkhub.com/mc/Moose/PetitParser/main
> > ./pharo $JOB_NAME.image config $REPO ConfigurationOfPetitParser --install=development
> > ./pharo $JOB_NAME.image test --junit-xml-output "Petit.*"
> > mv ./pharo-vm/PharoV20.sources ./
> > zip -r $JOB_NAME.zip $JOB_NAME.image $JOB_NAME.changes PharoV20.sources
> >
> > Cheers,
> > Doru
> >
> >
> >
> > On May 18, 2013, at 7:56 PM, Alain Busser <[hidden email]> wrote:
> >
> > > Done, and when I clicked on the menu entry ... and ... guess what ...  Pharo crashed again ...
> > >
> > > The last error message was about a labelGraphic ( aMultistateButton); in case it helps...
> > >
> > >
> > >
> > >
> > > On Sat, May 18, 2013 at 9:43 AM, Tudor Girba <[hidden email]> wrote:
> > > Hi,
> > >
> > > Please load the latest version of PetitParser in Pharo 2.0 from SmalltalkHub:
> > >
> > > Gofer new
> > >         smalltalkhubUser: 'Moose' project: 'PetitParser';
> > >         package: 'ConfigurationOfPetitParser';
> > >         load.
> > > (Smalltalk at: #ConfigurationOfPetitParser)
> > >         loadDevelopment
> > >
> > > Cheers,
> > > Doru
> > >
> > >
> > > On May 17, 2013, at 7:23 PM, Alain Busser <[hidden email]> wrote:
> > >
> > > >
> > > > OK, I used Monticello with the Moose address, and downloaded petitsmalltalk and PetitParser, as well as configuration files. I made
> > > >
> > > > (Smalltalk at: #ConfigurationOfPetitParser)
> > > >     perform: #loadDefault.
> > > >
> > > >
> > > > once again, and clicked on the petit entry in the tools menu ... and Pharo crashed!
> > > >
> > > >
> > > > On Fri, May 17, 2013 at 9:11 PM, Alain Busser <[hidden email]> wrote:
> > > > I made
> > > >
> > > > Gofer new
> > > >     renggli: 'petit';
> > > >     package: 'ConfigurationOfPetitParser';
> > > >     load.
> > > > (Smalltalk at: #ConfigurationOfPetitParser)
> > > >     perform: #loadDefault.
> > > >
> > > >
> > > > The tool is actually loaded but when I try to launch it from the system menu I get a
> > > >
> > > > receiver of "-" is nil
> > > >
> > > > Same message if in the workspace I type PPBrowser new open, but not if I try PPBrowser new inspect (there, I have an inspector open on the PPBrowser)
> > > >
> > > > I'll switch to smalltalkhub now
> > > >
> > > > Alain
> > > >
> > > >
> > > > On Fri, May 17, 2013 at 10:44 AM, stephane ducasse <[hidden email]> wrote:
> > > > ****ALL*** the moose people are using PetitParser and it loads in 20.
> > > > so where you took the code from?
> > > >
> > > > The official repositories are on SmalltalkHub/Moose
> > > >
> > > > Stef
> > > >
> > > > On May 16, 2013, at 8:27 PM, Alain Busser <[hidden email]> wrote:
> > > >
> > > >> Hi,
> > > >>
> > > >> I have a similar problem with PetitParser (loads well under Pharo 1.4, not as well under Pharo 2.0)
> > > >>
> > > >> Alain
> > > >>
> > > >>
> > > >> On Thu, May 16, 2013 at 8:56 PM, Camille Teruel <[hidden email]> wrote:
> > > >>
> > > >> On 16 mai 2013, at 17:59, stephane ducasse wrote:
> > > >>
> > > >>> yes normally the moose people.
> > > >>> This is strange because eyesee is in Moose and we load it daily in 2.0.
> > > >>
> > > >> Maybe the smalltalk hub repo is more up to date?
> > > >>
> > > >>>
> > > >>> Stef
> > > >>>
> > > >>>> Thanks for your answer Camille!
> > > >>>>
> > > >>>> I tried it.
> > > >>>> It loads well on 1.4 but in 2.0 shows warining about a non satisfied blockclosure class.
> > > >>>>
> > > >>>> Then when I run the test there is a faliure with the anouncements, which also accured when I tried the examples.
> > > >>>>
> > > >>>> Is someone maintaining this?
> > > >>>>
> > > >>>> Thanks again,
> > > >>>> Juan
> > > >>>>
> > > >>>>
> > > >>>> On Thu, May 16, 2013 at 11:27 AM, Camille Teruel <[hidden email]> wrote:
> > > >>>> Hi Juan,
> > > >>>>
> > > >>>> You can have a look to eyeSee:
> > > >>>>
> > > >>>> Gofer it
> > > >>>>     squeaksource: 'EyeSee';
> > > >>>>     package: 'ConfigurationOfEyeSee';
> > > >>>>     load.
> > > >>>> (Smalltalk at: #ConfigurationOfEyeSee) loadDefault
> > > >>>>
> > > >>>>
> > > >>>> On 16 mai 2013, at 16:03, Juan Ignacio Vaccarezza wrote:
> > > >>>>
> > > >>>>> Hi all,
> > > >>>>>
> > > >>>>>       Does anybody know a chart framework? Im looking fo something like jfreechart (java chart framework).
> > > >>>>>       I need bar graph, pie chart, and line chart.
> > > >>>>>
> > > >>>>> Thanks,
> > > >>>>> Juan
> > > >>>>
> > > >>>>
> > > >>>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > >
> > > --
> > > www.tudorgirba.com
> > >
> > > "Innovation comes in the least expected form.
> > > That is, if it is expected, it already happened."
> > >
> > >
> > >
> >
> > --
> > www.tudorgirba.com
> >
> > "To lead is not to demand things, it is to make them happen."
> >
> >
> >
> >
> >
>
> --
> www.tudorgirba.com
>
> "If you can't say why something is relevant,
> it probably isn't."
>
>
>

--
www.tudorgirba.com

"Problem solving efficiency grows with the abstractness level of problem understanding."







Reply | Threaded
Open this post in threaded view
|

Re: SmalltalkWorld chartFrameworks.

Tudor Girba-2
Hi,

My guess is that the problem with your old image is that you already loaded an old version of PetitParser in there and this loaded an old version of Glamour. When you loaded PetitParser with the script I gave you, it probably did not update the Glamour code.

In any case, I would suggest to never rely on an image more than one day. Images are for work, not for storage. This is why, Gofer and Metacello are great tools that liberate you from the pain of reconstructing an image. Please look into creating a script that loads everything you want in a new image.

Cheers,
Doru


On May 21, 2013, at 7:00 PM, Alain Busser <[hidden email]> wrote:

> I didn't *have to* download file by file, I just wanted to try everything that I could. Doing the Gofer trick still does not allow me to launch a PPBrowser.
>
> If I try with a fresh image, it works OK, that may prove that Petit works well on Pharo 2.0, but on my own image it don't work, so there may well be some competition between Athens and Petit (or MathsOntologie and Petit?)
>
>
> Next step: I removed, by hand, any package which name begins with "petit", then to crash Pharo I just have to do
>
> Gofer new
>          smalltalkhubUser: 'Moose' project: 'PetitParser';
>          package: 'ConfigurationOfPetitParser';
>          load.
>
> and that's all!
>
> With a fresh image, I will have to load Athens and MathsOntologie again, won't I? Plus the changes that I already made to MathsOntologie...
>
>
> On Tue, May 21, 2013 at 4:56 PM, stephane ducasse <[hidden email]> wrote:
>
> On May 21, 2013, at 9:45 AM, Alain Busser <[hidden email]> wrote:
>
>> Yes, I done it as you wrote with Gofer, then I used Monticello to download petit (file by file)
>
> why do you have to donwload file by file?
>
> Gofer does it for you.
>
> execute only these two expressions:
>> Gofer new
>>          smalltalkhubUser: 'Moose' project: 'PetitParser';
>>          package: 'ConfigurationOfPetitParser';
>>          load.
>> (Smalltalk at: #ConfigurationOfPetitParser)
>>          loadDevelopment
>
> Stef
>
>
>> , then I done the Gofer trick again, and I still have the same problem: A nil as "bottom" which blocks a subtraction...
>>
>> If I am the only one to encounter the problem, it probably comes from somewhere else but where?
>>
>>
>> On Mon, May 20, 2013 at 10:37 PM, Tudor Girba <[hidden email]> wrote:
>> Hi,
>>
>> On May 20, 2013, at 6:05 PM, Alain Busser <[hidden email]> wrote:
>>
>> > I dropped the image on Pharo and I still have this illegal subtraction message.
>> >
>> > I don't build anything, I just downloaded Pharo 2.0 "one click" and added MathsOntologie, DrGeo and PetitParser. Plus the (almost) daily updates.
>>
>> How are you downloading PetitParser? If you do not explicitly say what you do, it is hard to say what is wrong :)
>>
>> I gave you detailed instructions for how to load PetitParser. Please follow them and let me know if you still have the problem:
>>
>> - open a workspace in a Pharo 2.0 image
>> - execute (select and invoke do it):
>> Gofer new
>>          smalltalkhubUser: 'Moose' project: 'PetitParser';
>>          package: 'ConfigurationOfPetitParser';
>>          load.
>> (Smalltalk at: #ConfigurationOfPetitParser)
>>          loadDevelopment
>>
>> Cheers,
>> Doru
>>
>>
>> > The debugger says that GLMSystemWindow's "addMorph: fullFrame" method has a subtraction where WindowBorderWidth (which equals 4) is subtracted to bottom; and bottom is nil, so it don't understand the "-" message (I doubt a nil object understands anything).
>> >
>> > So I guess the question is "why is bottom nil?" I see that at the beginning there is bottom := frame bottomOffset. Whereas frame is a LayoutFrame ( (0@0) + (4@4)px corner: (1@1) + (-4@nil)px ) so I imagine the nil comes from this point, no?
>> >
>> >
>> > On Sun, May 19, 2013 at 4:01 PM, Tudor Girba <[hidden email]> wrote:
>> > Hi Alain,
>> >
>> > As I said, something does not add up.
>> >
>> > What do you do exactly when you are building your image?
>> >
>> > Also, could you try following the instructions from the previous mail and let me know if it still fails?
>> >
>> > Cheers,
>> > Doru
>> >
>> >
>> > On May 19, 2013, at 1:24 PM, Alain Busser <[hidden email]> wrote:
>> >
>> > > in the "world" menu, "tools" then "petitparser";
>> > >
>> > > the browser method is "openWith: aRender" which fails to render anything in GLMMorphicRenderer...
>> > >
>> > >
>> > > On Sun, May 19, 2013 at 12:02 AM, Tudor Girba <[hidden email]> wrote:
>> > > Hi,
>> > >
>> > > Something does not add up :). What menu are you talking about?
>> > >
>> > > Here is an image based on Pharo 2.0 that only contains PetitParser:
>> > > https://ci.inria.fr/moose/job/petitparser/lastSuccessfulBuild/artifact/petitparser.zip
>> > >
>> > > If I run "PPBrowser open", it seems to work just fine.
>> > >
>> > > Here is how the image was created:
>> > > wget --quiet -O - http://get.pharo.org/20+vmLatest | bash
>> > > ./pharo Pharo.image save $JOB_NAME
>> > > REPO=http://www.smalltalkhub.com/mc/Moose/PetitParser/main
>> > > ./pharo $JOB_NAME.image config $REPO ConfigurationOfPetitParser --install=development
>> > > ./pharo $JOB_NAME.image test --junit-xml-output "Petit.*"
>> > > mv ./pharo-vm/PharoV20.sources ./
>> > > zip -r $JOB_NAME.zip $JOB_NAME.image $JOB_NAME.changes PharoV20.sources
>> > >
>> > > Cheers,
>> > > Doru
>> > >
>> > >
>> > >
>> > > On May 18, 2013, at 7:56 PM, Alain Busser <[hidden email]> wrote:
>> > >
>> > > > Done, and when I clicked on the menu entry ... and ... guess what ...  Pharo crashed again ...
>> > > >
>> > > > The last error message was about a labelGraphic ( aMultistateButton); in case it helps...
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > On Sat, May 18, 2013 at 9:43 AM, Tudor Girba <[hidden email]> wrote:
>> > > > Hi,
>> > > >
>> > > > Please load the latest version of PetitParser in Pharo 2.0 from SmalltalkHub:
>> > > >
>> > > > Gofer new
>> > > >         smalltalkhubUser: 'Moose' project: 'PetitParser';
>> > > >         package: 'ConfigurationOfPetitParser';
>> > > >         load.
>> > > > (Smalltalk at: #ConfigurationOfPetitParser)
>> > > >         loadDevelopment
>> > > >
>> > > > Cheers,
>> > > > Doru
>> > > >
>> > > >
>> > > > On May 17, 2013, at 7:23 PM, Alain Busser <[hidden email]> wrote:
>> > > >
>> > > > >
>> > > > > OK, I used Monticello with the Moose address, and downloaded petitsmalltalk and PetitParser, as well as configuration files. I made
>> > > > >
>> > > > > (Smalltalk at: #ConfigurationOfPetitParser)
>> > > > >     perform: #loadDefault.
>> > > > >
>> > > > >
>> > > > > once again, and clicked on the petit entry in the tools menu ... and Pharo crashed!
>> > > > >
>> > > > >
>> > > > > On Fri, May 17, 2013 at 9:11 PM, Alain Busser <[hidden email]> wrote:
>> > > > > I made
>> > > > >
>> > > > > Gofer new
>> > > > >     renggli: 'petit';
>> > > > >     package: 'ConfigurationOfPetitParser';
>> > > > >     load.
>> > > > > (Smalltalk at: #ConfigurationOfPetitParser)
>> > > > >     perform: #loadDefault.
>> > > > >
>> > > > >
>> > > > > The tool is actually loaded but when I try to launch it from the system menu I get a
>> > > > >
>> > > > > receiver of "-" is nil
>> > > > >
>> > > > > Same message if in the workspace I type PPBrowser new open, but not if I try PPBrowser new inspect (there, I have an inspector open on the PPBrowser)
>> > > > >
>> > > > > I'll switch to smalltalkhub now
>> > > > >
>> > > > > Alain
>> > > > >
>> > > > >
>> > > > > On Fri, May 17, 2013 at 10:44 AM, stephane ducasse <[hidden email]> wrote:
>> > > > > ****ALL*** the moose people are using PetitParser and it loads in 20.
>> > > > > so where you took the code from?
>> > > > >
>> > > > > The official repositories are on SmalltalkHub/Moose
>> > > > >
>> > > > > Stef
>> > > > >
>> > > > > On May 16, 2013, at 8:27 PM, Alain Busser <[hidden email]> wrote:
>> > > > >
>> > > > >> Hi,
>> > > > >>
>> > > > >> I have a similar problem with PetitParser (loads well under Pharo 1.4, not as well under Pharo 2.0)
>> > > > >>
>> > > > >> Alain
>> > > > >>
>> > > > >>
>> > > > >> On Thu, May 16, 2013 at 8:56 PM, Camille Teruel <[hidden email]> wrote:
>> > > > >>
>> > > > >> On 16 mai 2013, at 17:59, stephane ducasse wrote:
>> > > > >>
>> > > > >>> yes normally the moose people.
>> > > > >>> This is strange because eyesee is in Moose and we load it daily in 2.0.
>> > > > >>
>> > > > >> Maybe the smalltalk hub repo is more up to date?
>> > > > >>
>> > > > >>>
>> > > > >>> Stef
>> > > > >>>
>> > > > >>>> Thanks for your answer Camille!
>> > > > >>>>
>> > > > >>>> I tried it.
>> > > > >>>> It loads well on 1.4 but in 2.0 shows warining about a non satisfied blockclosure class.
>> > > > >>>>
>> > > > >>>> Then when I run the test there is a faliure with the anouncements, which also accured when I tried the examples.
>> > > > >>>>
>> > > > >>>> Is someone maintaining this?
>> > > > >>>>
>> > > > >>>> Thanks again,
>> > > > >>>> Juan
>> > > > >>>>
>> > > > >>>>
>> > > > >>>> On Thu, May 16, 2013 at 11:27 AM, Camille Teruel <[hidden email]> wrote:
>> > > > >>>> Hi Juan,
>> > > > >>>>
>> > > > >>>> You can have a look to eyeSee:
>> > > > >>>>
>> > > > >>>> Gofer it
>> > > > >>>>     squeaksource: 'EyeSee';
>> > > > >>>>     package: 'ConfigurationOfEyeSee';
>> > > > >>>>     load.
>> > > > >>>> (Smalltalk at: #ConfigurationOfEyeSee) loadDefault
>> > > > >>>>
>> > > > >>>>
>> > > > >>>> On 16 mai 2013, at 16:03, Juan Ignacio Vaccarezza wrote:
>> > > > >>>>
>> > > > >>>>> Hi all,
>> > > > >>>>>
>> > > > >>>>>       Does anybody know a chart framework? Im looking fo something like jfreechart (java chart framework).
>> > > > >>>>>       I need bar graph, pie chart, and line chart.
>> > > > >>>>>
>> > > > >>>>> Thanks,
>> > > > >>>>> Juan
>> > > > >>>>
>> > > > >>>>
>> > > > >>>
>> > > > >>
>> > > > >>
>> > > > >
>> > > > >
>> > > > >
>> > > >
>> > > > --
>> > > > www.tudorgirba.com
>> > > >
>> > > > "Innovation comes in the least expected form.
>> > > > That is, if it is expected, it already happened."
>> > > >
>> > > >
>> > > >
>> > >
>> > > --
>> > > www.tudorgirba.com
>> > >
>> > > "To lead is not to demand things, it is to make them happen."
>> > >
>> > >
>> > >
>> > >
>> > >
>> >
>> > --
>> > www.tudorgirba.com
>> >
>> > "If you can't say why something is relevant,
>> > it probably isn't."
>> >
>> >
>> >
>>
>> --
>> www.tudorgirba.com
>>
>> "Problem solving efficiency grows with the abstractness level of problem understanding."
>>
>>
>>
>>
>>
>
>

--
www.tudorgirba.com

"Beauty is where we see it."




12