[Cuis-dev] Errors loading solitaire

Barry Perryman barry.perryman at gmail.com
Sun Dec 18 14:58:22 PST 2022


So the plot thickens... I've inlined some answers since they could still be
of some use but the executive summary seems to be the following:

* use: Feature require ... this works!
* use the package installer, this fails.

This wasn't the result I was expecting.

On Sun, Dec 18, 2022 at 9:40 PM <ken.dickey at whidbey.com> wrote:

> On 2022-12-18 11:39, Barry Perryman via Cuis-dev wrote:
> > So just to be sure I started from scratch with a fresh git clone, using
> > these instructions
> > (
> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/blob/master/Documentation/GettingStarted.md),
>
> > cloned the packages and ensured they were up to date.
>
> So you invoked Cuis-Smalltalk-Dev/pullAllRepos.sh ?
>
>
Yes


> FYI, If you open a Workspace and "DoIt" on `Feature require:
> 'Morphic-Games-Solitaire'` you don't need to open the package installer.
>

OK, good to know. Thanks


> > Select "Morphic - Games - Solitaire"
> > Press the Install Package button.
> >
> > That's when I get the "Message not understood" error window.
>
> Wow!  I try in RasPi4/Raspian (64 bit) and Intel/Linux (64 bit) and all
> works OK for me.
>

I'm hoping this isn't going to be a colossal waste of your time...


> Can you send the output of:
>
> Shell/Terminal:
>   squeak --version      "Are you running 32 bit or 64 bit images?"


I've got this install in a ${HOME}/Applications folder, rather than
installed in /Applications

barry at ford Cuis-Smalltalk-Dev %
~/Applications/Squeak.app/Contents/MacOS/Squeak -version

5.0 5.20220511.0711 Mac OS X built on May 11 2022 08:13:34 UTC Compiler:
Apple LLVM 12.0.0 (clang-1200.0.32.29) [Production Spur 64-bit x64 VM]

CoInterpreter VMMaker.oscog-mt.3184 uuid:
57b61827-3f1a-ab45-966e-7c5caaef28d7 May 11 2022

StackToRegisterMappingCogit VMMaker.oscog-mt.3179 uuid:
c6fbcb07-2a19-ed4f-8b40-9c119a70882a May 11 2022

VM: 202205110711 runner at Mac-1652256021913.local
:work/opensmalltalk-vm/opensmalltalk-vm

Date: Wed May 11 09:11:21 2022 CommitHash: 95dbe9d

Plugins: 202205110711 runner at Mac-1652256021913.local
:work/opensmalltalk-vm/opensmalltalk-vm


>

  ps aux | grep squeak  "Invoke info for running Cuis image"
>

So I just double click on the image file and it opens up the installed
version - it doesn't seem to show any additional args.

barry at ford Cuis-Smalltalk-Dev % ps aux | grep -i squeak

barry             1314   5.0  0.9 34583624 151204   ??  S    10:22pm   0:29.34
/Users/barry/Applications/Squeak.app/Contents/MacOS/Squeak


>   uname -a              "info on OS"
>

barry at ford Cuis-Smalltalk-Dev % uname -a
Darwin ford.local 21.6.0 Darwin Kernel Version 21.6.0: Thu Sep 29 20:12:57
PDT 2022; root:xnu-8020.240.7~1/RELEASE_X86_64 x86_64


> And in a Cuis Workspace:
>   Smalltalk systemInformationString.
>

Smalltalk systemInformationString => 'Cuis 6.0
 latest update: #5597
 Running at
:/Users/barry/Documents/Cuis/Cuis-Smalltalk-Dev/DevTesting.image'


> Also, what method is sending #bitXor: ?  It should be the debugger frame
> or two below the error.
>

The source seems to be in the ZipWriteStream class >> updateCrc:from:to:in:
The arguments are:
oldCrc = 4294967295
start = 1
stop = 4
aCollection = 'IHDR'

It all happens as part of the CardMorph initialisation.  From memory, when
I dug into this last time I remember is being the CardMorph initialisation
and it was loading the PNG images for the cards.

Thanks again for all the work!
> -KenD


Many thanks for all your help.

Barry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221218/8383018c/attachment.htm>


More information about the Cuis-dev mailing list