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)
It was updated to latest version: https://github.com/msys2/MINGW-packages/commit/c896f49d0b54bb9b22203d91f692c5d9f2725159#diff-4e545bc4881d23f7fe4cf120f4bafab4
Seems to be fixed in testing 2.45 branch: https://gitlab.gnome.org/GNOME/librsvg/commit/ed942ce0ff98e579e155b2e1621de683942b6f0c Probably backporting this commit should be enough.