[Cuis-dev] AssertionFailure in prePackageInstall of package Morphic-Misc1

Bernhard Pieber bernhard at pieber.com
Thu Dec 23 01:21:40 PST 2021


Hi Ken,

Ah, you are right! I did something slightly different. I had put my image and changes into a sibling folder of Cuis-Smalltalk-Dev to avoid making the Git repository dirty should I save my image. I did not copy the CuisV5.sources file, though. There was no warning on startup because of a missing sources file so I assumed it was part of the VM which is the case for current Squeak VMs. Alas, that assumption was false. Hence the missing timestamps, which led to the symptom.

As long as I don’t use #abandonSources it should be safe to use a symbolic link to the CuisV5.sources file and use it from several images, right?

Thanks for looking into this.

Cheers,
Bernhard

> Am 22.12.2021 um 21:44 schrieb ken.dickey--- via Cuis-dev <cuis-dev at lists.cuis.st>:
>
> On 2021-12-22 02:33, Bernhard Pieber via Cuis-dev wrote:
>
>> I encountered an error when trying to install all packages:
>> Feature require: 'AllPackages‘.
>
> Starting from the latest image with all updates, this installs for me
> without errors.
>
> ...
>> This results in a debugger in MorphicMisc1Package class>>
>> prePackageInstall.
>
> I updated Morphic-Misc1 to ask the user when Morph>>changeColor has
> already been updated.  It will still assert: false to abort, keeping
> context for debugging.
>
> Test via
>   Feature require: 'Morphic-Misc1'.
> then going to the File List and installing Morphic-Misc1 a second time.
> [Or loading twice from the file list]
>
> HTH,
> -KenD
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev




More information about the Cuis-dev mailing list