ConfigurationOfMaterialDesignLite - Pharo5 not yet working

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

ConfigurationOfMaterialDesignLite - Pharo5 not yet working

Sabine Manaa
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...
Reply | Threaded
Open this post in threaded view
|

Re: ConfigurationOfMaterialDesignLite - Pharo5 not yet working

MerwanOuddane
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
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: ConfigurationOfMaterialDesignLite - Pharo5 not yet working

Sabine Manaa
Hi Merwan,

It loads now fine. Thanks for your immediate response.
Do you plan to create a #stable version soon?

Regards
Sabine

2016-05-24 20:39 GMT+02:00 MerwanOuddane [via Smalltalk] <[hidden email]>:
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
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/ConfigurationOfMaterialDesignLite-Pharo5-not-yet-working-tp4897066p4897174.html
To start a new topic under Seaside General, email [hidden email]
To unsubscribe from Seaside, click here.
NAML