Your message dated Thu, 9 May 2024 00:27:47 +0200
with message-id
<cadstwjlhrb1pcjjonqtewwuqxh0ss4lgtnvvnwv86y51ni5...@mail.gmail.com>
and subject line done
has caused the Debian Bug report #1069961,
regarding ImportError: cannot import name 'RWops_from_file' from
'pygame_sdl2.rwobject'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1069961: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069961
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: renpy
Version: 8.1.3+dfsg-1
Severity: important
When trying to run commercial games with Debian-provided renpy (I tried
Slay the Princess and Roadwarden), a crash is triggered before the game
window would be shown:
Traceback (most recent call last):
File "/usr/games/renpy", line 252, in <module>
main()
File "/usr/games/renpy", line 248, in main
renpy.bootstrap.bootstrap(renpy_base)
File "/usr/share/games/renpy/renpy/bootstrap.py", line 250, in bootstrap
renpy.import_all()
File "/usr/share/games/renpy/renpy/__init__.py", line 409, in import_all
import renpy.loader
File "/usr/share/games/renpy/renpy/loader.py", line 37, in <module>
from pygame_sdl2.rwobject import RWops_from_file, RWops_create_subfile
ImportError: cannot import name 'RWops_from_file' from 'pygame_sdl2.rwobject'
(/usr/lib/python3/dist-packages/pygame_sdl2/rwobject.cpython-311-x86_64-linux-gnu.so)
The import line triggering this error is no longer part of the upstream
codebase, it has been replaced with the following commit:
https://github.com/renpy/renpy/commit/13cfd68491a38ca1d864c6b668b8c527e58923e2
Applying this patch on top of the cuurent sid build does indeed avoid
this crash, and allow to run the games I tested.
I suggest either backporting this patch, or, better, packaging the
current upstream release (8.2.1).
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500,
'stable-debug'), (500, 'oldstable-debug'), (500, 'unstable'), (500, 'testing'),
(500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.7.9-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages renpy depends on:
ii fonts-dejavu-core 2.37-8
ii fonts-motoya-l-cedar 1.01-5
ii fonts-nanum 20200506-1
ii fonts-roboto-hinted 2:0~20170802-3
ii python3 3.11.8-1
ii python3-pefile 2023.2.7-3
ii python3-pygame-sdl2 8.2.1-1
ii python3-renpy 8.1.3+dfsg-1+b1
ii python3-six 1.16.0-6
Versions of packages renpy recommends:
pn python3-tk <none>
pn zenity <none>
renpy suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
version: 8.2.1+dfsg-1
--- End Message ---