MINGW-packages: Rsvg using from Python3 is broken

Traceback (most recent call last):
  File "setup.py", line 147, in <module>
    exec(open("create_theme_preview.py").read())
  File "<string>", line 35, in <module>
  File "lib/pychess\gfx\Pieces.py", line 164, in set_piece_theme
    svg_pieces = get_svg_pieces(piece_set)
  File "lib/pychess\gfx\Pieces.py", line 106, in get_svg_pieces
    "pieces/%s/%s.svg" % (svgdir, svgdir)))
gi.repository.GLib.Error: g-io-error-quark: Operation not supported (15)

Referenced line is using Rsvg.Handle.new_from_file(). It worked OK from long years without any problem. I’v noticed that librsvg-2-2.dll file size increased a lot compared to older (working OK) versions.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments