Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Icon Image MUST be an SVG! #2

Open
llinjupt opened this issue Jan 11, 2022 · 2 comments
Open

ERROR: Icon Image MUST be an SVG! #2

llinjupt opened this issue Jan 11, 2022 · 2 comments

Comments

@llinjupt
Copy link

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%
@stevenj
Copy link
Owner

stevenj commented Jan 12, 2022

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.

@llinjupt
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants