Trying to load a stateful trait in a stateless version. in bootstrap when loading newSpec?

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

Trying to load a stateful trait in a stateless version. in bootstrap when loading newSpec?

ducasse


'VersionInfo: Pharo7.0-PR-g3b248856a5586a2a13853d32e10596969926e951'


[32] 'Errors in script loaded from /builds/workspace/uest_and_branch_Pipeline_PR-2735/32/bootstrap/scripts/bootstrap.st'


[32] Error: Trying to load a stateful trait in a stateless version.


[32] TonelParser(Object)>>error:


[32] [ self


[32] error: 'Trying to load a stateful trait in a stateless version.' ] in TonelParser>>validateStatelessTraitIsBeingRead: in Block: [ self...


[32] BlockClosure>>cull:


[32] Set(Collection)>>ifNotEmpty:


[32] TonelParser>>validateStatelessTraitIsBeingRead:


[32] TonelParser>>newStatelessTraitDefinitionFrom:


[32] TonelParser>>newTraitDefinitionFrom:


[32] TonelParser>>newTypeDefinitionFrom:


[32] TonelParser>>typeDef


[32] TonelParser>>document


[32] TonelParser>>start


[32] TonelParser class>>parseStream:


[32] [ :s | TonelParser parseStream: s ] in [ :each | each readStreamDo: [ :s | TonelParser parseStream: s ] ] in TonelReader>>loadDefinitions in Block: [ :s | TonelParser parseStream: s ]


[32] [ aBlock value: stream ] in FileReference(AbstractFileReference)>>readStreamDo: in Block: [ aBlock value: stream ]


[32] BlockClosure>>ensure:


[32] FileReference(AbstractFileReference)>>readStreamDo:


[32] FileSystemDirectoryEntry>>readStreamDo:


[32] [ :each | each readStreamDo: [ :s | TonelParser parseStream: s ] ] in TonelReader>>loadDefinitions in Block: [ :each | each readStreamDo: [ :s | TonelParser pa...etc...


[32] Array(SequenceableCollection)>>collect:


[32] TonelReader>>loadDefinitions


[32] TonelReader(MCVersionReader)>>definitions


[32] TonelReader(MCVersionReader)>>snapshot


[32] [ self snapshot ] in TonelReader(MCVersionReader)>>basicVersion in Block: [ self snapshot ]


[32] MCVersion>>snapshot


[32] MCMczWriter>>writeDefinitions:


[32] MCMczWriter>>writeVersion:


[32] MCMczWriter class>>fileOut:on:


[32] MCVersion>>fileOutOn:


[32] [ :s | aVersion fileOutOn: s ] in MCCacheRepository(MCFileBasedRepository)>>basicStoreVersion: in Block: [ :s | aVersion fileOutOn: s ]


[32] [ :stream | aBlock value: stream ] in MCCacheRepository(MCDirectoryRepository)>>writeStreamForFileNamed:replace:do: in Block: [ :stream | aBlock value: stream ]


Reply | Threaded
Open this post in threaded view
|

Re: Trying to load a stateful trait in a stateless version. in bootstrap when loading newSpec?

EstebanLM
Is pretty clear :)
You are trying to load a stateful Trait in a version of Pharo that does not supports it (I guess Pharo 6.1?)

Esteban 


On 27 Feb 2019, at 17:05, ducasse <[hidden email]> wrote:


'VersionInfo: Pharo7.0-PR-g3b248856a5586a2a13853d32e10596969926e951'


[32] 'Errors in script loaded from /builds/workspace/uest_and_branch_Pipeline_PR-2735/32/bootstrap/scripts/bootstrap.st'


[32] Error: Trying to load a stateful trait in a stateless version.


[32] TonelParser(Object)>>error:


[32] [ self


[32] error: 'Trying to load a stateful trait in a stateless version.' ] in TonelParser>>validateStatelessTraitIsBeingRead: in Block: [ self...


[32] BlockClosure>>cull:


[32] Set(Collection)>>ifNotEmpty:


[32] TonelParser>>validateStatelessTraitIsBeingRead:


[32] TonelParser>>newStatelessTraitDefinitionFrom:


[32] TonelParser>>newTraitDefinitionFrom:


[32] TonelParser>>newTypeDefinitionFrom:


[32] TonelParser>>typeDef


[32] TonelParser>>document


[32] TonelParser>>start


[32] TonelParser class>>parseStream:


[32] [ :s | TonelParser parseStream: s ] in [ :each | each readStreamDo: [ :s | TonelParser parseStream: s ] ] in TonelReader>>loadDefinitions in Block: [ :s | TonelParser parseStream: s ]


[32] [ aBlock value: stream ] in FileReference(AbstractFileReference)>>readStreamDo: in Block: [ aBlock value: stream ]


[32] BlockClosure>>ensure:


[32] FileReference(AbstractFileReference)>>readStreamDo:


[32] FileSystemDirectoryEntry>>readStreamDo:


[32] [ :each | each readStreamDo: [ :s | TonelParser parseStream: s ] ] in TonelReader>>loadDefinitions in Block: [ :each | each readStreamDo: [ :s | TonelParser pa...etc...


[32] Array(SequenceableCollection)>>collect:


[32] TonelReader>>loadDefinitions


[32] TonelReader(MCVersionReader)>>definitions


[32] TonelReader(MCVersionReader)>>snapshot


[32] [ self snapshot ] in TonelReader(MCVersionReader)>>basicVersion in Block: [ self snapshot ]


[32] MCVersion>>snapshot


[32] MCMczWriter>>writeDefinitions:


[32] MCMczWriter>>writeVersion:


[32] MCMczWriter class>>fileOut:on:


[32] MCVersion>>fileOutOn:


[32] [ :s | aVersion fileOutOn: s ] in MCCacheRepository(MCFileBasedRepository)>>basicStoreVersion: in Block: [ :s | aVersion fileOutOn: s ]


[32] [ :stream | aBlock value: stream ] in MCCacheRepository(MCDirectoryRepository)>>writeStreamForFileNamed:replace:do: in Block: [ :stream | aBlock value: stream ]



Reply | Threaded
Open this post in threaded view
|

Re: Trying to load a stateful trait in a stateless version. in bootstrap when loading newSpec?

ducasse
Well it is not me but the spec 2.0.0 PR.

Stef


On 27 Feb 2019, at 17:24, Esteban Lorenzano <[hidden email]> wrote:

Is pretty clear :)
You are trying to load a stateful Trait in a version of Pharo that does not supports it (I guess Pharo 6.1?)

Esteban 


On 27 Feb 2019, at 17:05, ducasse <[hidden email]> wrote:


'VersionInfo: Pharo7.0-PR-g3b248856a5586a2a13853d32e10596969926e951'


[32] 'Errors in script loaded from /builds/workspace/uest_and_branch_Pipeline_PR-2735/32/bootstrap/scripts/bootstrap.st'


[32] Error: Trying to load a stateful trait in a stateless version.


[32] TonelParser(Object)>>error:


[32] [ self


[32] error: 'Trying to load a stateful trait in a stateless version.' ] in TonelParser>>validateStatelessTraitIsBeingRead: in Block: [ self...


[32] BlockClosure>>cull:


[32] Set(Collection)>>ifNotEmpty:


[32] TonelParser>>validateStatelessTraitIsBeingRead:


[32] TonelParser>>newStatelessTraitDefinitionFrom:


[32] TonelParser>>newTraitDefinitionFrom:


[32] TonelParser>>newTypeDefinitionFrom:


[32] TonelParser>>typeDef


[32] TonelParser>>document


[32] TonelParser>>start


[32] TonelParser class>>parseStream:


[32] [ :s | TonelParser parseStream: s ] in [ :each | each readStreamDo: [ :s | TonelParser parseStream: s ] ] in TonelReader>>loadDefinitions in Block: [ :s | TonelParser parseStream: s ]


[32] [ aBlock value: stream ] in FileReference(AbstractFileReference)>>readStreamDo: in Block: [ aBlock value: stream ]


[32] BlockClosure>>ensure:


[32] FileReference(AbstractFileReference)>>readStreamDo:


[32] FileSystemDirectoryEntry>>readStreamDo:


[32] [ :each | each readStreamDo: [ :s | TonelParser parseStream: s ] ] in TonelReader>>loadDefinitions in Block: [ :each | each readStreamDo: [ :s | TonelParser pa...etc...


[32] Array(SequenceableCollection)>>collect:


[32] TonelReader>>loadDefinitions


[32] TonelReader(MCVersionReader)>>definitions


[32] TonelReader(MCVersionReader)>>snapshot


[32] [ self snapshot ] in TonelReader(MCVersionReader)>>basicVersion in Block: [ self snapshot ]


[32] MCVersion>>snapshot


[32] MCMczWriter>>writeDefinitions:


[32] MCMczWriter>>writeVersion:


[32] MCMczWriter class>>fileOut:on:


[32] MCVersion>>fileOutOn:


[32] [ :s | aVersion fileOutOn: s ] in MCCacheRepository(MCFileBasedRepository)>>basicStoreVersion: in Block: [ :s | aVersion fileOutOn: s ]


[32] [ :stream | aBlock value: stream ] in MCCacheRepository(MCDirectoryRepository)>>writeStreamForFileNamed:replace:do: in Block: [ :stream | aBlock value: stream ]