[Cuis-dev] FYI. VectorGraphics is dead in Linux
Nicola Mingotti
nmingotti at gmail.com
Wed Feb 9 23:50:20 PST 2022
On 2/10/22 00:16, Juan Vuletich wrote:
> On 09/02/2022 07:21 p.m., Nicola Mingotti via Cuis-dev wrote:
>>
>> On 2/9/22 22:50, Nicola Mingotti wrote:
>>>
>>> On 2/9/22 22:42, Nicola Mingotti wrote:
>>>> Hi guys,
>>>>
>>>> as you know i don't need strictly VectorGraphics for my current
>>>> projects in development.
>>>>
>>>> Anyway, it is very cool so sometimes I switch it on and try it.
>>>>
>>>> I want to inform you that in Linux x86-64 it is all broken at the
>>>> moment. It means everything
>>>> hangs when i try to `Feature require: VectorGraphics` either with
>>>> or without
>>>> loading the latest changes.
>>>>
>>>> -----
>>>> Smalltalk vmVersion . 'Open Smalltalk Cog[Spur] VM
>>>> [CoInterpreterPrimitives VMMaker.oscog-nice.2715]'
>>>>
>>>> Smalltalk imageName .
>>>> '/home/p/prog/cuis-project/Cuis-Smalltalk-Dev/Cuis6.0-5031.image'
>>>> -----
>>>>
>>>>
>>>>
>>>> bye
>>>> Nicola
>>>>
>>>>
>>>
>>> Oh, btw, i remember that Juan wrote me to check something when i saw
>>> the same thing in the ARM-32 platform .... I have 1 hour free, i
>>> will check
>>> and report.
>>>
>>> give me a bit of time i ll be back
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>> Umm, nope, i confirm there must be something wrong
>>
>> . Downloaded and compiled latest VM
>> . Downloaded fresh Cuis-Smalltalk-dev
>> . run it
>> . Feature require: 'VectorGraphics'.
>>
>> -------
>>
>> Smalltalk imageName . "
>> '/home/p/download/cuisTest/Cuis-Smalltalk-Dev/Cuis6.0-5031.image' "
>> Smalltalk vmVersion . " 'Open Smalltalk Cog[Spur] VM
>> [CoInterpreterPrimitives VMMaker.oscog-eem.3148]' "
>> Feature require: 'VectorGraphics'.
>> -------
>>
>> => system hangs, red Morphic windows, i see this message repeating in
>> the shell
>> --------------
>>
>> MessageNotUnderstood: VectorCanvas>>setPluginAndForm:
>> See
>> /home/p/download/cuisTest/Cuis-Smalltalk-Dev/CuisDebug-2022-02-09_23.17.06.log
>> 9 February 2022 11:17:06.171223 pm
>> VectorCanvas(Object)>>doesNotUnderstand: #setPluginAndForm:
>> MorphicCanvas class>>withVectorEnginePluginOnForm:
>> [] in DisplayScreen>>getMainCanvas
>> BlockClosure>>on:do:
>> DisplayScreen>>getMainCanvas
>> WorldMorph>>setMainCanvas
>> WorldMorph>>mainLoop
>> [] in WorldMorph>>runProcess
>> [] in BlockClosure>>newProcess
>>
>> --------------
>>
>>
>>
>> bye
>> Nicola
>>
>>
>
> I guess you didn't load Cuis updates before loading Vector Graphics,
> right?
>
> A "Message Not Understood" error usually points to a problem in
> Smalltalk code, not the VM or the plugins.
>
> Hope this helps.
> --
> 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
> https://independent.academia.edu/JuanVuletich
> https://www.researchgate.net/profile/Juan-Vuletich
> https://patents.justia.com/inventor/juan-manuel-vuletich
> @JuanVuletich
Hi Juan,
that solves it in the freshly compiled VM but doesn't for a prebuilt
"202003021730" VM
------------------------------------------
Smalltalk imageName . "
'/home/p/download/cuisTest/Cuis-Smalltalk-Dev/Cuis6.0-5031.image' "
Smalltalk vmVersion . " 'Open Smalltalk Cog[Spur] VM
[CoInterpreterPrimitives VMMaker.oscog-eem.3148]' "
ChangeSet installNewUpdates.
Feature require: 'VectorGraphics'. ==> it works
------------------------------------------
in the precompiled "202003021730" VM:
------------------------------------------
Smalltalk imageName . "
'/home/p/download/cuisTest/Cuis-Smalltalk-Dev/Cuis6.0-5031.image' "
Smalltalk vmVersion . " 'Open Smalltalk Cog[Spur] VM
[CoInterpreterPrimitives VMMaker.oscog-nice.2715]' "
ChangeSet installNewUpdates.
Feature require: 'VectorGraphics'. ==> still does not work
---- in the shell i see ------
Error: key not found
See
/home/p/download/cuisTest/Cuis-Smalltalk-Dev/CuisDebug-2022-02-10_08.44.30.log
10 February 2022 8:44:30.185828 am
SystemDictionary(Object)>>error:
SystemDictionary(Dictionary)>>errorKeyNotFound
[] in SystemDictionary(Dictionary)>>at:
SystemDictionary(Dictionary)>>at:ifAbsent:
SystemDictionary(Dictionary)>>at:
VectorEngine class>>onForm:subPixelAntiAliasing:
VectorCanvas>>setForm:subPixelAntiAliasing:
VectorCanvas class(MorphicCanvas class)>>onForm:translation:
VectorCanvas class(MorphicCanvas class)>>onForm:
HybridCanvas>>setForm:subPixelAntiAliasing:
MorphicCanvas class>>onForm:translation:
MorphicCanvas class>>onForm:
[] in DisplayScreen>>getMainCanvas
BlockClosure>>on:do:
DisplayScreen>>getMainCanvas
WorldMorph>>setMainCanvas
WorldMorph>>mainLoop
[] in WorldMorph>>runProcess
[] in BlockClosure>>newProcess
---- in the CuisDebugXXX.log i see
VectorCanvas>>setForm:subPixelAntiAliasing:
Receiver: a VectorCanvas on: DisplayScreen(2200x911x32)
Arguments and temporary variables:
aForm: DisplayScreen(2200x911x32)
aBoolean: false
Receiver's instance variables:
world: nil
form: DisplayScreen(2200x911x32)
clipRect: nil
transformations: nil
currentTransformation: nil
cti: nil
currentMorph: nil
drawingMorphStack: nil
engine: nil
clippingMorphDisplayBounds: nil
firstPoint: nil
lastControlPoint: nil
currentPoint: nil
boundsFinderCanvas: nil
auxBitBltEngine: nil
VectorCanvas class(MorphicCanvas class)>>onForm:translation:
Receiver: VectorCanvas
Arguments and temporary variables:
argOrTemp1: DisplayScreen(2200x911x32
----------
i guess the reason of the different behavior is because this VM does
not have the VectorEnginePlugin, right ?
-----------------------------------------------
bye
Nicola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220210/79fbaa08/attachment-0001.htm>
More information about the Cuis-dev
mailing list