Inkscape SVG file kills SheetCAM

Having problems with or questions about SheetCam? Post them here.
Post Reply
jnwinkie
Posts: 7
Joined: Wed Jul 19, 2023 4:45 am

Inkscape SVG file kills SheetCAM

Post by jnwinkie »

Hi all;

Have been using sheetCAM and InkScape to do some one off art panels. I have now upgraded machine to Ubuntu 22.04LTS, running Inkscape V 1.1 and SheetCAM 7.1.33.

The file looks good and will load in other apps. When I load in SheetCAM boom it just fails.

Any ideas please.

I have attached the offending file (SVG)
Attachments
rov2.svg
(7.71 KiB) Downloaded 83 times
mancavedweller
Posts: 161
Joined: Tue Feb 25, 2014 6:53 am

Re: Inkscape SVG file kills SheetCAM

Post by mancavedweller »

Hi jnwinkie,

sorry I'm not much help here, and I know it doesn't make you feel great when I say it worked fine on my system, but I imported your file into Sheetcam Development version on my windows operating system and it processed and simulated fine.

So the file itself seems OK.
Maybe Les can give some input on where the problem may lie.
jnwinkie
Posts: 7
Joined: Wed Jul 19, 2023 4:45 am

Re: Inkscape SVG file kills SheetCAM

Post by jnwinkie »

Thanks Mancavedweller, well it is useful feedback, so at least we can eliminate some of the variables. It is much appreciated you took the time to test and revert.
User avatar
Les Newell
Site Admin
Posts: 3668
Joined: Thu May 11, 2006 8:12 pm

Re: Inkscape SVG file kills SheetCAM

Post by Les Newell »

I can confirm the fault. It appears to be only on the Linux version. I will see if I can figure out what is going on.
User avatar
Les Newell
Site Admin
Posts: 3668
Joined: Thu May 11, 2006 8:12 pm

Re: Inkscape SVG file kills SheetCAM

Post by Les Newell »

Well, that one took some fixing. V7.1.35 should work correctly.
jnwinkie
Posts: 7
Joined: Wed Jul 19, 2023 4:45 am

Re: Inkscape SVG file kills SheetCAM

Post by jnwinkie »

Thanks Les;
I'll test and revert. In a potted form what was the issue? Was it related to a particular LIB or missing dependency?
Cheers
jnwinkie
Posts: 7
Joined: Wed Jul 19, 2023 4:45 am

Re: Inkscape SVG file kills SheetCAM

Post by jnwinkie »

Hi Les;
Upgraded and tested, now generates error zip. Have forwarded it on.
Cheers
User avatar
Les Newell
Site Admin
Posts: 3668
Joined: Thu May 11, 2006 8:12 pm

Re: Inkscape SVG file kills SheetCAM

Post by Les Newell »

The problem was a memory allocation error. More specifically it was trying to delete a block of memory that had already been deleted. I'm a little surprised it didn't also cause a problem on the Windows version.

I had a look at the log you sent me and can't see anything significant. At what point does it fail and what error message do you get when it fails?
jnwinkie
Posts: 7
Joined: Wed Jul 19, 2023 4:45 am

Re: Inkscape SVG file kills SheetCAM

Post by jnwinkie »

Hi Les;
Step are launch SheetCAM,
Choose import image
I get the Metric/Imperial page
Matrix for orientation
90 vs 96 DPI
Choose the image as per previous attachment
Enter
Then get error page (Screenshot provided)
Then option to create support ZIP.

Let me know if you need anything else.
Attachments
error_message.png
error_message.png (130.25 KiB) Viewed 13741 times
User avatar
Les Newell
Site Admin
Posts: 3668
Joined: Thu May 11, 2006 8:12 pm

Re: Inkscape SVG file kills SheetCAM

Post by Les Newell »

Hmm, the trouble may not be what I thought it was. Go to the text plugin then click on 'new' then the three dots next to the font name. Does it crash?
jnwinkie
Posts: 7
Joined: Wed Jul 19, 2023 4:45 am

Re: Inkscape SVG file kills SheetCAM

Post by jnwinkie »

Hi Les;
Text plugin seems greyed out. When I click new, no issue, when I click on options (the three dots) yep you guessed right.
Attached error.
Attachments
error_message2.png
error_message2.png (151.58 KiB) Viewed 13731 times
User avatar
Les Newell
Site Admin
Posts: 3668
Joined: Thu May 11, 2006 8:12 pm

Re: Inkscape SVG file kills SheetCAM

Post by Les Newell »

Thanks for the confirmation. Now I just need to work out whyinhell it's doing that!
Hopefully for the time being you can use dxf. Just don't enable text.
jnwinkie
Posts: 7
Joined: Wed Jul 19, 2023 4:45 am

Re: Inkscape SVG file kills SheetCAM

Post by jnwinkie »

So far have worked around it, be keen to see what you find out to fix it.
Cheers
Post Reply