hpi-swa-teaching / SWT18-Project-06

A series of small coding challenges to teach the Morphic UI-Framework
5 stars 0 forks source link

Opening the Morphic Tutorial can crash the image #8

Closed codeZeilen closed 5 years ago

codeZeilen commented 6 years ago

When opening the Morphic Tutorial after checking it out from the repository (no prior Metacello installation, so probably some dependencies missing), the image halts. I have no further information at that point. :)

codeZeilen commented 6 years ago

Actually I do have the dependencies installed as they are in my image anyways. It might be another version but I do not think that there is a major version mismatch (but I didn't test it either).

LeonMatthes commented 6 years ago

What version of Squeak are you running at? Did you not install Metacello at all or did you just not use it for the Motu installation? I accidentally used a similar installation procedure without any issues: Using a Squeak5.2alpha-18181-64Bit image, I did actually install Metacello to install Squot, but I did not install the MorphicTutorial via Metacello but just checked it out using Squot's Git Browser. This installation procedure seems to work without any problems.

codeZeilen commented 5 years ago

Turns out this is related to a Pheno issue and does not originate in the Morphic Tutorial classes.

codeZeilen commented 5 years ago

Well it turns out not to be a Pheno issue but a misuse of the world:

MotuPlayground>>#initialize

    super initialize.
    self frameFractions: (0@0 rect: 1@1).
    self setUpBackground.
    super addMorph: Project currentWorld
LeonMatthes commented 5 years ago

This issue is fixed as of ad8a496eb7ce136a45ccc06b7177a3c6138c5d15