RPackage issue ?

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

RPackage issue ?

jannik laval
Hi,

I think to have a bug with RPackage.

I used MooseScripts>>createModelForMoose.
This method works fine.

then I removed 3 methods useless for Moose (see issue 614)

When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
The cache of RPackage is not updated.

Any solution ?

Jannik
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

abergel
I bumped into the very same problem.
Killing the MooseModel does not help neither.

Alexandre


On 6 May 2011, at 09:25, jannik.laval wrote:

> Hi,
>
> I think to have a bug with RPackage.
>
> I used MooseScripts>>createModelForMoose.
> This method works fine.
>
> then I removed 3 methods useless for Moose (see issue 614)
>
> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
> The cache of RPackage is not updated.
>
> Any solution ?
>
> Jannik
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

jannik laval
You should do manually "RPackageOrganizer initializeDefault".
It rebuild the PackageCache.

It seems that RPackage does not react to all announcements.

Jannik

On May 6, 2011, at 16:33 , Alexandre Bergel wrote:

> I bumped into the very same problem.
> Killing the MooseModel does not help neither.
>
> Alexandre
>
>
> On 6 May 2011, at 09:25, jannik.laval wrote:
>
>> Hi,
>>
>> I think to have a bug with RPackage.
>>
>> I used MooseScripts>>createModelForMoose.
>> This method works fine.
>>
>> then I removed 3 methods useless for Moose (see issue 614)
>>
>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
>> The cache of RPackage is not updated.
>>
>> Any solution ?
>>
>> Jannik
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

cdelaunay
Indeed there is a bug. I will look at that. In fact it seems to react, but not well :(

2011/5/6 jannik.laval <[hidden email]>
You should do manually "RPackageOrganizer initializeDefault".
It rebuild the PackageCache.

It seems that RPackage does not react to all announcements.

Jannik

On May 6, 2011, at 16:33 , Alexandre Bergel wrote:

> I bumped into the very same problem.
> Killing the MooseModel does not help neither.
>
> Alexandre
>
>
> On 6 May 2011, at 09:25, jannik.laval wrote:
>
>> Hi,
>>
>> I think to have a bug with RPackage.
>>
>> I used MooseScripts>>createModelForMoose.
>> This method works fine.
>>
>> then I removed 3 methods useless for Moose (see issue 614)
>>
>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
>> The cache of RPackage is not updated.
>>
>> Any solution ?
>>
>> Jannik
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

abergel
In reply to this post by jannik laval
Thanks for the tip.

Alexandre


On 6 May 2011, at 09:37, jannik.laval wrote:

> You should do manually "RPackageOrganizer initializeDefault".
> It rebuild the PackageCache.
>
> It seems that RPackage does not react to all announcements.
>
> Jannik
>
> On May 6, 2011, at 16:33 , Alexandre Bergel wrote:
>
>> I bumped into the very same problem.
>> Killing the MooseModel does not help neither.
>>
>> Alexandre
>>
>>
>> On 6 May 2011, at 09:25, jannik.laval wrote:
>>
>>> Hi,
>>>
>>> I think to have a bug with RPackage.
>>>
>>> I used MooseScripts>>createModelForMoose.
>>> This method works fine.
>>>
>>> then I removed 3 methods useless for Moose (see issue 614)
>>>
>>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
>>> The cache of RPackage is not updated.
>>>
>>> Any solution ?
>>>
>>> Jannik
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

cdelaunay
It was indeed a problem from RPackage , that was surely the source of other strange behaviours i already saw with RPackage some times ago.  So it was cool to have this concrete example pointing the problem;) The changes I made should be integrated in the last version of RPackage soon. 

2011/5/6 Alexandre Bergel <[hidden email]>
Thanks for the tip.

Alexandre


On 6 May 2011, at 09:37, jannik.laval wrote:

> You should do manually "RPackageOrganizer initializeDefault".
> It rebuild the PackageCache.
>
> It seems that RPackage does not react to all announcements.
>
> Jannik
>
> On May 6, 2011, at 16:33 , Alexandre Bergel wrote:
>
>> I bumped into the very same problem.
>> Killing the MooseModel does not help neither.
>>
>> Alexandre
>>
>>
>> On 6 May 2011, at 09:25, jannik.laval wrote:
>>
>>> Hi,
>>>
>>> I think to have a bug with RPackage.
>>>
>>> I used MooseScripts>>createModelForMoose.
>>> This method works fine.
>>>
>>> then I removed 3 methods useless for Moose (see issue 614)
>>>
>>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
>>> The cache of RPackage is not updated.
>>>
>>> Any solution ?
>>>
>>> Jannik
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

jannik laval
Pay attention that we use a stable version, not the default version of RPackage.

Jannik

On May 6, 2011, at 17:05 , Cyrille Delaunay wrote:

It was indeed a problem from RPackage , that was surely the source of other strange behaviours i already saw with RPackage some times ago.  So it was cool to have this concrete example pointing the problem;) The changes I made should be integrated in the last version of RPackage soon. 

2011/5/6 Alexandre Bergel <[hidden email]>
Thanks for the tip.

Alexandre


On 6 May 2011, at 09:37, jannik.laval wrote:

> You should do manually "RPackageOrganizer initializeDefault".
> It rebuild the PackageCache.
>
> It seems that RPackage does not react to all announcements.
>
> Jannik
>
> On May 6, 2011, at 16:33 , Alexandre Bergel wrote:
>
>> I bumped into the very same problem.
>> Killing the MooseModel does not help neither.
>>
>> Alexandre
>>
>>
>> On 6 May 2011, at 09:25, jannik.laval wrote:
>>
>>> Hi,
>>>
>>> I think to have a bug with RPackage.
>>>
>>> I used MooseScripts>>createModelForMoose.
>>> This method works fine.
>>>
>>> then I removed 3 methods useless for Moose (see issue 614)
>>>
>>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
>>> The cache of RPackage is not updated.
>>>
>>> Any solution ?
>>>
>>> Jannik
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

Stéphane Ducasse
In reply to this post by cdelaunay
+1 Jannik
I could not understand what is your problem and without that I will not be able to fix it.

Stef
On May 6, 2011, at 5:05 PM, Cyrille Delaunay wrote:

> It was indeed a problem from RPackage , that was surely the source of other strange behaviours i already saw with RPackage some times ago.  So it was cool to have this concrete example pointing the problem;) The changes I made should be integrated in the last version of RPackage soon.
>
> 2011/5/6 Alexandre Bergel <[hidden email]>
> Thanks for the tip.
>
> Alexandre
>
>
> On 6 May 2011, at 09:37, jannik.laval wrote:
>
> > You should do manually "RPackageOrganizer initializeDefault".
> > It rebuild the PackageCache.
> >
> > It seems that RPackage does not react to all announcements.
> >
> > Jannik
> >
> > On May 6, 2011, at 16:33 , Alexandre Bergel wrote:
> >
> >> I bumped into the very same problem.
> >> Killing the MooseModel does not help neither.
> >>
> >> Alexandre
> >>
> >>
> >> On 6 May 2011, at 09:25, jannik.laval wrote:
> >>
> >>> Hi,
> >>>
> >>> I think to have a bug with RPackage.
> >>>
> >>> I used MooseScripts>>createModelForMoose.
> >>> This method works fine.
> >>>
> >>> then I removed 3 methods useless for Moose (see issue 614)
> >>>
> >>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
> >>> The cache of RPackage is not updated.
> >>>
> >>> Any solution ?
> >>>
> >>> Jannik
> >>> _______________________________________________
> >>> Moose-dev mailing list
> >>> [hidden email]
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >> --
> >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >> Alexandre Bergel  http://www.bergel.eu
> >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

Tudor Girba
Cyrille, should we understand that you fixed it?

Cheers,
Doru


On 7 May 2011, at 10:42, Stéphane Ducasse wrote:

> +1 Jannik
> I could not understand what is your problem and without that I will not be able to fix it.
>
> Stef
> On May 6, 2011, at 5:05 PM, Cyrille Delaunay wrote:
>
>> It was indeed a problem from RPackage , that was surely the source of other strange behaviours i already saw with RPackage some times ago.  So it was cool to have this concrete example pointing the problem;) The changes I made should be integrated in the last version of RPackage soon.
>>
>> 2011/5/6 Alexandre Bergel <[hidden email]>
>> Thanks for the tip.
>>
>> Alexandre
>>
>>
>> On 6 May 2011, at 09:37, jannik.laval wrote:
>>
>>> You should do manually "RPackageOrganizer initializeDefault".
>>> It rebuild the PackageCache.
>>>
>>> It seems that RPackage does not react to all announcements.
>>>
>>> Jannik
>>>
>>> On May 6, 2011, at 16:33 , Alexandre Bergel wrote:
>>>
>>>> I bumped into the very same problem.
>>>> Killing the MooseModel does not help neither.
>>>>
>>>> Alexandre
>>>>
>>>>
>>>> On 6 May 2011, at 09:25, jannik.laval wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I think to have a bug with RPackage.
>>>>>
>>>>> I used MooseScripts>>createModelForMoose.
>>>>> This method works fine.
>>>>>
>>>>> then I removed 3 methods useless for Moose (see issue 614)
>>>>>
>>>>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
>>>>> The cache of RPackage is not updated.
>>>>>
>>>>> Any solution ?
>>>>>
>>>>> Jannik
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"It's not what we do that matters most, it's how we do it."


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

Stéphane Ducasse
In reply to this post by jannik laval

On May 6, 2011, at 3:25 PM, jannik.laval wrote:

> Hi,
>
> I think to have a bug with RPackage.
>
> I used MooseScripts>>createModelForMoose.
> This method works fine.
>
> then I removed 3 methods useless for Moose (see issue 614)
>
> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
> The cache of RPackage is not updated.

what cache?
>
> Any solution ?
>
> Jannik
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

Tudor Girba
The issue is that the Organizer gets out of sync. I do not know when, but I saw it happening. It is what I sent to the pharo mailing list:

---quote---

ConfigurationOfRPackage 1.0 seems to go out of sync with the image after a while. For example, download the following Moose image:
http://hudson.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/artifact/moose/*zip*/moose.zip

and try
RPackage organizer packageNamed: 'Famix-Core'

---

Cheers,
Doru

On 7 May 2011, at 11:15, Stéphane Ducasse wrote:

>
> On May 6, 2011, at 3:25 PM, jannik.laval wrote:
>
>> Hi,
>>
>> I think to have a bug with RPackage.
>>
>> I used MooseScripts>>createModelForMoose.
>> This method works fine.
>>
>> then I removed 3 methods useless for Moose (see issue 614)
>>
>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
>> The cache of RPackage is not updated.
>
> what cache?
>>
>> Any solution ?
>>
>> Jannik
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"From an abstract enough point of view, any two things are similar."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

Stéphane Ducasse
I do not get it.
Don't you use the 3.0 version?
Because I do not know what is the 1.0 especially since you loaded latest so this measn that I have no clue
what version is really loaded and I will not have a look because I cannot spend time reverse engineer
working set of packages.
We started to sync with cyrille yesterday and I will merge his changes and produce a new 3.0 and a stable tag.
So that people can load stable and we can continue to work on the integration.

Stef
On May 7, 2011, at 11:21 AM, Tudor Girba wrote:

> The issue is that the Organizer gets out of sync. I do not know when, but I saw it happening. It is what I sent to the pharo mailing list:
>
> ---quote---
>
> ConfigurationOfRPackage 1.0 seems to go out of sync with the image after a while. For example, download the following Moose image:
> http://hudson.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/artifact/moose/*zip*/moose.zip
>
> and try
> RPackage organizer packageNamed: 'Famix-Core'
>
> ---
>
> Cheers,
> Doru
>
> On 7 May 2011, at 11:15, Stéphane Ducasse wrote:
>
>>
>> On May 6, 2011, at 3:25 PM, jannik.laval wrote:
>>
>>> Hi,
>>>
>>> I think to have a bug with RPackage.
>>>
>>> I used MooseScripts>>createModelForMoose.
>>> This method works fine.
>>>
>>> then I removed 3 methods useless for Moose (see issue 614)
>>>
>>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
>>> The cache of RPackage is not updated.
>>
>> what cache?
>>>
>>> Any solution ?
>>>
>>> Jannik
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "From an abstract enough point of view, any two things are similar."
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

Tudor Girba
Stef, you told us to load #stable and this is what we are loading, and currently #stable loads '1.0'.

That is why I asked on the Pharo mailing list if 3.0 is stable, so that #stable should point to it rather than to '1.0'. If you want this versioning scheme to work, you have to take into account the energy to maintain the configuration. Otherwise, feedback will always be out of date, and the dialog not very constructive.

However, I did some more tests and it seems that some desynchronization appears in 3.0 as well, only I do not know how to reproduce the problem because I do not know where it comes from.

Cyrille, could you detail your finding for documentation purpose?

Cheers,
Doru


On 7 May 2011, at 11:49, Stéphane Ducasse wrote:

> I do not get it.
> Don't you use the 3.0 version?
> Because I do not know what is the 1.0 especially since you loaded latest so this measn that I have no clue
> what version is really loaded and I will not have a look because I cannot spend time reverse engineer
> working set of packages.
> We started to sync with cyrille yesterday and I will merge his changes and produce a new 3.0 and a stable tag.
> So that people can load stable and we can continue to work on the integration.
>
> Stef
> On May 7, 2011, at 11:21 AM, Tudor Girba wrote:
>
>> The issue is that the Organizer gets out of sync. I do not know when, but I saw it happening. It is what I sent to the pharo mailing list:
>>
>> ---quote---
>>
>> ConfigurationOfRPackage 1.0 seems to go out of sync with the image after a while. For example, download the following Moose image:
>> http://hudson.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/artifact/moose/*zip*/moose.zip
>>
>> and try
>> RPackage organizer packageNamed: 'Famix-Core'
>>
>> ---
>>
>> Cheers,
>> Doru
>>
>> On 7 May 2011, at 11:15, Stéphane Ducasse wrote:
>>
>>>
>>> On May 6, 2011, at 3:25 PM, jannik.laval wrote:
>>>
>>>> Hi,
>>>>
>>>> I think to have a bug with RPackage.
>>>>
>>>> I used MooseScripts>>createModelForMoose.
>>>> This method works fine.
>>>>
>>>> then I removed 3 methods useless for Moose (see issue 614)
>>>>
>>>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
>>>> The cache of RPackage is not updated.
>>>
>>> what cache?
>>>>
>>>> Any solution ?
>>>>
>>>> Jannik
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> www.tudorgirba.com
>>
>> "From an abstract enough point of view, any two things are similar."
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Sometimes the best solution is not the best solution."


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

Stéphane Ducasse

On May 7, 2011, at 11:59 AM, Tudor Girba wrote:

> Stef, you told us to load #stable and this is what we are loading, and currently #stable loads '1.0'.

ok good then

> That is why I asked on the Pharo mailing list if 3.0 is stable, so that #stable should point to it rather than to '1.0'.

ah ok yes I think that it is more stable

> If you want this versioning scheme to work, you have to take into account the energy to maintain the configuration. Otherwise, feedback will always be out of date, and the dialog not very constructive.

Yes I maintain it do not worry.

>
> However, I did some more tests and it seems that some desynchronization appears in 3.0 as well, only I do not know how to reproduce the problem because I do not know where it comes from.

Ok
I would like to know that too.

> Cyrille, could you detail your finding for documentation purpose?
>
> Cheers,
> Doru
>
>
> On 7 May 2011, at 11:49, Stéphane Ducasse wrote:
>
>> I do not get it.
>> Don't you use the 3.0 version?
>> Because I do not know what is the 1.0 especially since you loaded latest so this measn that I have no clue
>> what version is really loaded and I will not have a look because I cannot spend time reverse engineer
>> working set of packages.
>> We started to sync with cyrille yesterday and I will merge his changes and produce a new 3.0 and a stable tag.
>> So that people can load stable and we can continue to work on the integration.
>>
>> Stef
>> On May 7, 2011, at 11:21 AM, Tudor Girba wrote:
>>
>>> The issue is that the Organizer gets out of sync. I do not know when, but I saw it happening. It is what I sent to the pharo mailing list:
>>>
>>> ---quote---
>>>
>>> ConfigurationOfRPackage 1.0 seems to go out of sync with the image after a while. For example, download the following Moose image:
>>> http://hudson.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/artifact/moose/*zip*/moose.zip
>>>
>>> and try
>>> RPackage organizer packageNamed: 'Famix-Core'
>>>
>>> ---
>>>
>>> Cheers,
>>> Doru
>>>
>>> On 7 May 2011, at 11:15, Stéphane Ducasse wrote:
>>>
>>>>
>>>> On May 6, 2011, at 3:25 PM, jannik.laval wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I think to have a bug with RPackage.
>>>>>
>>>>> I used MooseScripts>>createModelForMoose.
>>>>> This method works fine.
>>>>>
>>>>> then I removed 3 methods useless for Moose (see issue 614)
>>>>>
>>>>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
>>>>> The cache of RPackage is not updated.
>>>>
>>>> what cache?
>>>>>
>>>>> Any solution ?
>>>>>
>>>>> Jannik
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "From an abstract enough point of view, any two things are similar."
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "Sometimes the best solution is not the best solution."
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

cdelaunay
Yes I fixed the bug. just left to modify the version of RPackage to load the correct version of the modified package. I think stephane will do it while looking at my changes.

2011/5/7 Stéphane Ducasse <[hidden email]>

On May 7, 2011, at 11:59 AM, Tudor Girba wrote:

> Stef, you told us to load #stable and this is what we are loading, and currently #stable loads '1.0'.

ok good then

> That is why I asked on the Pharo mailing list if 3.0 is stable, so that #stable should point to it rather than to '1.0'.

ah ok yes I think that it is more stable

> If you want this versioning scheme to work, you have to take into account the energy to maintain the configuration. Otherwise, feedback will always be out of date, and the dialog not very constructive.

Yes I maintain it do not worry.

>
> However, I did some more tests and it seems that some desynchronization appears in 3.0 as well, only I do not know how to reproduce the problem because I do not know where it comes from.

Ok
I would like to know that too.

> Cyrille, could you detail your finding for documentation purpose?
>
> Cheers,
> Doru
>
>
> On 7 May 2011, at 11:49, Stéphane Ducasse wrote:
>
>> I do not get it.
>> Don't you use the 3.0 version?
>> Because I do not know what is the 1.0 especially since you loaded latest so this measn that I have no clue
>> what version is really loaded and I will not have a look because I cannot spend time reverse engineer
>> working set of packages.
>> We started to sync with cyrille yesterday and I will merge his changes and produce a new 3.0 and a stable tag.
>> So that people can load stable and we can continue to work on the integration.
>>
>> Stef
>> On May 7, 2011, at 11:21 AM, Tudor Girba wrote:
>>
>>> The issue is that the Organizer gets out of sync. I do not know when, but I saw it happening. It is what I sent to the pharo mailing list:
>>>
>>> ---quote---
>>>
>>> ConfigurationOfRPackage 1.0 seems to go out of sync with the image after a while. For example, download the following Moose image:
>>> http://hudson.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/artifact/moose/*zip*/moose.zip
>>>
>>> and try
>>> RPackage organizer packageNamed: 'Famix-Core'
>>>
>>> ---
>>>
>>> Cheers,
>>> Doru
>>>
>>> On 7 May 2011, at 11:15, Stéphane Ducasse wrote:
>>>
>>>>
>>>> On May 6, 2011, at 3:25 PM, jannik.laval wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I think to have a bug with RPackage.
>>>>>
>>>>> I used MooseScripts>>createModelForMoose.
>>>>> This method works fine.
>>>>>
>>>>> then I removed 3 methods useless for Moose (see issue 614)
>>>>>
>>>>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
>>>>> The cache of RPackage is not updated.
>>>>
>>>> what cache?
>>>>>
>>>>> Any solution ?
>>>>>
>>>>> Jannik
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "From an abstract enough point of view, any two things are similar."
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "Sometimes the best solution is not the best solution."
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

Tudor Girba
Hi,

Could you tell us what the bug was? It would be good to know just in case in the future we encounter something similar.

Cheers,
Doru


On 7 May 2011, at 16:51, Cyrille Delaunay wrote:

> Yes I fixed the bug. just left to modify the version of RPackage to load the correct version of the modified package. I think stephane will do it while looking at my changes.
>
> 2011/5/7 Stéphane Ducasse <[hidden email]>
>
> On May 7, 2011, at 11:59 AM, Tudor Girba wrote:
>
> > Stef, you told us to load #stable and this is what we are loading, and currently #stable loads '1.0'.
>
> ok good then
>
> > That is why I asked on the Pharo mailing list if 3.0 is stable, so that #stable should point to it rather than to '1.0'.
>
> ah ok yes I think that it is more stable
>
> > If you want this versioning scheme to work, you have to take into account the energy to maintain the configuration. Otherwise, feedback will always be out of date, and the dialog not very constructive.
>
> Yes I maintain it do not worry.
>
> >
> > However, I did some more tests and it seems that some desynchronization appears in 3.0 as well, only I do not know how to reproduce the problem because I do not know where it comes from.
>
> Ok
> I would like to know that too.
>
> > Cyrille, could you detail your finding for documentation purpose?
> >
> > Cheers,
> > Doru
> >
> >
> > On 7 May 2011, at 11:49, Stéphane Ducasse wrote:
> >
> >> I do not get it.
> >> Don't you use the 3.0 version?
> >> Because I do not know what is the 1.0 especially since you loaded latest so this measn that I have no clue
> >> what version is really loaded and I will not have a look because I cannot spend time reverse engineer
> >> working set of packages.
> >> We started to sync with cyrille yesterday and I will merge his changes and produce a new 3.0 and a stable tag.
> >> So that people can load stable and we can continue to work on the integration.
> >>
> >> Stef
> >> On May 7, 2011, at 11:21 AM, Tudor Girba wrote:
> >>
> >>> The issue is that the Organizer gets out of sync. I do not know when, but I saw it happening. It is what I sent to the pharo mailing list:
> >>>
> >>> ---quote---
> >>>
> >>> ConfigurationOfRPackage 1.0 seems to go out of sync with the image after a while. For example, download the following Moose image:
> >>> http://hudson.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/artifact/moose/*zip*/moose.zip
> >>>
> >>> and try
> >>> RPackage organizer packageNamed: 'Famix-Core'
> >>>
> >>> ---
> >>>
> >>> Cheers,
> >>> Doru
> >>>
> >>> On 7 May 2011, at 11:15, Stéphane Ducasse wrote:
> >>>
> >>>>
> >>>> On May 6, 2011, at 3:25 PM, jannik.laval wrote:
> >>>>
> >>>>> Hi,
> >>>>>
> >>>>> I think to have a bug with RPackage.
> >>>>>
> >>>>> I used MooseScripts>>createModelForMoose.
> >>>>> This method works fine.
> >>>>>
> >>>>> then I removed 3 methods useless for Moose (see issue 614)
> >>>>>
> >>>>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
> >>>>> The cache of RPackage is not updated.
> >>>>
> >>>> what cache?
> >>>>>
> >>>>> Any solution ?
> >>>>>
> >>>>> Jannik
> >>>>> _______________________________________________
> >>>>> Moose-dev mailing list
> >>>>> [hidden email]
> >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Moose-dev mailing list
> >>>> [hidden email]
> >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>
> >>> --
> >>> www.tudorgirba.com
> >>>
> >>> "From an abstract enough point of view, any two things are similar."
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Moose-dev mailing list
> >>> [hidden email]
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > www.tudorgirba.com
> >
> > "Sometimes the best solution is not the best solution."
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Every now and then stop and ask yourself if the war you're fighting is the right one."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

cdelaunay
The bug appeared when removing two extensions methods (from the same extending package) for a same class. 
in RPackage >> removeMethod: , when removing an extension method, we were telling the organizer to remove the extending package for the class concerned. This was wrong, because even if one extension from this package has been removed, some others can still exist. And the organizer should keep the this package as extending package for the class. 
So removing the first extension method worked correctly, but then removing a second or more methods from the same package was raising some errors 

2011/5/7 Tudor Girba <[hidden email]>
Hi,

Could you tell us what the bug was? It would be good to know just in case in the future we encounter something similar.

Cheers,
Doru


On 7 May 2011, at 16:51, Cyrille Delaunay wrote:

> Yes I fixed the bug. just left to modify the version of RPackage to load the correct version of the modified package. I think stephane will do it while looking at my changes.
>
> 2011/5/7 Stéphane Ducasse <[hidden email]>
>
> On May 7, 2011, at 11:59 AM, Tudor Girba wrote:
>
> > Stef, you told us to load #stable and this is what we are loading, and currently #stable loads '1.0'.
>
> ok good then
>
> > That is why I asked on the Pharo mailing list if 3.0 is stable, so that #stable should point to it rather than to '1.0'.
>
> ah ok yes I think that it is more stable
>
> > If you want this versioning scheme to work, you have to take into account the energy to maintain the configuration. Otherwise, feedback will always be out of date, and the dialog not very constructive.
>
> Yes I maintain it do not worry.
>
> >
> > However, I did some more tests and it seems that some desynchronization appears in 3.0 as well, only I do not know how to reproduce the problem because I do not know where it comes from.
>
> Ok
> I would like to know that too.
>
> > Cyrille, could you detail your finding for documentation purpose?
> >
> > Cheers,
> > Doru
> >
> >
> > On 7 May 2011, at 11:49, Stéphane Ducasse wrote:
> >
> >> I do not get it.
> >> Don't you use the 3.0 version?
> >> Because I do not know what is the 1.0 especially since you loaded latest so this measn that I have no clue
> >> what version is really loaded and I will not have a look because I cannot spend time reverse engineer
> >> working set of packages.
> >> We started to sync with cyrille yesterday and I will merge his changes and produce a new 3.0 and a stable tag.
> >> So that people can load stable and we can continue to work on the integration.
> >>
> >> Stef
> >> On May 7, 2011, at 11:21 AM, Tudor Girba wrote:
> >>
> >>> The issue is that the Organizer gets out of sync. I do not know when, but I saw it happening. It is what I sent to the pharo mailing list:
> >>>
> >>> ---quote---
> >>>
> >>> ConfigurationOfRPackage 1.0 seems to go out of sync with the image after a while. For example, download the following Moose image:
> >>> http://hudson.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/artifact/moose/*zip*/moose.zip
> >>>
> >>> and try
> >>> RPackage organizer packageNamed: 'Famix-Core'
> >>>
> >>> ---
> >>>
> >>> Cheers,
> >>> Doru
> >>>
> >>> On 7 May 2011, at 11:15, Stéphane Ducasse wrote:
> >>>
> >>>>
> >>>> On May 6, 2011, at 3:25 PM, jannik.laval wrote:
> >>>>
> >>>>> Hi,
> >>>>>
> >>>>> I think to have a bug with RPackage.
> >>>>>
> >>>>> I used MooseScripts>>createModelForMoose.
> >>>>> This method works fine.
> >>>>>
> >>>>> then I removed 3 methods useless for Moose (see issue 614)
> >>>>>
> >>>>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
> >>>>> The cache of RPackage is not updated.
> >>>>
> >>>> what cache?
> >>>>>
> >>>>> Any solution ?
> >>>>>
> >>>>> Jannik
> >>>>> _______________________________________________
> >>>>> Moose-dev mailing list
> >>>>> [hidden email]
> >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Moose-dev mailing list
> >>>> [hidden email]
> >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>>
> >>> --
> >>> www.tudorgirba.com
> >>>
> >>> "From an abstract enough point of view, any two things are similar."
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Moose-dev mailing list
> >>> [hidden email]
> >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >>
> >>
> >> _______________________________________________
> >> Moose-dev mailing list
> >> [hidden email]
> >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > --
> > www.tudorgirba.com
> >
> > "Sometimes the best solution is not the best solution."
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Every now and then stop and ask yourself if the war you're fighting is the right one."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

Stéphane Ducasse

On May 7, 2011, at 10:49 PM, Cyrille Delaunay wrote:

> The bug appeared when removing two extensions methods (from the same extending package) for a same class.
> in RPackage >> removeMethod: , when removing an extension method, we were telling the organizer to remove the extending package for the class concerned. This was wrong, because even if one extension from this package has been removed, some others can still exist. And the organizer should keep the this package as extending package for the class.
> So removing the first extension method worked correctly, but then removing a second or more methods from the same package was raising some errors

Thanks we should write a test for that.

Stef

>
> 2011/5/7 Tudor Girba <[hidden email]>
> Hi,
>
> Could you tell us what the bug was? It would be good to know just in case in the future we encounter something similar.
>
> Cheers,
> Doru
>
>
> On 7 May 2011, at 16:51, Cyrille Delaunay wrote:
>
> > Yes I fixed the bug. just left to modify the version of RPackage to load the correct version of the modified package. I think stephane will do it while looking at my changes.
> >
> > 2011/5/7 Stéphane Ducasse <[hidden email]>
> >
> > On May 7, 2011, at 11:59 AM, Tudor Girba wrote:
> >
> > > Stef, you told us to load #stable and this is what we are loading, and currently #stable loads '1.0'.
> >
> > ok good then
> >
> > > That is why I asked on the Pharo mailing list if 3.0 is stable, so that #stable should point to it rather than to '1.0'.
> >
> > ah ok yes I think that it is more stable
> >
> > > If you want this versioning scheme to work, you have to take into account the energy to maintain the configuration. Otherwise, feedback will always be out of date, and the dialog not very constructive.
> >
> > Yes I maintain it do not worry.
> >
> > >
> > > However, I did some more tests and it seems that some desynchronization appears in 3.0 as well, only I do not know how to reproduce the problem because I do not know where it comes from.
> >
> > Ok
> > I would like to know that too.
> >
> > > Cyrille, could you detail your finding for documentation purpose?
> > >
> > > Cheers,
> > > Doru
> > >
> > >
> > > On 7 May 2011, at 11:49, Stéphane Ducasse wrote:
> > >
> > >> I do not get it.
> > >> Don't you use the 3.0 version?
> > >> Because I do not know what is the 1.0 especially since you loaded latest so this measn that I have no clue
> > >> what version is really loaded and I will not have a look because I cannot spend time reverse engineer
> > >> working set of packages.
> > >> We started to sync with cyrille yesterday and I will merge his changes and produce a new 3.0 and a stable tag.
> > >> So that people can load stable and we can continue to work on the integration.
> > >>
> > >> Stef
> > >> On May 7, 2011, at 11:21 AM, Tudor Girba wrote:
> > >>
> > >>> The issue is that the Organizer gets out of sync. I do not know when, but I saw it happening. It is what I sent to the pharo mailing list:
> > >>>
> > >>> ---quote---
> > >>>
> > >>> ConfigurationOfRPackage 1.0 seems to go out of sync with the image after a while. For example, download the following Moose image:
> > >>> http://hudson.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/artifact/moose/*zip*/moose.zip
> > >>>
> > >>> and try
> > >>> RPackage organizer packageNamed: 'Famix-Core'
> > >>>
> > >>> ---
> > >>>
> > >>> Cheers,
> > >>> Doru
> > >>>
> > >>> On 7 May 2011, at 11:15, Stéphane Ducasse wrote:
> > >>>
> > >>>>
> > >>>> On May 6, 2011, at 3:25 PM, jannik.laval wrote:
> > >>>>
> > >>>>> Hi,
> > >>>>>
> > >>>>> I think to have a bug with RPackage.
> > >>>>>
> > >>>>> I used MooseScripts>>createModelForMoose.
> > >>>>> This method works fine.
> > >>>>>
> > >>>>> then I removed 3 methods useless for Moose (see issue 614)
> > >>>>>
> > >>>>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
> > >>>>> The cache of RPackage is not updated.
> > >>>>
> > >>>> what cache?
> > >>>>>
> > >>>>> Any solution ?
> > >>>>>
> > >>>>> Jannik
> > >>>>> _______________________________________________
> > >>>>> Moose-dev mailing list
> > >>>>> [hidden email]
> > >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >>>>
> > >>>>
> > >>>> _______________________________________________
> > >>>> Moose-dev mailing list
> > >>>> [hidden email]
> > >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >>>
> > >>> --
> > >>> www.tudorgirba.com
> > >>>
> > >>> "From an abstract enough point of view, any two things are similar."
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> Moose-dev mailing list
> > >>> [hidden email]
> > >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >>
> > >>
> > >> _______________________________________________
> > >> Moose-dev mailing list
> > >> [hidden email]
> > >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> > >
> > > --
> > > www.tudorgirba.com
> > >
> > > "Sometimes the best solution is not the best solution."
> > >
> > >
> > > _______________________________________________
> > > Moose-dev mailing list
> > > [hidden email]
> > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> >
> > _______________________________________________
> > Moose-dev mailing list
> > [hidden email]
> > https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "Every now and then stop and ask yourself if the war you're fighting is the right one."
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

Tudor Girba
Hi,

RPackage 3.0 is not stable :(.

1. there is a self halt in CompiledMethod>>packageFromOrganizer:

According to the flag, this self halt should not be reached. However, try loading the following code after RPackage is loaded and you will see that the self halt is reached.

Gofer new
        squeaksource: 'bifrost';
        package: 'ConfigurationOfBifrost';
        load.
(Smalltalk at: #ConfigurationOfBifrost)
        perform: #loadDefault.

You can try to execute the above code in the latest moose-dev which already has the latest 3.0:
http://hudson.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/artifact/moose/*zip*/moose.zip

2. I tried to run the tests, and there are 3 errors

3. More important is that when running the tests you run several times into a deprecation message related to RPackageOrganizer>>includesClass: being deprecated.

This shows me that the tests were not run in a while.


We cannot release Moose without RPackage. Please let us work on this.

Cheers,
Doru


On 7 May 2011, at 23:03, Stéphane Ducasse wrote:

>
> On May 7, 2011, at 10:49 PM, Cyrille Delaunay wrote:
>
>> The bug appeared when removing two extensions methods (from the same extending package) for a same class.
>> in RPackage >> removeMethod: , when removing an extension method, we were telling the organizer to remove the extending package for the class concerned. This was wrong, because even if one extension from this package has been removed, some others can still exist. And the organizer should keep the this package as extending package for the class.
>> So removing the first extension method worked correctly, but then removing a second or more methods from the same package was raising some errors
>
> Thanks we should write a test for that.
>
> Stef
>
>>
>> 2011/5/7 Tudor Girba <[hidden email]>
>> Hi,
>>
>> Could you tell us what the bug was? It would be good to know just in case in the future we encounter something similar.
>>
>> Cheers,
>> Doru
>>
>>
>> On 7 May 2011, at 16:51, Cyrille Delaunay wrote:
>>
>>> Yes I fixed the bug. just left to modify the version of RPackage to load the correct version of the modified package. I think stephane will do it while looking at my changes.
>>>
>>> 2011/5/7 Stéphane Ducasse <[hidden email]>
>>>
>>> On May 7, 2011, at 11:59 AM, Tudor Girba wrote:
>>>
>>>> Stef, you told us to load #stable and this is what we are loading, and currently #stable loads '1.0'.
>>>
>>> ok good then
>>>
>>>> That is why I asked on the Pharo mailing list if 3.0 is stable, so that #stable should point to it rather than to '1.0'.
>>>
>>> ah ok yes I think that it is more stable
>>>
>>>> If you want this versioning scheme to work, you have to take into account the energy to maintain the configuration. Otherwise, feedback will always be out of date, and the dialog not very constructive.
>>>
>>> Yes I maintain it do not worry.
>>>
>>>>
>>>> However, I did some more tests and it seems that some desynchronization appears in 3.0 as well, only I do not know how to reproduce the problem because I do not know where it comes from.
>>>
>>> Ok
>>> I would like to know that too.
>>>
>>>> Cyrille, could you detail your finding for documentation purpose?
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>>
>>>> On 7 May 2011, at 11:49, Stéphane Ducasse wrote:
>>>>
>>>>> I do not get it.
>>>>> Don't you use the 3.0 version?
>>>>> Because I do not know what is the 1.0 especially since you loaded latest so this measn that I have no clue
>>>>> what version is really loaded and I will not have a look because I cannot spend time reverse engineer
>>>>> working set of packages.
>>>>> We started to sync with cyrille yesterday and I will merge his changes and produce a new 3.0 and a stable tag.
>>>>> So that people can load stable and we can continue to work on the integration.
>>>>>
>>>>> Stef
>>>>> On May 7, 2011, at 11:21 AM, Tudor Girba wrote:
>>>>>
>>>>>> The issue is that the Organizer gets out of sync. I do not know when, but I saw it happening. It is what I sent to the pharo mailing list:
>>>>>>
>>>>>> ---quote---
>>>>>>
>>>>>> ConfigurationOfRPackage 1.0 seems to go out of sync with the image after a while. For example, download the following Moose image:
>>>>>> http://hudson.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/artifact/moose/*zip*/moose.zip
>>>>>>
>>>>>> and try
>>>>>> RPackage organizer packageNamed: 'Famix-Core'
>>>>>>
>>>>>> ---
>>>>>>
>>>>>> Cheers,
>>>>>> Doru
>>>>>>
>>>>>> On 7 May 2011, at 11:15, Stéphane Ducasse wrote:
>>>>>>
>>>>>>>
>>>>>>> On May 6, 2011, at 3:25 PM, jannik.laval wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I think to have a bug with RPackage.
>>>>>>>>
>>>>>>>> I used MooseScripts>>createModelForMoose.
>>>>>>>> This method works fine.
>>>>>>>>
>>>>>>>> then I removed 3 methods useless for Moose (see issue 614)
>>>>>>>>
>>>>>>>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
>>>>>>>> The cache of RPackage is not updated.
>>>>>>>
>>>>>>> what cache?
>>>>>>>>
>>>>>>>> Any solution ?
>>>>>>>>
>>>>>>>> Jannik
>>>>>>>> _______________________________________________
>>>>>>>> Moose-dev mailing list
>>>>>>>> [hidden email]
>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Moose-dev mailing list
>>>>>>> [hidden email]
>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>
>>>>>> --
>>>>>> www.tudorgirba.com
>>>>>>
>>>>>> "From an abstract enough point of view, any two things are similar."
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Moose-dev mailing list
>>>>>> [hidden email]
>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "Sometimes the best solution is not the best solution."
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> www.tudorgirba.com
>>
>> "Every now and then stop and ask yourself if the war you're fighting is the right one."
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Value is always contextual."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: RPackage issue ?

Stéphane Ducasse
I can revert to 1.0 if this is simpler for you

> RPackage 3.0 is not stable :(.
>
> 1. there is a self halt in CompiledMethod>>packageFromOrganizer:
>
> According to the flag, this self halt should not be reached. However, try loading the following code after RPackage is loaded and you will see that the self halt is reached.
>
> Gofer new
> squeaksource: 'bifrost';
> package: 'ConfigurationOfBifrost';
> load.
> (Smalltalk at: #ConfigurationOfBifrost)
> perform: #loadDefault.
>
> You can try to execute the above code in the latest moose-dev which already has the latest 3.0:
> http://hudson.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/artifact/moose/*zip*/moose.zip
>
> 2. I tried to run the tests, and there are 3 errors
>
> 3. More important is that when running the tests you run several times into a deprecation message related to RPackageOrganizer>>includesClass: being deprecated.

I do not understand why because when I take the latest pharo I do not see it.
I will fix that

>
> This shows me that the tests were not run in a while.
>
>
> We cannot release Moose without RPackage. Please let us work on this.
>
> Cheers,
> Doru
>
>
> On 7 May 2011, at 23:03, Stéphane Ducasse wrote:
>
>>
>> On May 7, 2011, at 10:49 PM, Cyrille Delaunay wrote:
>>
>>> The bug appeared when removing two extensions methods (from the same extending package) for a same class.
>>> in RPackage >> removeMethod: , when removing an extension method, we were telling the organizer to remove the extending package for the class concerned. This was wrong, because even if one extension from this package has been removed, some others can still exist. And the organizer should keep the this package as extending package for the class.
>>> So removing the first extension method worked correctly, but then removing a second or more methods from the same package was raising some errors
>>
>> Thanks we should write a test for that.
>>
>> Stef
>>
>>>
>>> 2011/5/7 Tudor Girba <[hidden email]>
>>> Hi,
>>>
>>> Could you tell us what the bug was? It would be good to know just in case in the future we encounter something similar.
>>>
>>> Cheers,
>>> Doru
>>>
>>>
>>> On 7 May 2011, at 16:51, Cyrille Delaunay wrote:
>>>
>>>> Yes I fixed the bug. just left to modify the version of RPackage to load the correct version of the modified package. I think stephane will do it while looking at my changes.
>>>>
>>>> 2011/5/7 Stéphane Ducasse <[hidden email]>
>>>>
>>>> On May 7, 2011, at 11:59 AM, Tudor Girba wrote:
>>>>
>>>>> Stef, you told us to load #stable and this is what we are loading, and currently #stable loads '1.0'.
>>>>
>>>> ok good then
>>>>
>>>>> That is why I asked on the Pharo mailing list if 3.0 is stable, so that #stable should point to it rather than to '1.0'.
>>>>
>>>> ah ok yes I think that it is more stable
>>>>
>>>>> If you want this versioning scheme to work, you have to take into account the energy to maintain the configuration. Otherwise, feedback will always be out of date, and the dialog not very constructive.
>>>>
>>>> Yes I maintain it do not worry.
>>>>
>>>>>
>>>>> However, I did some more tests and it seems that some desynchronization appears in 3.0 as well, only I do not know how to reproduce the problem because I do not know where it comes from.
>>>>
>>>> Ok
>>>> I would like to know that too.
>>>>
>>>>> Cyrille, could you detail your finding for documentation purpose?
>>>>>
>>>>> Cheers,
>>>>> Doru
>>>>>
>>>>>
>>>>> On 7 May 2011, at 11:49, Stéphane Ducasse wrote:
>>>>>
>>>>>> I do not get it.
>>>>>> Don't you use the 3.0 version?
>>>>>> Because I do not know what is the 1.0 especially since you loaded latest so this measn that I have no clue
>>>>>> what version is really loaded and I will not have a look because I cannot spend time reverse engineer
>>>>>> working set of packages.
>>>>>> We started to sync with cyrille yesterday and I will merge his changes and produce a new 3.0 and a stable tag.
>>>>>> So that people can load stable and we can continue to work on the integration.
>>>>>>
>>>>>> Stef
>>>>>> On May 7, 2011, at 11:21 AM, Tudor Girba wrote:
>>>>>>
>>>>>>> The issue is that the Organizer gets out of sync. I do not know when, but I saw it happening. It is what I sent to the pharo mailing list:
>>>>>>>
>>>>>>> ---quote---
>>>>>>>
>>>>>>> ConfigurationOfRPackage 1.0 seems to go out of sync with the image after a while. For example, download the following Moose image:
>>>>>>> http://hudson.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/artifact/moose/*zip*/moose.zip
>>>>>>>
>>>>>>> and try
>>>>>>> RPackage organizer packageNamed: 'Famix-Core'
>>>>>>>
>>>>>>> ---
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Doru
>>>>>>>
>>>>>>> On 7 May 2011, at 11:15, Stéphane Ducasse wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> On May 6, 2011, at 3:25 PM, jannik.laval wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I think to have a bug with RPackage.
>>>>>>>>>
>>>>>>>>> I used MooseScripts>>createModelForMoose.
>>>>>>>>> This method works fine.
>>>>>>>>>
>>>>>>>>> then I removed 3 methods useless for Moose (see issue 614)
>>>>>>>>>
>>>>>>>>> When I rerun MooseScripts>>createModelForMoose, there is an error key not found.
>>>>>>>>> The cache of RPackage is not updated.
>>>>>>>>
>>>>>>>> what cache?
>>>>>>>>>
>>>>>>>>> Any solution ?
>>>>>>>>>
>>>>>>>>> Jannik
>>>>>>>>> _______________________________________________
>>>>>>>>> Moose-dev mailing list
>>>>>>>>> [hidden email]
>>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Moose-dev mailing list
>>>>>>>> [hidden email]
>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>>
>>>>>>> --
>>>>>>> www.tudorgirba.com
>>>>>>>
>>>>>>> "From an abstract enough point of view, any two things are similar."
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Moose-dev mailing list
>>>>>>> [hidden email]
>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Moose-dev mailing list
>>>>>> [hidden email]
>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>
>>>>> --
>>>>> www.tudorgirba.com
>>>>>
>>>>> "Sometimes the best solution is not the best solution."
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "Every now and then stop and ask yourself if the war you're fighting is the right one."
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "Value is always contextual."
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
12