[Cuis-dev] FYI. VectorGraphics freezes World. CuisBook procedure.
Juan Vuletich
juan at jvuletich.org
Tue Jul 20 13:08:46 PDT 2021
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,
--
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210720/8411f760/attachment.htm>
More information about the Cuis-dev
mailing list