Re: ConfigurationOfMaterialDesignLite - Pharo5 not yet working

Merwan OUDDANE <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
Hi Sabine,

I added the MDLColors to the default package, it should work now.

Thanks for your feedback,

Merwan


Le 24/05/2016 à 15:28, Sabine Manaa a écrit :
> Hi Mervan, Kevin, Olivier,
>
> I was just trying to load my code in Pharo5 and get an error when loading
> MDL with the following spec:
>
> project: 'materialdesignlite' with: [
> spec
> 	className: #ConfigurationOfMaterialDesignLite;
> 	version: #development;
> 	repository:
> 'http://smalltalkhub.com/mc/KevinLanvin/MaterialDesignLite/main'
>
> It seems that MDLColor is not yet loaded.
>
> Could you please look for that?
> Regards
> Sabine
>
> Stack
> UndefinedObject(Object)>>doesNotUnderstand: #indigo
> MDLComponentsDemoApplication>>initialize
> MDLComponentsDemoApplication class(GRObject class)>>new
> MDLComponentsDemoApplication class(MDLApplication
> class)>>newApplicationNamed:
> MDLComponentsDemoApplication class>>initialize
> MCMethodDefinition>>postloadOver:
> [ :each | each postloadOver: (self obsoletionFor: each) ] in
> MCPackageLoader>>basicLoadDefinitions in Block: [ :each | each postloadOver:
> (self obsoletionFor: ...etc...
> [ :each |
> | newLabel |
> "Special handling for first and last element"
> (count = 0
> 	or: [ count + 1 = size
> 			or: [ (Time millisecondsSince: lastUpdate) >= msecs ] ])
> 	ifTrue: [ bar current: count.
> 		oldLabel = (newLabel := (labelBlock cull: each) ifNil: [ oldLabel ])
> 			ifFalse: [ bar label: newLabel.
> 				oldLabel := newLabel ].
> 		lastUpdate := Time millisecondClockValue ].
> aBlock value: each.
> count := count + 1 ] in [ :bar |
> labelBlock := aStringOrBlock isString
> 	ifTrue: [ bar label: aStringOrBlock.
> 		[ :dummyItem | aStringOrBlock ] ]
> 	ifFalse: [ aStringOrBlock ].
> self
> 	do: [ :each |
> 		| newLabel |
> 		"Special handling for first and last element"
> 		(count = 0
> 			or: [ count + 1 = size
> 					or: [ (Time millisecondsSince: lastUpdate) >= msecs ] ])
> 			ifTrue: [ bar current: count.
> 				oldLabel
> 					= (newLabel := (labelBlock cull: each) ifNil: [ oldLabel ])
> 					ifFalse: [ bar label: newLabel.
> 						oldLabel := newLabel ].
> 				lastUpdate := Time millisecondClockValue ].
> 		aBlock value: each.
> 		count := count + 1 ] ] in
> OrderedCollection(Collection)>>do:displayingProgress:every: in Block: [
> :each | ...
> OrderedCollection>>do:
> [ :bar |
> labelBlock := aStringOrBlock isString
> 	ifTrue: [ bar label: aStringOrBlock.
> 		[ :dummyItem | aStringOrBlock ] ]
> 	ifFalse: [ aStringOrBlock ].
> self
> 	do: [ :each |
> 		| newLabel |
> 		"Special handling for first and last element"
> 		(count = 0
> 			or: [ count + 1 = size
> 					or: [ (Time millisecondsSince: lastUpdate) >= msecs ] ])
> 			ifTrue: [ bar current: count.
> 				oldLabel
> 					= (newLabel := (labelBlock cull: each) ifNil: [ oldLabel ])
> 					ifFalse: [ bar label: newLabel.
> 						oldLabel := newLabel ].
> 				lastUpdate := Time millisecondClockValue ].
> 		aBlock value: each.
> 		count := count + 1 ] ] in
> OrderedCollection(Collection)>>do:displayingProgress:every: in Block: [ :bar
> | ...
> BlockClosure>>cull:
> [ ^ block cull: self ] in [ self prepareForRunning.
> CurrentJob value: self during: [ ^ block cull: self ] ] in Job>>run in
> Block: [ ^ block cull: self ]
> [ p psValueAt: index put: anObject.
> aBlock value ] in CurrentJob(DynamicVariable)>>value:during: in Block: [ p
> psValueAt: index put: anObject....
> BlockClosure>>ensure:
> CurrentJob(DynamicVariable)>>value:during:
> CurrentJob class(DynamicVariable class)>>value:during:
> [ self prepareForRunning.
> CurrentJob value: self during: [ ^ block cull: self ] ] in Job>>run in
> Block: [ self prepareForRunning....
> BlockClosure>>ensure:
> Job>>run
> MorphicUIManager(UIManager)>>displayProgress:from:to:during:
> ByteString(String)>>displayProgressFrom:to:during:
> OrderedCollection(Collection)>>do:displayingProgress:every:
> OrderedCollection(Collection)>>do:displayingProgress:
> MCPackageLoader>>basicLoadDefinitions
> [ self basicLoadDefinitions ] in [ self handleLoadErrorsDuring: [ self
> basicLoadDefinitions ] ] in MCPackageLoader>>basicLoad in Block: [ self
> basicLoadDefinitions ]
> BlockClosure>>on:do:
> [ aBlock
> 	on: InMidstOfFileinNotification
> 	do: [ :notification | notification resume: true ] ] in
> MCPackageLoader>>handleLoadErrorsDuring: in Block: [ aBlock...
> BlockClosure>>on:do:
> MCPackageLoader>>handleLoadErrorsDuring:
> [ self handleLoadErrorsDuring: [ self basicLoadDefinitions ] ] in
> MCPackageLoader>>basicLoad in Block: [ self handleLoadErrorsDuring: [ self
> basicLoadDef...etc...
>
>
>
>
> --
> View this message in context: http://forum.world.st/ConfigurationOfMaterialDesignLite-Pharo5-not-yet-working-tp4897066.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> _______________________________________________
> seaside mailing list
> [email protected]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.