GenPinoutSVG icon indicating copy to clipboard operation
GenPinoutSVG copied to clipboard

ERROR: Icon Image MUST be an SVG!

Open llinjupt opened this issue 3 years ago • 2 comments

Duing trying the orignal project, there is an error message "ERROR: Icon Image MUST be an SVG!" popping up. Log is attached below.

root@ubuntu:/home/ubuntu/oss/GenPinoutSVG# python --version
Python 3.6.9
root@ubuntu:/home/ubuntu/oss/GenPinoutSVG# ./GenPinoutSVG.py --overwrite data/ESP32-MAXIO.csv out.svg
ERROR: Icon Image MUST be an SVG!
Line 69: ICON, Resources/warning.svg, 1300, 2665, 25%, 25%
ERROR: Icon Image MUST be an SVG!
Line 141: ICON, Resources/antenna-3.svg, 2400, 800, 40%, 40%
ERROR: Icon Image MUST be an SVG!
Line 142: ICON, Resources/WiFi_Logo.svg, 2750, 800, 25%, 25%
ERROR: Icon Image MUST be an SVG!
Line 143: ICON, Resources/Bluetooth.svg, 2860, 1035, 10%, 10%
ERROR: Icon Image MUST be an SVG!
Line 149: ICON, Resources/USB_icon.svg, 1900, 2550, 100%, 75%
ERROR: Icon Image MUST be an SVG!
Line 158: ICON, Resources/SDXC.svg, 3700, 1450, 100%, 100%

llinjupt avatar Jan 11 '22 14:01 llinjupt

Hi, I haven't worked on this in a long time, I suspect theres been some bit rot. Will try and have a quick look over the weekend to see what the issue might be.

stevenj avatar Jan 12 '22 00:01 stevenj

I have just tried on Windows10 with ImageMagick-7.1.0-19-Q8-x64-dll.exe and very thing is ok. So maybe my Ubuntu environment is too old. FYI:

$ uname -a
Linux ubuntu 4.15.0-161-generic #169-Ubuntu SMP Fri Oct 15 13:41:54 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

$ sudo apt-get install imagemagick
Reading package lists... Done
Building dependency tree       
Reading state information... Done
imagemagick is already the newest version (8:6.9.7.4+dfsg-16ubuntu6.11).
0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.

llinjupt avatar Jan 12 '22 03:01 llinjupt