Pharo-users
By thread
pharo-users@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
May 2013
- 55 participants
- 232 messages
Re: [Pharo-users] ORM with PostgreSQL support
by phil@highoctane.be
http://book.pharo-project.org/book/PharoTools/Glorp/
On Mon, May 27, 2013 at 10:44 AM, Bahman Movaqar <Bahman(a)bahmanm.com> wrote:
> Hi all,
>
> I'm completely new to Smalltalk world so please bear with me.
>
> Coming from the Java world, I'm used to using an ORM when developing a
> database-backed application. What are the options in the Smalltalk
> world? I'm specially looking for something that supports PostgreSQL as
> that's what I 99.99% of the time use :-)
>
> Would you please give me some pointers along with links to the
> documentations?
>
> TIA,
>
> --
> Bahman Movaqar (http://BahmanM.com)
> ERP Evaluation, Implementation, Deployment Consultant
>
>
>
May 27, 2013
ORM with PostgreSQL support
by Bahman Movaqar
Hi all,
I'm completely new to Smalltalk world so please bear with me.
Coming from the Java world, I'm used to using an ORM when developing a
database-backed application. What are the options in the Smalltalk
world? I'm specially looking for something that supports PostgreSQL as
that's what I 99.99% of the time use :-)
Would you please give me some pointers along with links to the
documentations?
TIA,
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation, Deployment Consultant
May 27, 2013
Video: The Moose Roadmap
by Stephan Eggermont
Another video from the MooseDay2013
Tudor Girba showing the Moose roadmap
http://www.youtube.com/watch?v=2JCDS3OVnGM
Stephan
May 23, 2013
Re: [Pharo-users] history graph widget
by Martin Dias
Thanks Hernán, I'll take a look.
MartÃn
On Mon, May 20, 2013 at 8:19 PM, Hernán Morales Durand
<hernan.morales(a)gmail.com> wrote:
> For the grid part the SGrid supports embedding morphs, check the examples
>
> http://stackoverflow.com/questions/4674116/are-there-any-open-source-spread…
>
> cheers,
>
> Hernán
>
> El 19/05/2013 13:24, Martin Dias escribió:
>>
>> Hi
>>
>> I would like to have a Morphic widget like this. Does anyone know if
>> there is something already done that I could reuse?
>>
>> Inline image 1
>>
>> Maybe do it with Roassal in this way:
>>
>> Use the list morph, where each row knows an image morph with its
>> corresponding slice of the graph.
>>
>> Each time the graph changes (for example, if a node is appended), render
>> using Roassal the part of the graph has to be updated, and cut the
>> rendered surface in the new slices for each updated row.
>>
>> Any opinion?
>>
>> Maybe I should think more in vectors (i.e. Athens) instead of
>> pixels/images?
>>
>> Cheers,
>> Martin
>
>
>
May 22, 2013
Re: [Pharo-users] SmalltalkWorld chartFrameworks.
by Tudor Girba
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 <alain.busser(a)gmail.com> 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 <stephane.ducasse(a)free.fr> wrote:
>
> On May 21, 2013, at 9:45 AM, Alain Busser <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com> wrote:
>> Hi,
>>
>> On May 20, 2013, at 6:05 PM, Alain Busser <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com> 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 <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com> 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/peti…
>> > >
>> > > 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 <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com> 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 <alain.busser(a)gmail.com> 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 <alain.busser(a)gmail.com> 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 <stephane.ducasse(a)free.fr> 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 <alain.busser(a)gmail.com> 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 <camille.teruel(a)gmail.com> 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 <camille.teruel(a)gmail.com> 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."
May 21, 2013
Re: [Pharo-users] SmalltalkWorld chartFrameworks.
by Alain Busser
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
<stephane.ducasse(a)free.fr>wrote:
>
> On May 21, 2013, at 9:45 AM, Alain Busser <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com>wrote:
>
>> Hi,
>>
>> On May 20, 2013, at 6:05 PM, Alain Busser <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com>
>> 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 <alain.busser(a)gmail.com>
>> 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 <tudor(a)tudorgirba.com>
>> 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/peti…
>> > >
>> > > 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 <alain.busser(a)gmail.com>
>> 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 <tudor(a)tudorgirba.com>
>> 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 <alain.busser(a)gmail.com>
>> 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 <
>> alain.busser(a)gmail.com> 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 <
>> stephane.ducasse(a)free.fr> 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 <alain.busser(a)gmail.com>
>> 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 <
>> camille.teruel(a)gmail.com> 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 <
>> camille.teruel(a)gmail.com> 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."
>>
>>
>>
>>
>>
>
>
May 21, 2013
Re: [Pharo-users] SmalltalkWorld chartFrameworks.
by Tudor Girba
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
<stephane.ducasse(a)free.fr>wrote:
>
> On May 21, 2013, at 9:45 AM, Alain Busser <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com>wrote:
>
>> Hi,
>>
>> On May 20, 2013, at 6:05 PM, Alain Busser <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com>
>> 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 <alain.busser(a)gmail.com>
>> 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 <tudor(a)tudorgirba.com>
>> 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/peti…
>> > >
>> > > 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 <alain.busser(a)gmail.com>
>> 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 <tudor(a)tudorgirba.com>
>> 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 <alain.busser(a)gmail.com>
>> 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 <
>> alain.busser(a)gmail.com> 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 <
>> stephane.ducasse(a)free.fr> 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 <alain.busser(a)gmail.com>
>> 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 <
>> camille.teruel(a)gmail.com> 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 <
>> camille.teruel(a)gmail.com> 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
"Every thing has its own flow"
May 21, 2013
Re: [Pharo-users] SmalltalkWorld chartFrameworks.
by stephane ducasse
On May 21, 2013, at 9:45 AM, Alain Busser <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com> wrote:
> Hi,
>
> On May 20, 2013, at 6:05 PM, Alain Busser <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com> 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 <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com> 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/peti…
> > >
> > > 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 <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com> 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 <alain.busser(a)gmail.com> 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 <alain.busser(a)gmail.com> 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 <stephane.ducasse(a)free.fr> 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 <alain.busser(a)gmail.com> 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 <camille.teruel(a)gmail.com> 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 <camille.teruel(a)gmail.com> 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."
>
>
>
>
>
May 21, 2013
Re: [Pharo-users] SmalltalkWorld chartFrameworks.
by 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 <tudor(a)tudorgirba.com> wrote:
> Hi,
>
> On May 20, 2013, at 6:05 PM, Alain Busser <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com>
> 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 <alain.busser(a)gmail.com>
> 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 <tudor(a)tudorgirba.com>
> 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/peti…
> > >
> > > 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 <alain.busser(a)gmail.com>
> 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 <tudor(a)tudorgirba.com>
> 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 <alain.busser(a)gmail.com>
> 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 <
> alain.busser(a)gmail.com> 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 <
> stephane.ducasse(a)free.fr> 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 <alain.busser(a)gmail.com>
> 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 <
> camille.teruel(a)gmail.com> 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 <
> camille.teruel(a)gmail.com> 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."
>
>
>
>
>
May 21, 2013
Re: [Pharo-users] SmalltalkWorld chartFrameworks.
by Tudor Girba
Hi,
On May 20, 2013, at 6:05 PM, Alain Busser <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com> 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 <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com> 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/peti…
> >
> > 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 <alain.busser(a)gmail.com> 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 <tudor(a)tudorgirba.com> 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 <alain.busser(a)gmail.com> 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 <alain.busser(a)gmail.com> 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 <stephane.ducasse(a)free.fr> 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 <alain.busser(a)gmail.com> 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 <camille.teruel(a)gmail.com> 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 <camille.teruel(a)gmail.com> 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."
May 20, 2013