mateosss / matter

Customizable GRUB theme inspired by Material Design
Boost Software License 1.0
865 stars 50 forks source link

KeyError: 'width' line 54, in inkscape_convert_svg2png #77

Closed jasil2215P closed 1 year ago

jasil2215P commented 1 year ago

Hi, I am facing an error like this:

Traceback (most recent call last):
  File "./matter.py", line 876, in <module>
    do_install()
  File "./matter.py", line 543, in do_install
    prepare_source_dir()
  File "./matter.py", line 386, in prepare_source_dir
    convert_icon_svg2png(icon)
  File "./matter.py", line 248, in convert_icon_svg2png
    exit_code = converter(color, src_path, dst_path, whisper=whisper)
  File "/home/jaza/Documents/Hacking/matter/svg2png.py", line 54, in inkscape_convert_svg2png
    int_ignore_units(root.attrib["width"]),
KeyError: 'width'

And here is the command I run: sudo ./matter.py -i ubuntu folder _ _ _ _ _ _ microsoft-windows I am just trying to change my GRUB theme using matter and I think all the dependency have been installed properly.

Thank you for your advice and solutions!

heyzec commented 1 year ago

Looks like you accidentally opened two issues, https://github.com/mateosss/matter/issues/76. Kindly close this issue, thanks

jasil2215P commented 1 year ago

Ok fine!