moosetechnology / MoosePy

To manage importing Python code into moose python metamodel
1 stars 3 forks source link

MooseGroup(Object)>>doesNotUnderstand: #collectWithIndex: #12

Open yann-gael opened 6 months ago

yann-gael commented 6 months ago

I loaded "lucene" in the Model Browser. I opened the Query Browser, when selecting Relation Query, I got this exception:

MooseGroup(Object)>>doesNotUnderstand: #collectWithIndex:
PluggableIconListMorph>>getList
PluggableIconListMorph(PluggableListMorph)>>getListSize
LazyMorphListMorph(LazyListMorph)>>getListSize
LazyMorphListMorph>>listChanged
PluggableIconListMorph(PluggableListMorph)>>updateList
PluggableIconListMorph(PluggableListMorph)>>update:
MorphChanged>>deliverTo:
PluggableIconListMorph(Morph)>>handleUpdate:
MessageSend>>value:
MessageSend>>cull:
MessageSend>>cull:cull:
[action cull: anAnnouncement cull: announcer] in AnnouncementSubscription>>deliver: in Block: [action cull: anAnnouncement cull: announcer]
FullBlockClosure(BlockClosure)>>on:do:
[ Processor terminateRealActive ] in [ :ex |
              | onDoCtx handler bottom thisCtx |
              onDoCtx := thisContext.
              thisCtx := onDoCtx home.

              "find the context on stack for which this method's is sender"

              [ onDoCtx sender == thisCtx ] whileFalse: [
                  onDoCtx := onDoCtx sender.
                  onDoCtx ifNil: [ "Can't find our home context. seems like we're already forked
                and handling another exception in new thread. In this case, just pass it through handler."
                      ^ handlerAction cull: ex ] ].

              bottom := [ Processor terminateRealActive ] asContext.
              onDoCtx privSender: bottom.

              handler := [ handlerAction cull: ex ] asContext.
              handler privSender: thisContext sender.

              (Process forContext: handler priority: Processor activePriority) resume.

              "cut the stack of current process"
              thisContext privSender: thisCtx.
              nil ] in FullBlockClosure(BlockClosure)>>on:fork: in Block: [ Processor terminateRealActive ]

MOOSE MooseGroup collectWithIndex