[Cuis-dev] Load All TrueType Fonts fails in Cuis6.0-5069; porting from VW to Cuis (addendum)

Shaping shaping at uurda.org
Sun May 15 13:26:06 PDT 2022


Also you probably don’t need all the packages, and maybe there’s some of them not up to date, not sure. For my projects I do this:

  - copy .image and .changes to new files

  - start the new image

  - install new updates

  - install VectorGraphics from the FileList or from the menu by choosing a TTF font

  - install my packages

  - save

 

This sounds like the way to go, but I can’t get Package Downloader to run to completion.

 

 

 

On Mon, 16 May 2022 at 2:09 AM Luciano Notarfrancesco <luchiano at gmail.com <mailto:luchiano at gmail.com> > wrote:

I have my images in the same directory than the original image. This is required for it to find the updates, it looks for a subdirectory CoreUpdates/. If you copy to other directory you’ll have to copy more files, e.g. .sources, etc…

 

On Mon, 16 May 2022 at 2:05 AM Shaping via Cuis-dev <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st> > wrote:

Package downloader says CoreUpdates cannot be found.  I copied and renamed my image/changes files to another directory.  CoreUpdates is in fact in Cuis-Smalltalk-dev.  I tried changing the “Start in” directory of the shortcut to the Cuis-Smalltalk-dev, but this made no difference.

 

From: Cuis-dev <cuis-dev-bounces at lists.cuis.st <mailto:cuis-dev-bounces at lists.cuis.st> > On Behalf Of Luciano Notarfrancesco via Cuis-dev
Sent: Sunday, 15 May, 2022 13:56
To: Discussion of Cuis Smalltalk <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st> >
Cc: Luciano Notarfrancesco <luchiano at gmail.com <mailto:luchiano at gmail.com> >
Subject: Re: [Cuis-dev] Load All TrueType Fonts fails in Cuis6.0-5069; porting from VW to Cuis (addendum)

 

I install packages with a doIt or from the FileList. And I make a new image not from the menu but by coping the .image and .changes files instead.

 

On Mon, 16 May 2022 at 1:47 AM Shaping via Cuis-dev <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st> > wrote:

Loading AllPackages caused error:  Could not find code package file for {PetitParser]. Installation of [PetitParserBinding] failed.

 

I then noticed the Package Downloader (I’d early used Git Bash to download the packages).  I tried to download all the packages, but there was a walkback complaining about a Socket connection to local host at port 443.

 

…

 

Re: https://github.com/bpieber/Cuis-Smalltalk-StyledTextEditor

 

Similarly, I’m getting walkbacks when I try to use StyleTextEditor (I’m trying to see how we are using Git, even if the facility is nascent).

 

The Package Downloader found and listed the .git file.  Loading it caused a walkback talking about 

 

arg1:      [closure] in ExternalType class>>noticeModificationOf: 

in  Win32Bitmap.

 

I’m seeing several basic errors.  I can only conclude that I did not setup Cuis completely.   

 

 

Shaping

 

 

---

 

Hi.

 

I cloned the latest Cuis repo at https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev.git.

 

Then I cloned the 21 package repos listed in clonePackageRepos.sh.

 

They are:

 

git clone https://github.com/Cuis-Smalltalk/SVG.git

git clone https://github.com/Cuis-Smalltalk/EnhancedText.git

git clone https://github.com/Cuis-Smalltalk/Erudite.git

git clone https://github.com/Cuis-Smalltalk/StyledTextEditor.git

git clone https://github.com/Cuis-Smalltalk/Measures.git

git clone https://github.com/Cuis-Smalltalk/Calendars.git

git clone https://github.com/Cuis-Smalltalk/CodeExamples.git

git clone https://github.com/Cuis-Smalltalk/Games.git

git clone https://github.com/Cuis-Smalltalk/Morphic.git

git clone https://github.com/Cuis-Smalltalk/Cairo.git

git clone https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-UI.git

git clone https://github.com/Cuis-Smalltalk/OSProcess.git

git clone https://github.com/Cuis-Smalltalk/Numerics.git

git clone https://github.com/Cuis-Smalltalk/GeographicInformationSystems.git

git clone https://github.com/Cuis-Smalltalk/Parsers.git

git clone https://github.com/Cuis-Smalltalk/Machine-Learning.git

git clone https://github.com/Cuis-Smalltalk/AMQP.git

git clone https://github.com/Cuis-Smalltalk/firmata.git

git clone https://github.com/Cuis-Smalltalk/VMMaker.git

git clone https://github.com/Cuis-Smalltalk/Learning-Cuis.git

git clone https://github.com/Cuis-Smalltalk/TheCuisBook.git

 

Then I cloned and unzipped the Windows VM at https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/download/202112201228/squeak.cog.spur_win64x64.zip

 

I made a shortcut icon to the engine and image, and double-clicked it.

 

Cuis started, and I saved it down to another name (you can’t specify a file path when you do this, only a leaf name; you then must copy the three new files to whatever location you want).

 

One of the first things I did was: Load All TrueType Fonts.  This created a walkback complaining about how MorphicCanvas already has ivar engine defined.  Why would this be a problem?  We could just redefine the class, and continue. 

 

I then started over with a fresh image, and opened Package Installer.  I don’t know which package(s) to load to fix the morphic TTfont problem.  So I chose the first of the three VectorGraphics packages.  This caused the same walkback.  I’ll continue to work thru the packages.  

 

Is there a smoother way to get something beyond a plain-vanilla Cuis set up?

 

 

 

I’m trying to port all my work from VisualWorks to Pharo or Cuis, which looks cleaner and easier to work with in some ways.  Does anyone have a well-tested procedure for converting VW to Pharo/Cuis?  I posted the same question in Pharo Discord, but didn’t see a Discord or Pharo subgroup for Cuis.

 

 

Shaping

 

 

-- 
Cuis-dev mailing list
Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st> 
https://lists.cuis.st/mailman/listinfo/cuis-dev

-- 
Cuis-dev mailing list
Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st> 
https://lists.cuis.st/mailman/listinfo/cuis-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220515/5e91e787/attachment-0001.htm>


More information about the Cuis-dev mailing list