OpenSmock / Pyramid

Pyramid is a Graphical User-Interface (GUI) builder and editor for Bloc and Toplo.
MIT License
29 stars 5 forks source link

Error when starting morphic BlSpace #148

Closed ELePors closed 3 months ago

ELePors commented 3 months ago

When starting a Demo with a Morphic BlSpace. The stack call to the canEditSpace: on PyramidPluginEditOnRunning produces a doesNotUnderstand exception on my BlSpace which does not knows the userData accessor.

The starting point is here :

bl := BlElement new.
host := BlMorphicWindowHost new.
    BlSpace new
        in: [ :sp | sp root addChild: bl ];
        host: host;
        title: host asString;
        extent: 500 @ 250;
        show.
Nyan11 commented 3 months ago

I do not understand the problem.

BlSpace can perform #userData, on its API.

labordep commented 3 months ago

This is a problem due to an old Bloc version (https://github.com/OpenSmock/Bloc/releases/tag/1.0.0.2). If necessary we can create a specific branch of Pyramid to support this version.