[Seaside] Re: SubscriptOutOfBounds error when adding class
initializer for the sample counter application
Paul DeBruicker
pdebruic at gmail.com
Tue Mar 31 16:16:49 UTC 2015
Hi Terrence,
Thats good news. Your counter app should be registered and available
through a browser.
Because there is no error, then the problem lies in how you're executing the
code. If in the code browser window you're selecting the line
WAAdmin register: self asApplicationAt: 'my_app'
and 'doing-it' then that would be the problem. Better to run the
'WebCounter initialize' code fragment
Hope this helps
Paul
Terrence Brannon wrote
> There is no error when `Webcount initialize` is executed in a Workspace.
> Here is the stacktrace:
>
> Array(Object)>>errorSubscriptBounds:
> Array(Object)>>at:
> Browser>>selectedMessageCategoryName
> Browser>>compileMessage:notifying:
> Browser>>contents:notifying:
> PluggableTextMorph>>acceptTextInModel in Block: [ ...
> BlockClosure>>ensure:
> PluggableTextMorph>>acceptTextInModel
> PluggableTextMorph>>acceptBasic
> PluggableTextMorph>>accept
> TextMorphForEditView>>acceptContents
> TextMorph class>>buildTextEditorKeymapsOn: in Block: [ :morph | morph
> acceptContents ]
> BlockClosure>>cull:
> BlockClosure>>cull:cull:
> BlockClosure>>cull:cull:cull:
> KMCategoryBinding>>completeMatch:buffer:
> KMKeymap>>notifyCompleteMatchTo:buffer: in Block: [ :l | l completeMatch:
> self buffer: aBuffer ]
> Array(SequenceableCollection)>>do:
> KMKeymap>>notifyCompleteMatchTo:buffer:
> KMKeymap>>onMatchWith:notify:andDo:
> KMCategory>>onMatchWith:notify:andDo: in Block: [ :entry | entry
> onMatchWith: anEventBuffer notify...etc...
> Set>>do:
> KMCategory>>onMatchWith:notify:andDo:
> KMCategoryBinding>>verifyMatchWith:notifying:thenDoing:
> KMDispatcher>>dispatch: in Block: [ :aTarget | ...
> OrderedCollection>>do:
> KMDispatcher>>dispatch:
> KMTarget>>dispatch:
> KMDispatchChain>>dispatch: in Block: [ :targetToDispatch | ...
> KMDispatchChain>>do:
>
>
> On Tue, Mar 31, 2015 at 7:18 AM, Paul DeBruicker <
> pdebruic@
> > wrote:
>
>> Hi Terrence,
>>
>>
>> To get a copy of the stack hit the 'Debug' button then right click on the
>> stack and choose 'Copy to clipboard'.
>>
>>
>> The stack you've shown doesn't have enough info to tell what's wrong.
>>
>> In a workspace when you run
>>
>> WebCounter initialize
>>
>>
>> do you get the error?
>>
>>
>> Hope this helps
>>
>>
>> Paul
>>
>>
>>
>>
>>
>> Terrence Brannon wrote
>> > The Seaside book has a section on automatically registering component
>> > <
>> http://book.seaside.st/book/getting-started/pharo/first-component/auto-register>
>> ;
>> > s.
>> >
>> > For some reason, I cannot copy and paste the stack trace, so here is a
>> > screenshot of the error
>> > <
>> https://www.evernote.com/shard/s309/sh/6cbdcb47-a4d0-4200-8c6a-7a36d29a3703/43a46810da5740fa2dc5cfd7cb93a48a/deep/0/Pharo3.0.image.png>
>> ;
>> > .
>> >
>> > --
>> > Terrence Brannon
>> >
>> > _______________________________________________
>> > seaside mailing list
>>
>> > seaside at .squeakfoundation
>>
>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://forum.world.st/SubscriptOutOfBounds-error-when-adding-class-initializer-for-the-sample-counter-application-tp4816334p4816365.html
>> Sent from the Seaside General mailing list archive at Nabble.com.
>> _______________________________________________
>> seaside mailing list
>>
> seaside at .squeakfoundation
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>
>
>
> --
> Terrence Brannon
> 818-359-0893 (cell)
>
> _______________________________________________
> seaside mailing list
> seaside at .squeakfoundation
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
--
View this message in context: http://forum.world.st/SubscriptOutOfBounds-error-when-adding-class-initializer-for-the-sample-counter-application-tp4816334p4816423.html
Sent from the Seaside General mailing list archive at Nabble.com.
More information about the seaside
mailing list