Skip to content

qvm-convert-img fails to convert SVG image #9145

@ben-grande

Description

@ben-grande

Qubes OS release

R4.2

Brief summary

Try to convert

Steps to reproduce

Download Whonix-logo.svg.

curl -O https://www.whonix.org/w/images/1/19/Whonix-logo.svg

Try to convert image:

qvm-convert-img Whonix-logo.svg Whonix-logo.safe.svg

Expected behavior

Command qvm-convert-img converts the image.

Actual behavior

gm identify: No decode delegate for this image format (/tmp/qimg-7C8BP9Rv.png).
gm identify: Request did not return an image.
Traceback (most recent call last):
  File "/usr/lib/qubes/qimg-convert-client", line 50, in <module>
    main()
  File "/usr/lib/qubes/qimg-convert-client", line 44, in main
    img = qubesimgconverter.Image.get_through_dvm(args.src)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/qubesimgconverter/__init__.py", line 320, in get_through_dvm
    return cls.get_from_stream(sys.stdin.buffer, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/qubesimgconverter/__init__.py", line 197, in get_from_stream
    raise ValueError('No icon received')
ValueError: No icon received

Converting the qubes-logo-home.svg works while the Whonix-logo.svg fails.

Metadata

Metadata

Assignees

Labels

C: otherNo other component ("C:") label applies to this issue, or the appropriate label is not yet known.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.affects-4.2This issue affects Qubes OS 4.2.diagnosedTechnical diagnosis of this issue has been performed.pr submittedA pull request has been submitted for this issue.

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions