I fixed the plugin so that it work in the latest Magritte and Pier.
Name: Poll-lr.16
Author: lr
Time: 24 June 2009, 9:53:04 am
UUID: 59ed91f4-7102-4fbe-a439-e0b521b511b8
Ancestors: Poll-pmm.15
- some trivial changes to make it work in the latest pier
However the result-graph requires some pie-chart morphs that are not
part of Pharo anymore. So you need to get that from somewhere.
Lukas
On Wed, Jun 24, 2009 at 9:46 AM, Lukas Renggli<renggli(a)gmail.com> wrote:
Ok, the Seaside related bug with the stack trace is fixes:
http://code.google.com/p/seaside/issues/detail?id=392
Now the bug in the poll code. That's a very old package that haven't
been touched for a long time.
Lukas
On Wed, Jun 24, 2009 at 9:07 AM, Lukas Renggli<renggli(a)gmail.com> wrote:
> Mhh, that seems to be an issue with closures in Seaside 2.8 and 2.9.
> I'll look into this.
>
> Lukas
>
> On Wed, Jun 24, 2009 at 1:28 AM, Mariano Martinez
> Peck<marianopeck(a)gmail.com> wrote:
>> You must probably attach more info. I tried it and get this:
>>
>> Internal Error
>>
>> Error: subscript is out of bounds: 6
>>
>> MethodContext(Object)>>errorSubscriptBounds:
>> MethodContext(ContextPart)>>at:
>> MethodContext>>tempAt:
>> MethodContext>>tempNamed:
>> [] in [] in WAWalkback>>renderStackFrame:on:
>> Array(SequenceableCollection)>>do:
>> [] in WAWalkback>>renderStackFrame:on:
>> BlockClosure>>renderOn:
>> [] in WAGenericTag(WATagBrush)>>with:
>> BlockClosure>>renderOn:
>> WARenderCanvas(WACanvas)>>nest:
>> WAGenericTag(WABrush)>>with:
>> WAGenericTag(WATagBrush)>>with:
>> WARenderCanvas(WAHtmlCanvas)>>definitionList:
>> WAWalkback>>renderStackFrame:on:
>> [] in [] in [] in WAWalkback>>renderStackOn:
>> BlockClosure>>renderOn:
>> [] in WAGenericTag(WATagBrush)>>with:
>> BlockClosure>>renderOn:
>> WARenderCanvas(WACanvas)>>nest:
>>
>>
>> After debugging a while, the problem is:
>>
>> WAWalkback>>renderStackFrame: aContext on: html
>> html definitionList: [
>> self
>> renderObject: aContext
>> labelled: 'thisContext' on: html.
>> self
>> renderObject: aContext receiver
>> labelled: 'self' on: html.
>> aContext tempNames do: [ :name |
>> self aContext tempNamed: 'each'
>> renderObject: (aContext tempNamed: name)
>> labelled: name on: html ] ]
>>
>>
>> In this case, aContext tempNames is an Array with #('anObject'
'selectors'
>> 'container' 'description' 'result' 'each')
>>
>> However, if you try to do aContext tempNamed: 'each' you will get the
>> subscript is out of bound.
>>
>> That's all I could figure out. Perhaps is a problem related with the new
>> BlockClosure.
>>
>> Best,
>>
>> Mariano
>>
>>
>>
>> On Tue, Jun 23, 2009 at 7:02 PM, Ilya Tim <ilya.ufo(a)gmail.com> wrote:
>>>
>>> I need to make poll in my site. I loaded this package Poll-pmm.15.mcz,
>>> but when i tried to add such component on the page Error: "Subscript
>>> out of bound" raised and this node added in the tree. In stack trace
>>> something about MANamedBuilder was mentioned. When i opened this node
>>> another error about using obsolete functionality raised. How can i fix
>>> this problems and what other packages i need?
>>> Thanks in andvance.
>>>
>>> __
>>> Ilya Timofeev
>>> _______________________________________________
>>> Magritte, Pier and Related Tools ...
>>>
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>
>>
>> _______________________________________________
>> Magritte, Pier and Related Tools ...
>>
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>
>
>
>
> --
> Lukas Renggli
>
http://www.lukas-renggli.ch
>
--
Lukas Renggli
http://www.lukas-renggli.ch