[Pharo-project] bug in Nautilus/RPackage?

Alexandre Bergel alexandre.bergel at me.com
Sun May 22 01:55:00 CEST 2011


Hi!

I took a fresh 1.3 image, and do it the following:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Gofer new
	squeaksource: 'Spy'; 
	package: 'ConfigurationOfSpy';
	load.
(Smalltalk at: #ConfigurationOfSpy) project lastVersion load.

Gofer new
	squeaksource: 'Nautilus'; 
	package: 'ConfigurationOfNautilus';
	load.
(Smalltalk at: #ConfigurationOfNautilus) project lastVersion load
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

I see the packages Spy, Spy-Core, .... Clicking on Spy-Core raises an error: Does not understand NautilusUI>>historyChanged. Below the pharo debug file
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PharoDebug.log
Type: application/octet-stream
Size: 35460 bytes
Desc: not available
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20110521/d8580e65/attachment.obj>
-------------- next part --------------



When I load Nautilus first then Spy, only an empty Spy package appears in the browser with:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Gofer new
	squeaksource: 'Nautilus'; 
	package: 'ConfigurationOfNautilus';
	load.
(Smalltalk at: #ConfigurationOfNautilus) project lastVersion load.

Gofer new
	squeaksource: 'Spy'; 
	package: 'ConfigurationOfSpy';
	load.
(Smalltalk at: #ConfigurationOfSpy) project lastVersion load.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

I am ready to push Nautilus.

Cheers,
Alexandre

On 20 May 2011, at 17:50, Benjamin wrote:

> Can you inspect the RPackageOrganizer to see if it comes from RPackage or from Nautilus please ?
> 
> 
> Thanks in advance,
> 
> 
> Ben
> 
> On May 20, 2011, at 10:26 PM, Alexandre Bergel wrote:
> 
>>> I don't know how to reproduce the situation in the screenshot, but I have a small idea of what the problem is:
>>> Your package Spy is composed of several subcategories. All the classes are defined in the subcategories but none is defined in the one called 'Spy'. 
>> 
>> All Spy classes are defined in a category Spy-XXX
>> 
>>> In Rpackage, the classes are put inside the RPackage matching the category in which the class is defined
>> 
>> What does it mean? How comes that the package Spy was created? Where does it come from?
>> 
>> I just took a fresh 1.3 one click, downloaded Nautilus then Spy. Spy appear as one single package called 'Spy'. No idea where it comes from.
>> 
>> Alexandre
>> 
>>> 
>>> 2011/5/19 Alexandre Bergel <alexandre.bergel at me.com>
>>> Thanks for making it happen :-)
>>> 
>>> Alexandre
>>> 
>>> 
>>> On 19 May 2011, at 15:39, St?phane Ducasse wrote:
>>> 
>>>> thanks for reporting it.
>>>> 
>>>> do you have a reproducable way of arriving to this state?
>>>> 
>>>>> Hi !
>>>>> 
>>>>> I think I bumped into a bug when using Nautilus. I am not sure whether this is due to RPackage or not.
>>>>> 
>>>>> I loaded Spy, and apparently there is no class in the package within Nautilus.
>>>>> 
>>>>> Cheers,
>>>>> Alexandre
>>>>> --
>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> <Screen shot 2011-05-19 at 11.21.23.png>
>>>> 
>>>> 
>>> 
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> -- 
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 

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







More information about the Pharo-project mailing list