Omar Polo <op@openbsd.org> writes:
> Brad Smith <brad@comstyle.com> wrote:
>> On Fri, Feb 25, 2022 at 02:50:01PM -0500, Brad Smith wrote:
>> > Here is an attempt at an update to renpy 7.4.9.
>> >
>> > Looking for any testing and feedback.
>>
>> I noticed there was a slightly newer version available with 7.4.11.
>
> builds fine but fails badly at runtime
>
> % renpy
> Traceback (most recent call last):
> File "./renpy.py", line 199, in <module>
> main()
> File "./renpy.py", line 195, in main
> renpy.bootstrap.bootstrap(renpy_base)
> File "/usr/local/share/renpy/renpy/bootstrap.py", line 306, in bootstrap
> renpy.import_all()
> File "/usr/local/share/renpy/renpy/__init__.py", line 454, in import_all
> import renpy.display.core # object @UnresolvedImport
> File "/usr/local/share/renpy/renpy/display/core.py", line 83, in <module>
> pygame.KEYMAPCHANGED,
> AttributeError: 'module' object has no attribute 'KEYMAPCHANGED'
>
> do we need a newer pygame?
games/pygame_sdl2 should be newer or match games/renpy version. Regular
pygame isn't used since 6.99 due to "import pygame_sdl2 as pygame".
See also https://github.com/renpy/pygame_sdl2/issues/134#issuecomment-986158575
Disclaimer: I don't use OpenBSD but maintain renpy in FreeBSD ports.
No comments:
Post a Comment