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.

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 <[email protected]> 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 <[email protected]> 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 <[email protected]>
> 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 <[email protected]>
> 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 <[email protected]>
> 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 <[email protected]>
> 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 <
> [email protected]> 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 <
> [email protected]> 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 <[email protected]>
> 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 <
> [email protected]> 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 <
> [email protected]> 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."
>
>
>

Reply via email to