Class disappear from Nautilus, in Pharo 4

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

Class disappear from Nautilus, in Pharo 4

HilaireFernandes
Hi,

I have a class which has disappear from Nautilus & al tools. The object
is still there as I can create instance of it: CGPhone new
But browsing lead to a Nautilus error, and the class does not appear as
well from Nautilus browser.

Included change log.

Thanks

Hilaire

--
Dr. Geo
http://drgeo.eu

PharoDebug.log (28K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Class disappear from Nautilus, in Pharo 4

Henrik Nergaard-2
Looks like the class was created without a package?

Try something like:
CGPhone category: 'PackageName'

Best regards,
Henrik

-----Original Message-----
From: Pharo-users [mailto:[hidden email]] On Behalf Of Hilaire
Sent: Friday, November 11, 2016 10:15 AM
To: [hidden email]
Subject: [Pharo-users] Class disappear from Nautilus, in Pharo 4

Hi,

I have a class which has disappear from Nautilus & al tools. The object is still there as I can create instance of it: CGPhone new But browsing lead to a Nautilus error, and the class does not appear as well from Nautilus browser.

Included change log.

Thanks

Hilaire

--
Dr. Geo
http://drgeo.eu
Reply | Threaded
Open this post in threaded view
|

Re: Class disappear from Nautilus, in Pharo 4

HilaireFernandes
Hi Henrik,

It was categorized since years, and now I can see it disappeared from
the Monticello save, since maybe one year, glup! This is scarring as
reloading code in fresh image will lead to missing code.

Forcing recategorisation leads to another error, see log.

Thanks

Hilaire

Le 11/11/2016 à 10:36, Henrik Nergaard a écrit :
> Looks like the class was created without a package?
>
> Try something like:
> CGPhone category: 'PackageName'
>
> Best regards,
> Henrik

--
Dr. Geo
http://drgeo.eu

PharoDebug.log (22K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Class disappear from Nautilus, in Pharo 4

Thierry Goubier
Le 11/11/2016 à 10:51, Hilaire a écrit :
> Hi Henrik,
>
> It was categorized since years, and now I can see it disappeared from
> the Monticello save, since maybe one year, glup! This is scarring as
> reloading code in fresh image will lead to missing code.

Can you track down in your package versions where it stopped being
categorized properly?

> Forcing recategorisation leads to another error, see log.

What about converting the mcz to filetree, and reworking (updating by
hand the package structure)?

Thierry

> Thanks
>
> Hilaire
>
> Le 11/11/2016 à 10:36, Henrik Nergaard a écrit :
>> Looks like the class was created without a package?
>>
>> Try something like:
>> CGPhone category: 'PackageName'
>>
>> Best regards,
>> Henrik
>


Reply | Threaded
Open this post in threaded view
|

Re: Class disappear from Nautilus, in Pharo 4

HilaireFernandes
Hi Thierry,

Le 11/11/2016 à 11:23, Thierry Goubier a écrit :
> Can you track down in your package versions where it stopped being
> categorized properly?

Is Nautilus unable to browse uncategorised class?
I track the problem to March 2016, a few weeks after switching to Pharo4
(at least this class disappear from the package at this time).
Then I did no uncategorise this class, may be another error from me, but
odd as I was not working on that sector of the application.

> What about converting the mcz to filetree, and reworking (updating by
> hand the package structure)?

May be, there are several way, but it is likely to be from a fresh image :(

Thanks

Hilaire
--
Dr. Geo
http://drgeo.eu


Reply | Threaded
Open this post in threaded view
|

Re: Class disappear from Nautilus, in Pharo 4

HilaireFernandes
I sorted out the problem by copying then renaming the class and
categorising the copy.

Thanks

Hilaire

Le 11/11/2016 à 11:48, Hilaire a écrit :
>> What about converting the mcz to filetree, and reworking (updating by
>> > hand the package structure)?
> May be, there are several way, but it is likely to be from a fresh image :(

--
Dr. Geo
http://drgeo.eu


Reply | Threaded
Open this post in threaded view
|

Re: Class disappear from Nautilus, in Pharo 4

Thierry Goubier
Le 11/11/2016 à 12:16, Hilaire a écrit :
> I sorted out the problem by copying then renaming the class and
> categorising the copy.

I would suggest then rebuilding your image from scratch now. I know I
would be worried by a possible incorrect state of RPackageOrganizer.

Regards,

Thierry

> Thanks
>
> Hilaire
>
> Le 11/11/2016 à 11:48, Hilaire a écrit :
>>> What about converting the mcz to filetree, and reworking (updating by
>>>> hand the package structure)?
>> May be, there are several way, but it is likely to be from a fresh image :(
>