Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- 1 participants
- 144621 messages
Re: [Pharo-project] Set with nil
by Stéphane Ducasse
On May 20, 2011, at 9:40 AM, Bernat Romagosa wrote:
> If we understand nil as the empty set (like some other languages do),
???
No nil is not the empty set this is the undefined object.
Stef
> then Set with: nil is not any different than Set with: Set new.
>
> 2011/5/20 Igor Stasenko <siguctua(a)gmail.com>
> On 20 May 2011 04:13, Guillermo Polito <guillermopolito(a)gmail.com> wrote:
> > Hi!
> >
> > Since a year ago, we have this issue:
> >
> > http://code.google.com/p/pharo/issues/detail?id=1907
> >
> > There were 2 solutions proposed, and the 2 were developed by different
> > people. But for some reason it was not integrated and continuously
> > postponed.
> >
> > So, my question is: Do we want Sets accepting nil? If we don't, the issue
> > is invalid. If we do, can someone review the code proposed?
> >
>
> Its not invalid. Stef reminds me about it from time to time.
> And actually we wanted to sit and review and integrate it but it
> always something else needs our attention.
>
> > Thanks!
> > Guille
> >
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
>
May 20, 2011
Re: [Pharo-project] Name spaces
by Stéphane Ducasse
On May 20, 2011, at 9:40 AM, Noury Bouraqadi wrote:
> Hi,
>
> I'm wondering what is the status of the name spaces project developed last summer as part of GSoC.
nowhere and do not expect it to be in pharo.
Stef
>
> Noury
> http://car.mines-douai.fr/noury
> --
> -6th National Conference on
> âControl Architecture of Robotsâ
> 24-25 may 2011, Grenoble area, France
> http://car2011.inrialpes.fr/
>
> -19th ESUG International Smalltalk Conference
> 22-26 August 2011, Edinburgh, UK
> http://www.esug.org/Conferences/2011
>
> -19èmes Journées Francophones sur les Systèmes Multi-Agents (JFSMAâ11)
> http://www.univ-valenciennes.fr/congres/jfsma2011/
> 17-19 Octobre 2011, Valenciennes, France
>
>
>
>
>
>
May 20, 2011
Re: [Pharo-project] Set with nil
by Bernat Romagosa
If we understand nil as the empty set (like some other languages do), then
Set with: nil is not any different than Set with: Set new.
2011/5/20 Igor Stasenko <siguctua(a)gmail.com>
> On 20 May 2011 04:13, Guillermo Polito <guillermopolito(a)gmail.com> wrote:
> > Hi!
> >
> > Since a year ago, we have this issue:
> >
> > http://code.google.com/p/pharo/issues/detail?id=1907
> >
> > There were 2 solutions proposed, and the 2 were developed by different
> > people. But for some reason it was not integrated and continuously
> > postponed.
> >
> > So, my question is: Do we want Sets accepting nil? If we don't, the
> issue
> > is invalid. If we do, can someone review the code proposed?
> >
>
> Its not invalid. Stef reminds me about it from time to time.
> And actually we wanted to sit and review and integrate it but it
> always something else needs our attention.
>
> > Thanks!
> > Guille
> >
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
>
May 20, 2011
[Pharo-project] Name spaces
by Noury Bouraqadi
Hi,
I'm wondering what is the status of the name spaces project developed last summer as part of GSoC.
Noury
http://car.mines-douai.fr/noury
--
-6th National Conference on
âControl Architecture of Robotsâ
24-25 may 2011, Grenoble area, France
http://car2011.inrialpes.fr/
-19th ESUG International Smalltalk Conference
22-26 August 2011, Edinburgh, UK
http://www.esug.org/Conferences/2011
-19èmes Journées Francophones sur les Systèmes Multi-Agents (JFSMAâ11)
http://www.univ-valenciennes.fr/congres/jfsma2011/
17-19 Octobre 2011, Valenciennes, France
May 20, 2011
Re: [Pharo-project] problem with Dictionary and KeyNowFound
by Stéphane Ducasse
I would like to have tests covering that!
On May 20, 2011, at 12:34 AM, Camillo Bruni wrote:
>
> On 2011-05-20, at 00:03, Mariano Martinez Peck wrote:
>
>> On Thu, May 19, 2011 at 11:55 PM, Camillo Bruni <camillo.bruni(a)inria.fr>wrote:
>>
>>> IMO this shouldn't change a thing, since KeyNotFound inherits from Error...
>>> having a look at it
>>>
>>> yes i know :(
>> but in pharo 1.2 it works. That's why I thought it could be related to
>> that.
>
> ok, the bug seems to be related to catching the signaller, dunno why, but commenting out the section on Exception >> signal seems to solve the issue.
>
> I will have a look at it tomorrow.
>
> camillo
>
>>> On 2011-05-19, at 23:45, Mariano Martinez Peck wrote:
>>>> So...it seems Pharo1.3 change Dictionary to throw KeyNotFound instead of
>>> Error.
>>>> Now, my image freezes with a loop. I would appreciate some help. I
>>> couldn't really analyzed the problem.
>>>> Fileine both FLPerson.st and ATest and run the test testDictionaryRehash.
>>>> In such test, a the end there is a
>>>>
>>>> self shouldnt: [aDictionary at: newPerson1] raise: KeyNotFound.
>>>>
>>>>
>>>> which raises the debugger pre-popup. if I try to click on the popup... ->
>>> loop/freeze.
>>>> You can interrupt it and see more or less what is happening.
>>>>
>>>> Camillo, can you take a look?
>>>
>>
>>
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>
>
May 20, 2011
Re: [Pharo-project] Set with nil
by Igor Stasenko
On 20 May 2011 04:13, Guillermo Polito <guillermopolito(a)gmail.com> wrote:
> Hi!
>
> Since a year ago, we have this issue:
>
> http://code.google.com/p/pharo/issues/detail?id=1907
>
> There were 2 solutions proposed, and the 2 were developed by different
> people. But for some reason it was not integrated and continuously
> postponed.
>
> So, my question is: Do we want Sets accepting nil? If we don't, the issue
> is invalid. If we do, can someone review the code proposed?
>
Its not invalid. Stef reminds me about it from time to time.
And actually we wanted to sit and review and integrate it but it
always something else needs our attention.
> Thanks!
> Guille
>
--
Best regards,
Igor Stasenko AKA sig.
May 20, 2011
[Pharo-project] Zinc feedback
by Stéphane Ducasse
Hi Sven
with igor we went over the start up list and we saw that ZnServer resgiter all subclasses of ZnServer.
We think that it would be better to have a list of servers to be registered and that users can decide.
What do you think?
Stef
May 20, 2011
[Pharo-project] Set with nil
by Guillermo Polito
Hi!
Since a year ago, we have this issue:
http://code.google.com/p/pharo/issues/detail?id=1907
There were 2 solutions proposed, and the 2 were developed by different
people. But for some reason it was not integrated and continuously
postponed.
So, my question is: Do we want Sets accepting nil? If we don't, the issue
is invalid. If we do, can someone review the code proposed?
Thanks!
Guille
May 20, 2011
Re: [Pharo-project] Subscript out of bounds: 1 on latest (hudson) Pharo 1.3
by Guillermo Polito
http://code.google.com/p/pharo/issues/detail?id=4255
On Thu, May 19, 2011 at 9:12 PM, Guillermo Polito <guillermopolito(a)gmail.com
> wrote:
> Hi!
>
> I want to load a 6 month old slice
> (SLICE-Issue-1907-SetWithNilTests-GuillermoPolito.2) from pharo inbox in
> latest 1.3(13204) from hudson using cog, and It opens a pre-debugger because
> of a Subscript out of bounds: 1. If I clic on it to debug, It throws me
> again the same error :(.
> It happens if there is the sources file or not.
>
>
> But the most strange is that if I download latest 1.3 from the bottom of
> the page: http://www.pharo-project.org/pharo-download
> It actually loads the Slice, but throws me a DNU if I dont have the sources
> file in the same folder:
>
> 19 May 2011 9:02:38 pm
>
> VM: unix - i686 - linux-gnu - Croquet Closure Cog VM [CoInterpreter
> VMMaker-oscog.47]
> Image: Pharo1.3a [Latest update: #13201]
>
> UndefinedObject(Object)>>doesNotUnderstand: #keywords
> Receiver: nil
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> nil
>
> CompiledMethod>>getSourceReplacingSelectorWith:
> Receiver: (TPrintTest>>#testPrintElementsOn "a
> CompiledMethod(842792960)")
> Arguments and temporary variables:
> newSelector: #testPrintElementsOn
> oldKeywords: nil
> newKeywords: nil
> args: nil
> newSelectorWithArgs: nil
> source: ''
> oldSelector: nil
> s: nil
> Receiver's instance variables:
> (TPrintTest>>#testPrintElementsOn "a CompiledMethod(842792960)")
>
> DictionaryTest class(Behavior)>>addTraitSelector:withMethod:
> Receiver: DictionaryTest
> Arguments and temporary variables:
> aSymbol: #testPrintElementsOn
> aCompiledMethod: (TPrintTest>>#testPrintElementsOn "a
> CompiledMethod(842792960)...etc...
> source: nil
> methodAndNode: nil
> Receiver's instance variables:
> superclass: CollectionRootTest
> methodDict: a MethodDictionary(size 192)
> format: 162
> instanceVariables: #('emptyDict' 'nonEmptyDict'
> 'nonEmpty5ElementsNoDuplicates'...etc...
> organization: ('helpers' aValue anIndex anotherValue)
> ('requirement' anotherEle...etc...
> subclasses: {SmallDictionaryTest. IdentityDictionaryTest.
> LiteralDictionaryTest...etc...
> name: #DictionaryTest
> classPool: nil
> sharedPools: nil
> environment: a SystemDictionary(lots of globals)
> category: #'CollectionsTests-Unordered'
> traitComposition: TIncludesTest + TDictionaryAddingTest +
> TDictionaryComparingT...etc...
> localSelectors: an IdentitySet(#testKeyAtIdentityValueIfAbsent
> #testDictionaryC...etc...
> history: a Dictionary(#errors->a Set() #failures->a Set()
> #passed->a Set() #tim...etc...
> testToto: nil
> pt1: nil
>
> [:methodDescription |
> | effectiveMethod selector |
> selector := methodDescription selector.
> (self includesLocalSelector: selector)
> ifFalse: [methodDescription isEmpty
> ifTrue: [self removeTraitSelector: selector.
> modifiedSelectors add: selector]
> ifFalse: [effectiveMethod := methodDescription
> effectiveMethod.
> self addTraitSelector: selector withMethod:
> effectiveMethod.
> modifiedSelectors add: selector]]] in DictionaryTest
> class(Behavior)>>updateMethodDictionarySelector:
> Receiver: DictionaryTest
> Arguments and temporary variables:
> modifiedSelectors: a TraitMethodDescription
> methodDescription: an IdentitySet()
> effectiveMethod: (TPrintTest>>#testPrintElementsOn "a
> CompiledMethod(842792960)...etc...
> selector: #testPrintElementsOn
> Receiver's instance variables:
> superclass: CollectionRootTest
> methodDict: a MethodDictionary(size 192)
> format: 162
> instanceVariables: #('emptyDict' 'nonEmptyDict'
> 'nonEmpty5ElementsNoDuplicates'...etc...
> organization: ('helpers' aValue anIndex anotherValue)
> ('requirement' anotherEle...etc...
> subclasses: {SmallDictionaryTest. IdentityDictionaryTest.
> LiteralDictionaryTest...etc...
> name: #DictionaryTest
> classPool: nil
> sharedPools: nil
> environment: a SystemDictionary(lots of globals)
> category: #'CollectionsTests-Unordered'
> traitComposition: TIncludesTest + TDictionaryAddingTest +
> TDictionaryComparingT...etc...
> localSelectors: an IdentitySet(#testKeyAtIdentityValueIfAbsent
> #testDictionaryC...etc...
> history: a Dictionary(#errors->a Set() #failures->a Set()
> #passed->a Set() #tim...etc...
> testToto: nil
> pt1: nil
>
> OrderedCollection>>do:
> Receiver: an OrderedCollection(a TraitMethodDescription)
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> array: an Array(a TraitMethodDescription)
> firstIndex: 1
> lastIndex: 1
>
> DictionaryTest class(Behavior)>>updateMethodDictionarySelector:
> Receiver: DictionaryTest
> Arguments and temporary variables:
> aSymbol: #testPrintElementsOn
> modifiedSelectors: an IdentitySet()
> descriptions: an OrderedCollection(a TraitMethodDescription)
> Receiver's instance variables:
> superclass: CollectionRootTest
> methodDict: a MethodDictionary(size 192)
> format: 162
> instanceVariables: #('emptyDict' 'nonEmptyDict'
> 'nonEmpty5ElementsNoDuplicates'...etc...
> organization: ('helpers' aValue anIndex anotherValue)
> ('requirement' anotherEle...etc...
> subclasses: {SmallDictionaryTest. IdentityDictionaryTest.
> LiteralDictionaryTest...etc...
> name: #DictionaryTest
> classPool: nil
> sharedPools: nil
> environment: a SystemDictionary(lots of globals)
> category: #'CollectionsTests-Unordered'
> traitComposition: TIncludesTest + TDictionaryAddingTest +
> TDictionaryComparingT...etc...
> localSelectors: an IdentitySet(#testKeyAtIdentityValueIfAbsent
> #testDictionaryC...etc...
> history: a Dictionary(#errors->a Set() #failures->a Set()
> #passed->a Set() #tim...etc...
> testToto: nil
> pt1: nil
>
> [:t3 | t2
> addAll: (self updateMethodDictionarySelector: t3)] in
> DictionaryTest class(Behavior)>>noteChangedSelectors:
> Receiver: DictionaryTest
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> superclass: CollectionRootTest
> methodDict: a MethodDictionary(size 192)
> format: 162
> instanceVariables: #('emptyDict' 'nonEmptyDict'
> 'nonEmpty5ElementsNoDuplicates'...etc...
> organization: ('helpers' aValue anIndex anotherValue)
> ('requirement' anotherEle...etc...
> subclasses: {SmallDictionaryTest. IdentityDictionaryTest.
> LiteralDictionaryTest...etc...
> name: #DictionaryTest
> classPool: nil
> sharedPools: nil
> environment: a SystemDictionary(lots of globals)
> category: #'CollectionsTests-Unordered'
> traitComposition: TIncludesTest + TDictionaryAddingTest +
> TDictionaryComparingT...etc...
> localSelectors: an IdentitySet(#testKeyAtIdentityValueIfAbsent
> #testDictionaryC...etc...
> history: a Dictionary(#errors->a Set() #failures->a Set()
> #passed->a Set() #tim...etc...
> testToto: nil
> pt1: nil
>
> Array(SequenceableCollection)>>do:
> Receiver: #(#testPrintElementsOn)
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> #(#testPrintElementsOn)
>
> DictionaryTest class(Behavior)>>noteChangedSelectors:
> Receiver: DictionaryTest
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> superclass: CollectionRootTest
> methodDict: a MethodDictionary(size 192)
> format: 162
> instanceVariables: #('emptyDict' 'nonEmptyDict'
> 'nonEmpty5ElementsNoDuplicates'...etc...
> organization: ('helpers' aValue anIndex anotherValue)
> ('requirement' anotherEle...etc...
> subclasses: {SmallDictionaryTest. IdentityDictionaryTest.
> LiteralDictionaryTest...etc...
> name: #DictionaryTest
> classPool: nil
> sharedPools: nil
> environment: a SystemDictionary(lots of globals)
> category: #'CollectionsTests-Unordered'
> traitComposition: TIncludesTest + TDictionaryAddingTest +
> TDictionaryComparingT...etc...
> localSelectors: an IdentitySet(#testKeyAtIdentityValueIfAbsent
> #testDictionaryC...etc...
> history: a Dictionary(#errors->a Set() #failures->a Set()
> #passed->a Set() #tim...etc...
> testToto: nil
> pt1: nil
>
> [:t2 | t2 noteChangedSelectors: t1] in
> Trait(TraitDescription)>>notifyUsersOfChangedSelectors:
> Receiver: TDictionaryPrintingTest
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> methodDict: a
> MethodDictionary(#emptyDict->(TDictionaryPrintingTest>>#emptyDict...etc...
> traitComposition: {}
> localSelectors: nil
> users: an IdentitySet(DictionaryTest)
> organization: ('requirements' emptyDict newEmptyDict
> nonEmptyDict)
> ('test - pri...etc...
> name: #TDictionaryPrintingTest
> environment: a SystemDictionary(lots of globals)
> classTrait: TDictionaryPrintingTest classTrait
> category: #'CollectionsTests-Unordered'
>
> [:each | each
> ifNotNil: [aBlock value: each]] in IdentitySet(Set)>>do:
> Receiver: an IdentitySet(DictionaryTest)
> Arguments and temporary variables:
> aBlock: DictionaryTest
> each: [:t2 | t2 noteChangedSelectors: t1]
> Receiver's instance variables:
> tally: 1
> array: {nil. nil. nil. nil. DictionaryTest. nil. nil}
>
> Array(SequenceableCollection)>>do:
> Receiver: {nil. nil. nil. nil. DictionaryTest. nil. nil}
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> {nil. nil. nil. nil. DictionaryTest. nil. nil}
>
> IdentitySet(Set)>>do:
> Receiver: an IdentitySet(DictionaryTest)
> Arguments and temporary variables:
> aBlock: [:t2 | t2 noteChangedSelectors: t1]
> Receiver's instance variables:
> tally: 1
> array: {nil. nil. nil. nil. DictionaryTest. nil. nil}
>
> Trait(TraitDescription)>>notifyUsersOfChangedSelectors:
> Receiver: TDictionaryPrintingTest
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> methodDict: a
> MethodDictionary(#emptyDict->(TDictionaryPrintingTest>>#emptyDict...etc...
> traitComposition: {}
> localSelectors: nil
> users: an IdentitySet(DictionaryTest)
> organization: ('requirements' emptyDict newEmptyDict
> nonEmptyDict)
> ('test - pri...etc...
> name: #TDictionaryPrintingTest
> environment: a SystemDictionary(lots of globals)
> classTrait: TDictionaryPrintingTest classTrait
> category: #'CollectionsTests-Unordered'
>
> Trait(TraitBehavior)>>notifyUsersOfChangedSelector:
> Receiver: TDictionaryPrintingTest
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> methodDict: a
> MethodDictionary(#emptyDict->(TDictionaryPrintingTest>>#emptyDict...etc...
> traitComposition: {}
> localSelectors: nil
> users: an IdentitySet(DictionaryTest)
> organization: ('requirements' emptyDict newEmptyDict
> nonEmptyDict)
> ('test - pri...etc...
> name: #TDictionaryPrintingTest
> environment: a SystemDictionary(lots of globals)
> classTrait: TDictionaryPrintingTest classTrait
> category: #'CollectionsTests-Unordered'
>
> Trait(TraitBehavior)>>addSelectorSilently:withMethod:
> Receiver: TDictionaryPrintingTest
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> methodDict: a
> MethodDictionary(#emptyDict->(TDictionaryPrintingTest>>#emptyDict...etc...
> traitComposition: {}
> localSelectors: nil
> users: an IdentitySet(DictionaryTest)
> organization: ('requirements' emptyDict newEmptyDict
> nonEmptyDict)
> ('test - pri...etc...
> name: #TDictionaryPrintingTest
> environment: a SystemDictionary(lots of globals)
> classTrait: TDictionaryPrintingTest classTrait
> category: #'CollectionsTests-Unordered'
>
> Trait(TraitDescription)>>addSelectorSilently:withMethod:
> Receiver: TDictionaryPrintingTest
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> methodDict: a
> MethodDictionary(#emptyDict->(TDictionaryPrintingTest>>#emptyDict...etc...
> traitComposition: {}
> localSelectors: nil
> users: an IdentitySet(DictionaryTest)
> organization: ('requirements' emptyDict newEmptyDict
> nonEmptyDict)
> ('test - pri...etc...
> name: #TDictionaryPrintingTest
> environment: a SystemDictionary(lots of globals)
> classTrait: TDictionaryPrintingTest classTrait
> category: #'CollectionsTests-Unordered'
>
> MethodAddition>>installMethod
> Receiver: a MethodAddition
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> text: 'testPrintElementsOn
> | str |
> str := String new writeStream.
> self nonEm...etc...
> category: #'test - printing'
> changeStamp: 'PeterHugossonMiller 9/3/2009 11:33'
> requestor: nil
> logSource: true
> myClass: TDictionaryPrintingTest
> methodAndNode: a CompiledMethodWithNode
> selector: #testPrintElementsOn
> compiledMethod: (TDictionaryPrintingTest>>#testPrintElementsOn
> "a CompiledMetho...etc...
> priorMethodOrNil:
> (TDictionaryPrintingTest>>#testPrintElementsOn "a CompiledMet...etc...
>
>
> I'll open a ticket :)
>
May 20, 2011
Re: [Pharo-project] Subscript out of bounds: 1 on latest (hudson) Pharo 1.3
by Guillermo Polito
Actually, the first issue happens because there is no changes file.
On Thu, May 19, 2011 at 9:12 PM, Guillermo Polito <guillermopolito(a)gmail.com
> wrote:
> Hi!
>
> I want to load a 6 month old slice
> (SLICE-Issue-1907-SetWithNilTests-GuillermoPolito.2) from pharo inbox in
> latest 1.3(13204) from hudson using cog, and It opens a pre-debugger because
> of a Subscript out of bounds: 1. If I clic on it to debug, It throws me
> again the same error :(.
> It happens if there is the sources file or not.
>
>
> But the most strange is that if I download latest 1.3 from the bottom of
> the page: http://www.pharo-project.org/pharo-download
> It actually loads the Slice, but throws me a DNU if I dont have the sources
> file in the same folder:
>
> 19 May 2011 9:02:38 pm
>
> VM: unix - i686 - linux-gnu - Croquet Closure Cog VM [CoInterpreter
> VMMaker-oscog.47]
> Image: Pharo1.3a [Latest update: #13201]
>
> UndefinedObject(Object)>>doesNotUnderstand: #keywords
> Receiver: nil
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> nil
>
> CompiledMethod>>getSourceReplacingSelectorWith:
> Receiver: (TPrintTest>>#testPrintElementsOn "a
> CompiledMethod(842792960)")
> Arguments and temporary variables:
> newSelector: #testPrintElementsOn
> oldKeywords: nil
> newKeywords: nil
> args: nil
> newSelectorWithArgs: nil
> source: ''
> oldSelector: nil
> s: nil
> Receiver's instance variables:
> (TPrintTest>>#testPrintElementsOn "a CompiledMethod(842792960)")
>
> DictionaryTest class(Behavior)>>addTraitSelector:withMethod:
> Receiver: DictionaryTest
> Arguments and temporary variables:
> aSymbol: #testPrintElementsOn
> aCompiledMethod: (TPrintTest>>#testPrintElementsOn "a
> CompiledMethod(842792960)...etc...
> source: nil
> methodAndNode: nil
> Receiver's instance variables:
> superclass: CollectionRootTest
> methodDict: a MethodDictionary(size 192)
> format: 162
> instanceVariables: #('emptyDict' 'nonEmptyDict'
> 'nonEmpty5ElementsNoDuplicates'...etc...
> organization: ('helpers' aValue anIndex anotherValue)
> ('requirement' anotherEle...etc...
> subclasses: {SmallDictionaryTest. IdentityDictionaryTest.
> LiteralDictionaryTest...etc...
> name: #DictionaryTest
> classPool: nil
> sharedPools: nil
> environment: a SystemDictionary(lots of globals)
> category: #'CollectionsTests-Unordered'
> traitComposition: TIncludesTest + TDictionaryAddingTest +
> TDictionaryComparingT...etc...
> localSelectors: an IdentitySet(#testKeyAtIdentityValueIfAbsent
> #testDictionaryC...etc...
> history: a Dictionary(#errors->a Set() #failures->a Set()
> #passed->a Set() #tim...etc...
> testToto: nil
> pt1: nil
>
> [:methodDescription |
> | effectiveMethod selector |
> selector := methodDescription selector.
> (self includesLocalSelector: selector)
> ifFalse: [methodDescription isEmpty
> ifTrue: [self removeTraitSelector: selector.
> modifiedSelectors add: selector]
> ifFalse: [effectiveMethod := methodDescription
> effectiveMethod.
> self addTraitSelector: selector withMethod:
> effectiveMethod.
> modifiedSelectors add: selector]]] in DictionaryTest
> class(Behavior)>>updateMethodDictionarySelector:
> Receiver: DictionaryTest
> Arguments and temporary variables:
> modifiedSelectors: a TraitMethodDescription
> methodDescription: an IdentitySet()
> effectiveMethod: (TPrintTest>>#testPrintElementsOn "a
> CompiledMethod(842792960)...etc...
> selector: #testPrintElementsOn
> Receiver's instance variables:
> superclass: CollectionRootTest
> methodDict: a MethodDictionary(size 192)
> format: 162
> instanceVariables: #('emptyDict' 'nonEmptyDict'
> 'nonEmpty5ElementsNoDuplicates'...etc...
> organization: ('helpers' aValue anIndex anotherValue)
> ('requirement' anotherEle...etc...
> subclasses: {SmallDictionaryTest. IdentityDictionaryTest.
> LiteralDictionaryTest...etc...
> name: #DictionaryTest
> classPool: nil
> sharedPools: nil
> environment: a SystemDictionary(lots of globals)
> category: #'CollectionsTests-Unordered'
> traitComposition: TIncludesTest + TDictionaryAddingTest +
> TDictionaryComparingT...etc...
> localSelectors: an IdentitySet(#testKeyAtIdentityValueIfAbsent
> #testDictionaryC...etc...
> history: a Dictionary(#errors->a Set() #failures->a Set()
> #passed->a Set() #tim...etc...
> testToto: nil
> pt1: nil
>
> OrderedCollection>>do:
> Receiver: an OrderedCollection(a TraitMethodDescription)
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> array: an Array(a TraitMethodDescription)
> firstIndex: 1
> lastIndex: 1
>
> DictionaryTest class(Behavior)>>updateMethodDictionarySelector:
> Receiver: DictionaryTest
> Arguments and temporary variables:
> aSymbol: #testPrintElementsOn
> modifiedSelectors: an IdentitySet()
> descriptions: an OrderedCollection(a TraitMethodDescription)
> Receiver's instance variables:
> superclass: CollectionRootTest
> methodDict: a MethodDictionary(size 192)
> format: 162
> instanceVariables: #('emptyDict' 'nonEmptyDict'
> 'nonEmpty5ElementsNoDuplicates'...etc...
> organization: ('helpers' aValue anIndex anotherValue)
> ('requirement' anotherEle...etc...
> subclasses: {SmallDictionaryTest. IdentityDictionaryTest.
> LiteralDictionaryTest...etc...
> name: #DictionaryTest
> classPool: nil
> sharedPools: nil
> environment: a SystemDictionary(lots of globals)
> category: #'CollectionsTests-Unordered'
> traitComposition: TIncludesTest + TDictionaryAddingTest +
> TDictionaryComparingT...etc...
> localSelectors: an IdentitySet(#testKeyAtIdentityValueIfAbsent
> #testDictionaryC...etc...
> history: a Dictionary(#errors->a Set() #failures->a Set()
> #passed->a Set() #tim...etc...
> testToto: nil
> pt1: nil
>
> [:t3 | t2
> addAll: (self updateMethodDictionarySelector: t3)] in
> DictionaryTest class(Behavior)>>noteChangedSelectors:
> Receiver: DictionaryTest
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> superclass: CollectionRootTest
> methodDict: a MethodDictionary(size 192)
> format: 162
> instanceVariables: #('emptyDict' 'nonEmptyDict'
> 'nonEmpty5ElementsNoDuplicates'...etc...
> organization: ('helpers' aValue anIndex anotherValue)
> ('requirement' anotherEle...etc...
> subclasses: {SmallDictionaryTest. IdentityDictionaryTest.
> LiteralDictionaryTest...etc...
> name: #DictionaryTest
> classPool: nil
> sharedPools: nil
> environment: a SystemDictionary(lots of globals)
> category: #'CollectionsTests-Unordered'
> traitComposition: TIncludesTest + TDictionaryAddingTest +
> TDictionaryComparingT...etc...
> localSelectors: an IdentitySet(#testKeyAtIdentityValueIfAbsent
> #testDictionaryC...etc...
> history: a Dictionary(#errors->a Set() #failures->a Set()
> #passed->a Set() #tim...etc...
> testToto: nil
> pt1: nil
>
> Array(SequenceableCollection)>>do:
> Receiver: #(#testPrintElementsOn)
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> #(#testPrintElementsOn)
>
> DictionaryTest class(Behavior)>>noteChangedSelectors:
> Receiver: DictionaryTest
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> superclass: CollectionRootTest
> methodDict: a MethodDictionary(size 192)
> format: 162
> instanceVariables: #('emptyDict' 'nonEmptyDict'
> 'nonEmpty5ElementsNoDuplicates'...etc...
> organization: ('helpers' aValue anIndex anotherValue)
> ('requirement' anotherEle...etc...
> subclasses: {SmallDictionaryTest. IdentityDictionaryTest.
> LiteralDictionaryTest...etc...
> name: #DictionaryTest
> classPool: nil
> sharedPools: nil
> environment: a SystemDictionary(lots of globals)
> category: #'CollectionsTests-Unordered'
> traitComposition: TIncludesTest + TDictionaryAddingTest +
> TDictionaryComparingT...etc...
> localSelectors: an IdentitySet(#testKeyAtIdentityValueIfAbsent
> #testDictionaryC...etc...
> history: a Dictionary(#errors->a Set() #failures->a Set()
> #passed->a Set() #tim...etc...
> testToto: nil
> pt1: nil
>
> [:t2 | t2 noteChangedSelectors: t1] in
> Trait(TraitDescription)>>notifyUsersOfChangedSelectors:
> Receiver: TDictionaryPrintingTest
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> methodDict: a
> MethodDictionary(#emptyDict->(TDictionaryPrintingTest>>#emptyDict...etc...
> traitComposition: {}
> localSelectors: nil
> users: an IdentitySet(DictionaryTest)
> organization: ('requirements' emptyDict newEmptyDict
> nonEmptyDict)
> ('test - pri...etc...
> name: #TDictionaryPrintingTest
> environment: a SystemDictionary(lots of globals)
> classTrait: TDictionaryPrintingTest classTrait
> category: #'CollectionsTests-Unordered'
>
> [:each | each
> ifNotNil: [aBlock value: each]] in IdentitySet(Set)>>do:
> Receiver: an IdentitySet(DictionaryTest)
> Arguments and temporary variables:
> aBlock: DictionaryTest
> each: [:t2 | t2 noteChangedSelectors: t1]
> Receiver's instance variables:
> tally: 1
> array: {nil. nil. nil. nil. DictionaryTest. nil. nil}
>
> Array(SequenceableCollection)>>do:
> Receiver: {nil. nil. nil. nil. DictionaryTest. nil. nil}
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> {nil. nil. nil. nil. DictionaryTest. nil. nil}
>
> IdentitySet(Set)>>do:
> Receiver: an IdentitySet(DictionaryTest)
> Arguments and temporary variables:
> aBlock: [:t2 | t2 noteChangedSelectors: t1]
> Receiver's instance variables:
> tally: 1
> array: {nil. nil. nil. nil. DictionaryTest. nil. nil}
>
> Trait(TraitDescription)>>notifyUsersOfChangedSelectors:
> Receiver: TDictionaryPrintingTest
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> methodDict: a
> MethodDictionary(#emptyDict->(TDictionaryPrintingTest>>#emptyDict...etc...
> traitComposition: {}
> localSelectors: nil
> users: an IdentitySet(DictionaryTest)
> organization: ('requirements' emptyDict newEmptyDict
> nonEmptyDict)
> ('test - pri...etc...
> name: #TDictionaryPrintingTest
> environment: a SystemDictionary(lots of globals)
> classTrait: TDictionaryPrintingTest classTrait
> category: #'CollectionsTests-Unordered'
>
> Trait(TraitBehavior)>>notifyUsersOfChangedSelector:
> Receiver: TDictionaryPrintingTest
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> methodDict: a
> MethodDictionary(#emptyDict->(TDictionaryPrintingTest>>#emptyDict...etc...
> traitComposition: {}
> localSelectors: nil
> users: an IdentitySet(DictionaryTest)
> organization: ('requirements' emptyDict newEmptyDict
> nonEmptyDict)
> ('test - pri...etc...
> name: #TDictionaryPrintingTest
> environment: a SystemDictionary(lots of globals)
> classTrait: TDictionaryPrintingTest classTrait
> category: #'CollectionsTests-Unordered'
>
> Trait(TraitBehavior)>>addSelectorSilently:withMethod:
> Receiver: TDictionaryPrintingTest
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> methodDict: a
> MethodDictionary(#emptyDict->(TDictionaryPrintingTest>>#emptyDict...etc...
> traitComposition: {}
> localSelectors: nil
> users: an IdentitySet(DictionaryTest)
> organization: ('requirements' emptyDict newEmptyDict
> nonEmptyDict)
> ('test - pri...etc...
> name: #TDictionaryPrintingTest
> environment: a SystemDictionary(lots of globals)
> classTrait: TDictionaryPrintingTest classTrait
> category: #'CollectionsTests-Unordered'
>
> Trait(TraitDescription)>>addSelectorSilently:withMethod:
> Receiver: TDictionaryPrintingTest
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> methodDict: a
> MethodDictionary(#emptyDict->(TDictionaryPrintingTest>>#emptyDict...etc...
> traitComposition: {}
> localSelectors: nil
> users: an IdentitySet(DictionaryTest)
> organization: ('requirements' emptyDict newEmptyDict
> nonEmptyDict)
> ('test - pri...etc...
> name: #TDictionaryPrintingTest
> environment: a SystemDictionary(lots of globals)
> classTrait: TDictionaryPrintingTest classTrait
> category: #'CollectionsTests-Unordered'
>
> MethodAddition>>installMethod
> Receiver: a MethodAddition
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> text: 'testPrintElementsOn
> | str |
> str := String new writeStream.
> self nonEm...etc...
> category: #'test - printing'
> changeStamp: 'PeterHugossonMiller 9/3/2009 11:33'
> requestor: nil
> logSource: true
> myClass: TDictionaryPrintingTest
> methodAndNode: a CompiledMethodWithNode
> selector: #testPrintElementsOn
> compiledMethod: (TDictionaryPrintingTest>>#testPrintElementsOn
> "a CompiledMetho...etc...
> priorMethodOrNil:
> (TDictionaryPrintingTest>>#testPrintElementsOn "a CompiledMet...etc...
>
>
> I'll open a ticket :)
>
May 20, 2011