Magritte/ squeak 3.9/Date issues

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

Magritte/ squeak 3.9/Date issues

florent trolat


I've tried to use MADateDescription but I've an error when I try to
click on "choose".
I've the same error with the magritte tutorial...so I give you the stack...
May be something is wrong with my image?
tx Florent.


------------------------------------------------------------------------

MessageNotUnderstood: Week>>do:
2 September 2006 10:01:33 am

VM: Win32 - a SmalltalkImage
Image: Squeak3.9gamma [latest update: #7055]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir D:\esia\AOOA\SQ\Squeak3.9g-7055
Trusted Dir D:\esia\AOOA\SQ\Squeak3.9g-7055\florent
Untrusted Dir C:\My Squeak\florent

Week(Object)>>doesNotUnderstand: #do:
     Receiver: a Week starting: 2006-08-27T00:00:00+00:00
     Arguments and temporary variables:
         aMessage:     do: [] in WAMiniCalendar>>renderRowForWeek:on:
{[:ea | self renderCel...etc...
     Receiver's instance variables:
         start:     2006-08-27T00:00:00+00:00
         duration:     7:00:00:00

[] in WAMiniCalendar>>renderRowForWeek:on: {[aWeek   do: [:ea | self
renderCellForDate: ea on: html]]}
     Arguments and temporary variables:
         aWeek:     a Week starting: 2006-08-27T00:00:00+00:00
         html:     a WAHtmlRenderer
         ea:     nil

BlockContext>>renderOn:
     Receiver: [] in WAMiniCalendar>>renderRowForWeek:on: {[aWeek   do:
[:ea | self renderCellForDate: ea...etc...
     Arguments and temporary variables:
         aRenderer:     a WAHtmlRenderer
     Receiver's instance variables:
         sender:     BlockContext>>renderOn:
         pc:     40
         stackp:     0
         nargs:     0
         startpc:     27
         home:     WAMiniCalendar>>renderRowForWeek:on:

WAHtmlRenderer(WAAbstractHtmlBuilder)>>render:
     Receiver: a WAHtmlRenderer
     Arguments and temporary variables:
         anObject:     [] in WAMiniCalendar>>renderRowForWeek:on:
{[aWeek   do: [:ea | self ...etc...
     Receiver's instance variables:
         attributeBuffer:     nil
         context:     a WARenderingContext
         callbacks:     a WACallbackRegistry
         shortcutBuffer:     nil


--- The full stack ---
Week(Object)>>doesNotUnderstand: #do:
[] in WAMiniCalendar>>renderRowForWeek:on: {[aWeek   do: [:ea | self
renderCellForDate: ea on: html]]}
BlockContext>>renderOn:
WAHtmlRenderer(WAAbstractHtmlBuilder)>>render:
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
WAHtmlRenderer(WAAbstractHtmlBuilder)>>tag:do:
WAHtmlRenderer(WAAbstractHtmlBuilder)>>tableRow:
WAMiniCalendar>>renderRowForWeek:on:
[] in WAMiniCalendar>>renderContentOn: {[:week | self renderRowForWeek:
week on: html]}
Month(Timespan)>>do:with:when:
Month(Timespan)>>do:with:
Month(Timespan)>>weeksDo:
[] in WAMiniCalendar>>renderContentOn: {[html cssClass: 'calendarTitle';
      tableRow: [self weekDays     do: [:ea ...]}
BlockContext>>renderOn:
WAHtmlRenderer(WAAbstractHtmlBuilder)>>render:
WAHtmlRenderer(WAAbstractHtmlBuilder)>>tag:do:
WAHtmlRenderer(WAAbstractHtmlBuilder)>>table:
[] in WAMiniCalendar>>renderContentOn: {[html   spanClass:
'calendarCaption'   with: [self renderMonthHeadingOn: htm...]}
BlockContext>>renderOn:
WAHtmlRenderer(WAAbstractHtmlBuilder)>>render:
WAHtmlRenderer(WAAbstractHtmlBuilder)>>tag:do:
WAHtmlRenderer(WAAbstractHtmlBuilder)>>div:
WAHtmlRenderer(WAAbstractHtmlBuilder)>>divClass:with:
WAMiniCalendar>>renderContentOn:
WAMiniCalendar(WAPresenter)>>renderWithContext:
[] in WAMessageDecoration(WADecoration)>>renderOwnerOn: {[:owner | owner
renderWithContext: html context]}
WAMiniCalendar(Object)>>ifNotNilDo:
WAMessageDecoration(WADecoration)>>renderOwnerOn:
WAMessageDecoration>>renderContentOn:
WAMessageDecoration(WAPresenter)>>renderWithContext:
[] in WAAnswerHandler(WAPresenter)>>renderContentOn: {[:ea | ea
renderWithContext: aRenderer context]}
WAAnswerHandler(WADecoration)>>nextPresentersDo:
WAAnswerHandler(WAPresenter)>>renderContentOn:
WAAnswerHandler(WAPresenter)>>renderWithContext:
[] in WADelegation(WAPresenter)>>renderContentOn: {[:ea | ea
renderWithContext: aRenderer context]}
WAMiniCalendar(WAComponent)>>decorationChainDo:
WADelegation>>nextPresentersDo:
WADelegation(WAPresenter)>>renderContentOn:
WADelegation(WAPresenter)>>renderWithContext:
[] in MAContainerComponent(WAComponent)>>renderOn: {[:each | each
renderWithContext: aRenderer context]}
MAContainerComponent(WAComponent)>>decorationChainDo:
MAContainerComponent(WAComponent)>>renderOn:
WAHtmlRenderer(WAAbstractHtmlBuilder)>>render:
MAPersonEditor>>renderContentOn:
MAPersonEditor(WAPresenter)>>renderWithContext:
[] in MAPersonEditor(WAComponent)>>renderOn: {[:each | each
renderWithContext: aRenderer context]}
MAPersonEditor(WAComponent)>>decorationChainDo:
MAPersonEditor(WAComponent)>>renderOn:
WARenderCanvas>>render:
[] in WAToolFrame>>renderChildOn: {[html render: contents]}
Time class>>millisecondsToRun:
...etc...






Reply | Threaded
Open this post in threaded view
|

Re: Magritte/ squeak 3.9/Date issues

Philippe Marschall
No, that's a bug in Seaside. WAMiniCalendar sends the deprecated #do:
instead of #datesDo: .

Philippe

2006/9/2, florent trolat <[hidden email]>:

>
>
> I've tried to use MADateDescription but I've an error when I try to
> click on "choose".
> I've the same error with the magritte tutorial...so I give you the stack...
> May be something is wrong with my image?
> tx Florent.
>
>
> ------------------------------------------------------------------------
>
> MessageNotUnderstood: Week>>do:
> 2 September 2006 10:01:33 am
>
> VM: Win32 - a SmalltalkImage
> Image: Squeak3.9gamma [latest update: #7055]
>
> SecurityManager state:
> Restricted: false
> FileAccess: true
> SocketAccess: true
> Working Dir D:\esia\AOOA\SQ\Squeak3.9g-7055
> Trusted Dir D:\esia\AOOA\SQ\Squeak3.9g-7055\florent
> Untrusted Dir C:\My Squeak\florent
>
> Week(Object)>>doesNotUnderstand: #do:
>      Receiver: a Week starting: 2006-08-27T00:00:00+00:00
>      Arguments and temporary variables:
>          aMessage:     do: [] in WAMiniCalendar>>renderRowForWeek:on:
> {[:ea | self renderCel...etc...
>      Receiver's instance variables:
>          start:     2006-08-27T00:00:00+00:00
>          duration:     7:00:00:00
>
> [] in WAMiniCalendar>>renderRowForWeek:on: {[aWeek   do: [:ea | self
> renderCellForDate: ea on: html]]}
>      Arguments and temporary variables:
>          aWeek:     a Week starting: 2006-08-27T00:00:00+00:00
>          html:     a WAHtmlRenderer
>          ea:     nil
>
> BlockContext>>renderOn:
>      Receiver: [] in WAMiniCalendar>>renderRowForWeek:on: {[aWeek   do:
> [:ea | self renderCellForDate: ea...etc...
>      Arguments and temporary variables:
>          aRenderer:     a WAHtmlRenderer
>      Receiver's instance variables:
>          sender:     BlockContext>>renderOn:
>          pc:     40
>          stackp:     0
>          nargs:     0
>          startpc:     27
>          home:     WAMiniCalendar>>renderRowForWeek:on:
>
> WAHtmlRenderer(WAAbstractHtmlBuilder)>>render:
>      Receiver: a WAHtmlRenderer
>      Arguments and temporary variables:
>          anObject:     [] in WAMiniCalendar>>renderRowForWeek:on:
> {[aWeek   do: [:ea | self ...etc...
>      Receiver's instance variables:
>          attributeBuffer:     nil
>          context:     a WARenderingContext
>          callbacks:     a WACallbackRegistry
>          shortcutBuffer:     nil
>
>
> --- The full stack ---
> Week(Object)>>doesNotUnderstand: #do:
> [] in WAMiniCalendar>>renderRowForWeek:on: {[aWeek   do: [:ea | self
> renderCellForDate: ea on: html]]}
> BlockContext>>renderOn:
> WAHtmlRenderer(WAAbstractHtmlBuilder)>>render:
>   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> WAHtmlRenderer(WAAbstractHtmlBuilder)>>tag:do:
> WAHtmlRenderer(WAAbstractHtmlBuilder)>>tableRow:
> WAMiniCalendar>>renderRowForWeek:on:
> [] in WAMiniCalendar>>renderContentOn: {[:week | self renderRowForWeek:
> week on: html]}
> Month(Timespan)>>do:with:when:
> Month(Timespan)>>do:with:
> Month(Timespan)>>weeksDo:
> [] in WAMiniCalendar>>renderContentOn: {[html cssClass: 'calendarTitle';
>       tableRow: [self weekDays     do: [:ea ...]}
> BlockContext>>renderOn:
> WAHtmlRenderer(WAAbstractHtmlBuilder)>>render:
> WAHtmlRenderer(WAAbstractHtmlBuilder)>>tag:do:
> WAHtmlRenderer(WAAbstractHtmlBuilder)>>table:
> [] in WAMiniCalendar>>renderContentOn: {[html   spanClass:
> 'calendarCaption'   with: [self renderMonthHeadingOn: htm...]}
> BlockContext>>renderOn:
> WAHtmlRenderer(WAAbstractHtmlBuilder)>>render:
> WAHtmlRenderer(WAAbstractHtmlBuilder)>>tag:do:
> WAHtmlRenderer(WAAbstractHtmlBuilder)>>div:
> WAHtmlRenderer(WAAbstractHtmlBuilder)>>divClass:with:
> WAMiniCalendar>>renderContentOn:
> WAMiniCalendar(WAPresenter)>>renderWithContext:
> [] in WAMessageDecoration(WADecoration)>>renderOwnerOn: {[:owner | owner
> renderWithContext: html context]}
> WAMiniCalendar(Object)>>ifNotNilDo:
> WAMessageDecoration(WADecoration)>>renderOwnerOn:
> WAMessageDecoration>>renderContentOn:
> WAMessageDecoration(WAPresenter)>>renderWithContext:
> [] in WAAnswerHandler(WAPresenter)>>renderContentOn: {[:ea | ea
> renderWithContext: aRenderer context]}
> WAAnswerHandler(WADecoration)>>nextPresentersDo:
> WAAnswerHandler(WAPresenter)>>renderContentOn:
> WAAnswerHandler(WAPresenter)>>renderWithContext:
> [] in WADelegation(WAPresenter)>>renderContentOn: {[:ea | ea
> renderWithContext: aRenderer context]}
> WAMiniCalendar(WAComponent)>>decorationChainDo:
> WADelegation>>nextPresentersDo:
> WADelegation(WAPresenter)>>renderContentOn:
> WADelegation(WAPresenter)>>renderWithContext:
> [] in MAContainerComponent(WAComponent)>>renderOn: {[:each | each
> renderWithContext: aRenderer context]}
> MAContainerComponent(WAComponent)>>decorationChainDo:
> MAContainerComponent(WAComponent)>>renderOn:
> WAHtmlRenderer(WAAbstractHtmlBuilder)>>render:
> MAPersonEditor>>renderContentOn:
> MAPersonEditor(WAPresenter)>>renderWithContext:
> [] in MAPersonEditor(WAComponent)>>renderOn: {[:each | each
> renderWithContext: aRenderer context]}
> MAPersonEditor(WAComponent)>>decorationChainDo:
> MAPersonEditor(WAComponent)>>renderOn:
> WARenderCanvas>>render:
> [] in WAToolFrame>>renderChildOn: {[html render: contents]}
> Time class>>millisecondsToRun:
> ...etc...
>
>
>
>
>
>
>