Pangomonium 2.0 freezes while loading SVG

Discuss about plugins that don't have a dedicated forum
Post Reply
Flinx
Posts: 226
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Pangomonium 2.0 freezes while loading SVG

Post by Flinx »

After installing the new Pangomonium, my program hangs with 100% CPU load on one core when loading an Inkscape SVG. Here is the SVG: JSArrowLeftLeave.svg.
Tested on Windows.

Code: Select all

@BRUSH 17, "Graphics\\JSArrowLeftLeave.svg"
User avatar
airsoftsoftwair
Posts: 5557
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Pangomonium 2.0 freezes while loading SVG

Post by airsoftsoftwair »

Hmm, can't reproduce the problem. The SVG you provided loads and renders fine here on Windows. Is the code you posted really everything that is required to reproduce the issue?
Flinx
Posts: 226
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Re: Pangomonium 2.0 freezes while loading SVG

Post by Flinx »

That's strange. I tried it on three Windows 10 machines (two 64-bit, one 32-bit), and now again on a nearly fresh 64-bit Windows 10 and a Windows 11. In all cases the IDE hangs at “Loading brush JSArrowLeftLeave.svg...” and there is a process Hollywood.exe that you have to kill.
And yes, the line is enough. I have an additional Debugprint in there, but that makes no difference.
On Linux, it works as it should.
User avatar
airsoftsoftwair
Posts: 5557
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Pangomonium 2.0 freezes while loading SVG

Post by airsoftsoftwair »

Ok, got it. Looks like you need to do a

Code: Select all

@REQUIRE "pangomonium"
first. Then it will work. I'll fix this for the next version so that it works without requiring the plugin first but for now this is a very simple workaround :)
Flinx
Posts: 226
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Re: Pangomonium 2.0 freezes while loading SVG

Post by Flinx »

Of course I had a @REQUIRE "svgimage" in the program and did not expect any effect only from installing. Now it works.
Thank you.
Post Reply