[Pharo-project] RPackage by-hand code
Hi, I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ? The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it. My Pharo version is 20346. Thanks in advance, Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
You can try RPackageOrganizer initialize but that does not always work :/ On 2012-10-17, at 13:41, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi,
I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ?
The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it.
My Pharo version is 20346.
Thanks in advance,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
Hi, RPackageOrganizer initialize. should do it. Esteban On Oct 17, 2012, at 1:41 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi,
I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ?
The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it.
My Pharo version is 20346.
Thanks in advance,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
Le 17/10/2012 13:49, Esteban Lorenzano a écrit :
Hi,
RPackageOrganizer initialize.
should do it.
Esteban
It doesn't. Trust me, I tried. Multiple times :( Thierry
On Oct 17, 2012, at 1:41 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi,
I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ?
The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it.
My Pharo version is 20346.
Thanks in advance,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
is there an MCWorkingCopy of your code package? MCWorkingCopy allManagers. and a package info? PackageIngo allPackages. Esteban On Oct 17, 2012, at 1:56 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 17/10/2012 13:49, Esteban Lorenzano a écrit :
Hi,
RPackageOrganizer initialize.
should do it.
Esteban
It doesn't.
Trust me, I tried. Multiple times :(
Thierry
On Oct 17, 2012, at 1:41 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi,
I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ?
The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it.
My Pharo version is 20346.
Thanks in advance,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
I also would like to collect how your methods were missing... it is reproducible? Esteban On Oct 17, 2012, at 1:58 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
is there an MCWorkingCopy of your code package?
MCWorkingCopy allManagers.
and a package info?
PackageIngo allPackages.
Esteban
On Oct 17, 2012, at 1:56 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 17/10/2012 13:49, Esteban Lorenzano a écrit :
Hi,
RPackageOrganizer initialize.
should do it.
Esteban
It doesn't.
Trust me, I tried. Multiple times :(
Thierry
On Oct 17, 2012, at 1:41 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi,
I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ?
The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it.
My Pharo version is 20346.
Thanks in advance,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
Le 17/10/2012 14:16, Esteban Lorenzano a écrit :
I also would like to collect how your methods were missing... it is reproducible?
I don't know. It happened apparently during a RPackageOrganizer initialize in the past 8 or 10 updates, but I don't know if I can reproduce it. It may have started when I added a companion MC package (a package with, as name, an extension to the main package) to the main one and the code was appearing in both the main package and the companion. Thierry
Esteban
On Oct 17, 2012, at 1:58 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
is there an MCWorkingCopy of your code package?
MCWorkingCopy allManagers.
and a package info?
PackageIngo allPackages.
Esteban
On Oct 17, 2012, at 1:56 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 17/10/2012 13:49, Esteban Lorenzano a écrit :
Hi,
RPackageOrganizer initialize.
should do it.
Esteban
It doesn't.
Trust me, I tried. Multiple times :(
Thierry
On Oct 17, 2012, at 1:41 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi,
I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ?
The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it.
My Pharo version is 20346.
Thanks in advance,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
Le 17/10/2012 14:16, Esteban Lorenzano a écrit :
I also would like to collect how your methods were missing... it is reproducible?
It's even worse than I thought. I'm now loosing the code in three packages when I do RPackageOrganize initialize They just don't appear at all in Nautilus; as if they didn't exist. Thierry
Esteban
On Oct 17, 2012, at 1:58 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
is there an MCWorkingCopy of your code package?
MCWorkingCopy allManagers.
and a package info?
PackageIngo allPackages.
Esteban
On Oct 17, 2012, at 1:56 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 17/10/2012 13:49, Esteban Lorenzano a écrit :
Hi,
RPackageOrganizer initialize.
should do it.
Esteban
It doesn't.
Trust me, I tried. Multiple times :(
Thierry
On Oct 17, 2012, at 1:41 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi,
I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ?
The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it.
My Pharo version is 20346.
Thanks in advance,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
can I have your image to explore? (if there are some "private" code, I can sign whatever confidentiality agreement you want :P) Esteban On Oct 17, 2012, at 3:56 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 17/10/2012 14:16, Esteban Lorenzano a écrit :
I also would like to collect how your methods were missing... it is reproducible?
It's even worse than I thought. I'm now loosing the code in three packages when I do
RPackageOrganize initialize
They just don't appear at all in Nautilus; as if they didn't exist.
Thierry
Esteban
On Oct 17, 2012, at 1:58 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
is there an MCWorkingCopy of your code package?
MCWorkingCopy allManagers.
and a package info?
PackageIngo allPackages.
Esteban
On Oct 17, 2012, at 1:56 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 17/10/2012 13:49, Esteban Lorenzano a écrit :
Hi,
RPackageOrganizer initialize.
should do it.
Esteban
It doesn't.
Trust me, I tried. Multiple times :(
Thierry
On Oct 17, 2012, at 1:41 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi,
I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ?
The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it.
My Pharo version is 20346.
Thanks in advance,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
Le 17/10/2012 16:08, Esteban Lorenzano a écrit :
can I have your image to explore? (if there are some "private" code, I can sign whatever confidentiality agreement you want :P)
I have two images: a brand new 20346 image with a minimum of packages loaded (the one just before RPackageOrganizer initialize), and the one where I saw the problem in the first place. There is nothing private in there; all the packages are on ss3. The simpler is probably the new one (it's also a bit smaller). Thierry
Esteban
On Oct 17, 2012, at 3:56 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 17/10/2012 14:16, Esteban Lorenzano a écrit :
I also would like to collect how your methods were missing... it is reproducible?
It's even worse than I thought. I'm now loosing the code in three packages when I do
RPackageOrganize initialize
They just don't appear at all in Nautilus; as if they didn't exist.
Thierry
Esteban
On Oct 17, 2012, at 1:58 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
is there an MCWorkingCopy of your code package?
MCWorkingCopy allManagers.
and a package info?
PackageIngo allPackages.
Esteban
On Oct 17, 2012, at 1:56 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 17/10/2012 13:49, Esteban Lorenzano a écrit :
Hi,
RPackageOrganizer initialize.
should do it.
Esteban
It doesn't.
Trust me, I tried. Multiple times :(
Thierry
On Oct 17, 2012, at 1:41 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi,
I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ?
The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it.
My Pharo version is 20346.
Thanks in advance,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
So how can we reproduce it because we want to kill all the remaining bugs out of RPackage integration. Do you have a code snippet? Stef On Oct 17, 2012, at 4:20 PM, Goubier Thierry wrote:
Le 17/10/2012 16:08, Esteban Lorenzano a écrit :
can I have your image to explore? (if there are some "private" code, I can sign whatever confidentiality agreement you want :P)
I have two images: a brand new 20346 image with a minimum of packages loaded (the one just before RPackageOrganizer initialize), and the one where I saw the problem in the first place.
There is nothing private in there; all the packages are on ss3.
The simpler is probably the new one (it's also a bit smaller).
Thierry
Esteban
On Oct 17, 2012, at 3:56 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 17/10/2012 14:16, Esteban Lorenzano a écrit :
I also would like to collect how your methods were missing... it is reproducible?
It's even worse than I thought. I'm now loosing the code in three packages when I do
RPackageOrganize initialize
They just don't appear at all in Nautilus; as if they didn't exist.
Thierry
Esteban
On Oct 17, 2012, at 1:58 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
is there an MCWorkingCopy of your code package?
MCWorkingCopy allManagers.
and a package info?
PackageIngo allPackages.
Esteban
On Oct 17, 2012, at 1:56 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 17/10/2012 13:49, Esteban Lorenzano a écrit :
Hi,
RPackageOrganizer initialize.
should do it.
Esteban
It doesn't.
Trust me, I tried. Multiple times :(
Thierry
On Oct 17, 2012, at 1:41 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi,
I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ?
The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it.
My Pharo version is 20346.
Thanks in advance,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
Hum. I don't know how to easily reproduce the bug, but you may see the result. Take the last 2.0 image for download, open a Monticello browser, select one of the Refactoring-Tests-* package, do browse package, and look at what's inside the browser. Can also be checked through: ReleaseTest>>testUnpackagedClasses : unpackagesClasses isn't empty. I believed it happened in a RPackageOrganizer initialize in one of the recent updates, but why? It does not happens everytime with my packages: sometimes it's one, another time it's three packages, and yet another time it's none. Esteban has my image, but it seems hard to reproduce. Thierry ________________________________________ De : pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] de la part de Stéphane Ducasse [stephane.ducasse@inria.fr] Date d'envoi : jeudi 18 octobre 2012 18:59 à : Pharo-project@lists.gforge.inria.fr Objet : Re: [Pharo-project] RPackage by-hand code So how can we reproduce it because we want to kill all the remaining bugs out of RPackage integration. Do you have a code snippet? Stef On Oct 17, 2012, at 4:20 PM, Goubier Thierry wrote:
Le 17/10/2012 16:08, Esteban Lorenzano a écrit :
can I have your image to explore? (if there are some "private" code, I can sign whatever confidentiality agreement you want :P)
I have two images: a brand new 20346 image with a minimum of packages loaded (the one just before RPackageOrganizer initialize), and the one where I saw the problem in the first place.
There is nothing private in there; all the packages are on ss3.
The simpler is probably the new one (it's also a bit smaller).
Thierry
Esteban
On Oct 17, 2012, at 3:56 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 17/10/2012 14:16, Esteban Lorenzano a écrit :
I also would like to collect how your methods were missing... it is reproducible?
It's even worse than I thought. I'm now loosing the code in three packages when I do
RPackageOrganize initialize
They just don't appear at all in Nautilus; as if they didn't exist.
Thierry
Esteban
On Oct 17, 2012, at 1:58 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
is there an MCWorkingCopy of your code package?
MCWorkingCopy allManagers.
and a package info?
PackageIngo allPackages.
Esteban
On Oct 17, 2012, at 1:56 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 17/10/2012 13:49, Esteban Lorenzano a écrit :
Hi,
RPackageOrganizer initialize.
should do it.
Esteban
It doesn't.
Trust me, I tried. Multiple times :(
Thierry
On Oct 17, 2012, at 1:41 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi,
I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ?
The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it.
My Pharo version is 20346.
Thanks in advance,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
On Oct 18, 2012, at 11:37 PM, GOUBIER Thierry wrote:
Hum. I don't know how to easily reproduce the bug, but you may see the result.
Take the last 2.0 image for download, open a Monticello browser, select one of the Refactoring-Tests-* package, do browse package, and look at what's inside the browser.
Yes I just found exactly the same problems. I could not find the Refactoring-Tests and the classes are in the system but Nautilus is not able to show them. Probably because RPackage sync is wrong.
Can also be checked through: ReleaseTest>>testUnpackagedClasses : unpackagesClasses isn't empty.
I believed it happened in a RPackageOrganizer initialize in one of the recent updates, but why? It does not happens everytime with my packages: sometimes it's one, another time it's three packages, and yet another time it's none. Esteban has my image, but it seems hard to reproduce.
Ok thanks we will have a look.
Thierry ________________________________________ De : pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] de la part de Stéphane Ducasse [stephane.ducasse@inria.fr] Date d'envoi : jeudi 18 octobre 2012 18:59 à : Pharo-project@lists.gforge.inria.fr Objet : Re: [Pharo-project] RPackage by-hand code
So how can we reproduce it because we want to kill all the remaining bugs out of RPackage integration. Do you have a code snippet? Stef
On Oct 17, 2012, at 4:20 PM, Goubier Thierry wrote:
Le 17/10/2012 16:08, Esteban Lorenzano a écrit :
can I have your image to explore? (if there are some "private" code, I can sign whatever confidentiality agreement you want :P)
I have two images: a brand new 20346 image with a minimum of packages loaded (the one just before RPackageOrganizer initialize), and the one where I saw the problem in the first place.
There is nothing private in there; all the packages are on ss3.
The simpler is probably the new one (it's also a bit smaller).
Thierry
Esteban
On Oct 17, 2012, at 3:56 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 17/10/2012 14:16, Esteban Lorenzano a écrit :
I also would like to collect how your methods were missing... it is reproducible?
It's even worse than I thought. I'm now loosing the code in three packages when I do
RPackageOrganize initialize
They just don't appear at all in Nautilus; as if they didn't exist.
Thierry
Esteban
On Oct 17, 2012, at 1:58 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
is there an MCWorkingCopy of your code package?
MCWorkingCopy allManagers.
and a package info?
PackageIngo allPackages.
Esteban
On Oct 17, 2012, at 1:56 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 17/10/2012 13:49, Esteban Lorenzano a écrit :
Hi,
RPackageOrganizer initialize.
should do it.
Esteban
It doesn't.
Trust me, I tried. Multiple times :(
Thierry
On Oct 17, 2012, at 1:41 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi,
I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ?
The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it.
My Pharo version is 20346.
Thanks in advance,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
Le 19/10/2012 09:14, Stéphane Ducasse a écrit :
On Oct 18, 2012, at 11:37 PM, GOUBIER Thierry wrote:
Hum. I don't know how to easily reproduce the bug, but you may see the result.
Take the last 2.0 image for download, open a Monticello browser, select one of the Refactoring-Tests-* package, do browse package, and look at what's inside the browser.
Yes I just found exactly the same problems. I could not find the Refactoring-Tests and the classes are in the system but Nautilus is not able to show them. Probably because RPackage sync is wrong.
Ok, I think I have a way to reproduce it, or to check if it happens in another setup than mine: http://code.google.com/p/pharo/issues/detail?id=6834#c3 On a 20351 default image executing RPackageOrganizer initialize. Will empty the following packages: Hudson* Metacello* Look at the result of Smalltalk allClasses select: [:each | (RPackageOrganizer default packageOf: each) packageName = RPackage defaultPackageName ]
Can also be checked through: ReleaseTest>>testUnpackagedClasses : unpackagesClasses isn't empty.
I believed it happened in a RPackageOrganizer initialize in one of the recent updates, but why? It does not happens everytime with my packages: sometimes it's one, another time it's three packages, and yet another time it's none. Esteban has my image, but it seems hard to reproduce.
Ok thanks we will have a look.
Thanks as well for trying to solve that. Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
Hi, I have a fix (for the lost packages issue), but I cannot integrate now because google is in read-only mode. In the mean time, you can merge issue 6834 (slice is in PharoInbox) and execute: MCWorkingCopy allManagers do: #packageSet. RPackageOrganizer initialize. Esteban On Oct 19, 2012, at 10:51 AM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 19/10/2012 09:14, Stéphane Ducasse a écrit :
On Oct 18, 2012, at 11:37 PM, GOUBIER Thierry wrote:
Hum. I don't know how to easily reproduce the bug, but you may see the result.
Take the last 2.0 image for download, open a Monticello browser, select one of the Refactoring-Tests-* package, do browse package, and look at what's inside the browser.
Yes I just found exactly the same problems. I could not find the Refactoring-Tests and the classes are in the system but Nautilus is not able to show them. Probably because RPackage sync is wrong.
Ok, I think I have a way to reproduce it, or to check if it happens in another setup than mine:
http://code.google.com/p/pharo/issues/detail?id=6834#c3
On a 20351 default image executing
RPackageOrganizer initialize.
Will empty the following packages:
Hudson* Metacello*
Look at the result of
Smalltalk allClasses select: [:each | (RPackageOrganizer default packageOf: each) packageName = RPackage defaultPackageName ]
Can also be checked through: ReleaseTest>>testUnpackagedClasses : unpackagesClasses isn't empty.
I believed it happened in a RPackageOrganizer initialize in one of the recent updates, but why? It does not happens everytime with my packages: sometimes it's one, another time it's three packages, and yet another time it's none. Esteban has my image, but it seems hard to reproduce.
Ok thanks we will have a look.
Thanks as well for trying to solve that.
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
Hi Esteban, Thanks, it worked perfectly! One more step towards 2.0 beta status, and a good start for the week-end :) Thierry Le 19/10/2012 16:32, Esteban Lorenzano a écrit :
Hi,
I have a fix (for the lost packages issue), but I cannot integrate now because google is in read-only mode. In the mean time, you can
merge issue 6834 (slice is in PharoInbox)
and execute:
MCWorkingCopy allManagers do: #packageSet. RPackageOrganizer initialize.
Esteban
On Oct 19, 2012, at 10:51 AM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 19/10/2012 09:14, Stéphane Ducasse a écrit :
On Oct 18, 2012, at 11:37 PM, GOUBIER Thierry wrote:
Hum. I don't know how to easily reproduce the bug, but you may see the result.
Take the last 2.0 image for download, open a Monticello browser, select one of the Refactoring-Tests-* package, do browse package, and look at what's inside the browser.
Yes I just found exactly the same problems. I could not find the Refactoring-Tests and the classes are in the system but Nautilus is not able to show them. Probably because RPackage sync is wrong.
Ok, I think I have a way to reproduce it, or to check if it happens in another setup than mine:
http://code.google.com/p/pharo/issues/detail?id=6834#c3
On a 20351 default image executing
RPackageOrganizer initialize.
Will empty the following packages:
Hudson* Metacello*
Look at the result of
Smalltalk allClasses select: [:each | (RPackageOrganizer default packageOf: each) packageName = RPackage defaultPackageName ]
Can also be checked through: ReleaseTest>>testUnpackagedClasses : unpackagesClasses isn't empty.
I believed it happened in a RPackageOrganizer initialize in one of the recent updates, but why? It does not happens everytime with my packages: sometimes it's one, another time it's three packages, and yet another time it's none. Esteban has my image, but it seems hard to reproduce.
Ok thanks we will have a look.
Thanks as well for trying to solve that.
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
Le 17/10/2012 13:58, Esteban Lorenzano a écrit :
is there an MCWorkingCopy of your code package?
MCWorkingCopy allManagers.
Yes.
and a package info?
PackageIngo allPackages.
No. Thierry
Esteban
On Oct 17, 2012, at 1:56 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 17/10/2012 13:49, Esteban Lorenzano a écrit :
Hi,
RPackageOrganizer initialize.
should do it.
Esteban
It doesn't.
Trust me, I tried. Multiple times :(
Thierry
On Oct 17, 2012, at 1:41 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi,
I have a problem in Pharo 2.0, among the recent updates, RPackage lost most of the code in one of my packages. Would someone know how to write a small script to force a reload in RPackage of a Smalltalk Category ?
The code is still there, in the right system category, but neither Nautilus nor Monticello sees it, and I'm afraid of doing anything like saving the package which would erase most of what is in it.
My Pharo version is 20346.
Thanks in advance,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
participants (5)
-
Camillo Bruni -
Esteban Lorenzano -
GOUBIER Thierry -
Goubier Thierry -
Stéphane Ducasse