Errors when attempt to import Plain SVG files into Version 9.0

Hello.
I am using KiCAD version 9.0

I am attempting to import an svg graphic.
The image is created by inkscape and saved in Plain SVG format

KiCAD-SVG-error

(No Graphic Items Found in File)

I have tried converting the file in Notepad++ to Unix(LF) and that did not help.
Is there anything else I can try?
Thanks

What was the software used to create the file?
Can you open the file with yet another program?
Can you share the file?
Can you reproduce this with another (simple) file in the same software and share that file?

Also, which KiCad V9.0 are you using? The latest and greatest is V9.0.3 at the moment, and it has a whole list of fixed bugs compared to V9.0.2. There is still a lot of new development happening in KiCad, with a new mayor version each year, and each year also around 8 to 11 bug fix updates. (That’s a new version every 4 to 6 weeks on average, and it’s really worth it to install the updates).

I actually found a way to do exactly what I needed to do and was able to import a photo of a PCB into PCBNew and set it as a background. so I could trace the existing copper areas and component locations precisely. This software is amazing. It’s why I just donated $50. Well worth it.

Now if you ask me how I did it I have no idea what I did but there was a way to do it is all I remember

SVG is a vector based format and can be imported via … / File / Import / Graphics while photographs are bitmaps and imported via: Schematic Editor / Place / Add Image or PCB Editor / Place / Add Reference Image, and similar for both the symbol and footprint editors.

On top of that, In the project manager there is also an Image Converter with some capabilities of vectorizing bitmap graphics.

Really what you need to do is attach your SVG or it can only be guesswork that wastes everyone’s time.

My money is that it uses xlinks to refer to objects indirectly (the Inkscape clone tool, Alt+D does this) and nanosvg, the SVG library that KiCad uses, doesn’t support them.

To fix, you can try to unlink the object in inkscape: image

Tried to unlink but is said no clones were found in the selection
Here is the SVG that fails import in KiCAD

NOCO_Genius_PCB_2A

(Cant see it in the post but it shows up while editing ?)

There is a bit of a *&^%$#@! with SVG files. It has taken many years before web browsers were able to render them as a “normal” graphic file, but still there are issues with those files. Maybe it helps if you zip up the file and then post it.

This SVG is empty except for a group, which is, itself, empty. So if that’s really the file you are importing and it’s not been chewed up by the forum, KiCad’s warning that there is nothing in the file makes some sense!

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" version="1.1" id="svg1" width="1880" height="1188" viewBox="0 0 1880 1188">
  <defs id="defs1"/>
  <g id="g1">
    
  </g>
</svg>