Public bug reported: Ren'Py on Kubuntu 26.04 installed via apt crashes on launch. ===
Error seems to be because it uses code removed on Python 3.14: > AttributeError: module 'ast' has no attribute 'Str' https://docs.python.org/dev/whatsnew/3.14.html#removed So the package should be updated to the latest version, which presumably works on latest Python (I'm speculating, I haven't tested this at all). Or at least include some kind of dependency on explicit Python version somehow. How to reproduce --- I tried: `sudo apt install renpy`, which installed "Version: 8.3.4+dfsg-6build2" python3 --version: Python 3.14.4 I think Python version upgraded when I upgraded the OS some time ago. I tried to install renpy for the first time afterwards (on 26.04). When trying to run the GUI via app menu, it crashes opening this in Kate: ~/.renpy/launcher/traceback.txt ``` I'm sorry, but an uncaught exception occurred. After initialization, but before game start. File "launcher/game/gui7.rpy", line 152, in prepare_screen screen gui_demo(accent, boring, light, display): File "launcher/game/gui7.rpy", line 152, in prepare screen gui_demo(accent, boring, light, display): File "launcher/game/gui7.rpy", line 169, in prepare frame: File "launcher/game/gui7.rpy", line 169, in prepare frame: File "launcher/game/gui7.rpy", line 180, in prepare frame: File "launcher/game/gui7.rpy", line 180, in prepare frame: File "launcher/game/gui7.rpy", line 186, in prepare has vbox File "launcher/game/gui7.rpy", line 186, in prepare has vbox File "launcher/game/gui7.rpy", line 188, in prepare text _("Display"): AttributeError: module 'ast' has no attribute 'Str' -- Full Traceback ------------------------------------------------------------ Full traceback: File "/usr/share/games/renpy/renpy/bootstrap.py", line 359, in bootstrap renpy.main.main() File "/usr/share/games/renpy/renpy/main.py", line 656, in main run(restart) File "/usr/share/games/renpy/renpy/main.py", line 94, in run renpy.display.screen.prepare_screens() File "/usr/share/games/renpy/renpy/display/screen.py", line 1024, in prepare_screens s.ast.prepare_screen() File "launcher/game/gui7.rpy", line 152, in prepare_screen screen gui_demo(accent, boring, light, display): File "launcher/game/gui7.rpy", line 152, in prepare screen gui_demo(accent, boring, light, display): File "launcher/game/gui7.rpy", line 169, in prepare frame: File "launcher/game/gui7.rpy", line 169, in prepare frame: File "launcher/game/gui7.rpy", line 180, in prepare frame: File "launcher/game/gui7.rpy", line 180, in prepare frame: File "launcher/game/gui7.rpy", line 186, in prepare has vbox File "launcher/game/gui7.rpy", line 186, in prepare has vbox File "launcher/game/gui7.rpy", line 188, in prepare text _("Display"): File "/usr/share/games/renpy/renpy/sl2/slast.py", line 435, in prepare keyword_keys.append(ast.Str(s=k)) AttributeError: module 'ast' has no attribute 'Str' Linux-7.0.0-30-generic-x86_64-with-glibc2.43 x86_64 Ren'Py 8.3.4.24120703+unofficial Ren'Py Launcher 8.3.4.24120703+unofficial Thu Aug 20 19:26:17 2026 ``` ** Affects: renpy (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2164696 Title: Crash on launch on renpy 8.3.4+dfsg-6build2 on Ubuntu 26.04 LTS because of Python 3.14 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/renpy/+bug/2164696/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
