[Cuis-dev] FYI. VectorGraphics freezes World. CuisBook procedure.

Gerald Klix cuis.01 at klix.ch
Tue Jul 20 13:50:54 PDT 2021


Hi Juan,

this solved most of my problems with Haver and the latest updates.
My subclass of PlugableButtonMorph does not work any
more, but this issue should be easy to find and fix.


Thanks a lot,

Gerald



On 7/20/21 10:08 PM, Juan Vuletich via Cuis-dev wrote:
> On 7/18/2021 6:37 AM, Nicola Mingotti via Cuis-dev wrote:
>>
>> Hi guys,
>>
>> I was reading the Cuis Book in the last flight and trying some stuff.
>>
>> I found this ugly situation where following chapter 7 procedure "going 
>> vector"
>> and doing :
>> ----
>> Feature require: 'VectorGraphics'
>> ----
>>
>> Freezes the World. I tried in Mac and Linux. Recently downloaded from 
>> Git.
>> Same behavior.
>>
>> I can't fix it myself, but I let you know there is a problem.
>>
>> I humbly recommend you not to put 'experimental' procedures in the 
>> beginner book.
>> Or to mark them in red and say well to prepare a separate image before 
>> running
>> those lines ... or the beginner will get into troubles ;)
>>
>> I see in another image i have 'VectorGraphics' already loaded,
>> probably it loaded as a dependency when I installed 'StyledText'.
>> So, i deduce the prolbem is on loading 'VectorGraphics' alone.
>>
>> bye
>> Nicola
> 
> Hi Nicola,
> 
> Most likely the problem you found was because when you pull the repo, 
> you get the latest VectorGraphics.pck.st and a bunch of numbered 
> updates. Some of those updates might be needed for the package to run 
> properly, but they are not installed by default. So things could break 
> if updates are not manually loaded before installing Vector Graphics. 
> This is of course not good!
> 
> Today I pushed several updates that:
> 
> - Include new images. All updates up to now are pre loaded.
> - Actually add the update number as a prerequisite to 
> VectorGraphics.pck.st. If you try to load it without the required 
> updates to the base image, it won't load and will give a hopefully 
> useful error message. This will help in the future.
> 
> We don't want people to find broken stuff like that. We try to be 
> careful to avoid it as much as possible, and to fix things quickly when 
> we break them. Thanks for reporting this. It really helps!
> 
> Cheers,
> 
> 


More information about the Cuis-dev mailing list