Bug#1034687: ardentryst: Crash when renaming existing character

Nils Dagsson Moskopp nils+debian-p14s at dieweltistgarnichtso.net
Fri Apr 21 19:17:39 BST 2023


Package: ardentryst
Version: 1.71-8
Severity: normal
X-Debbugs-Cc: nils+debian-p14s at dieweltistgarnichtso.net

Dear Maintainer,

when resuming a saved game you can press “Q” in the world map/overview.
You then get a menu in which you can press “R” to rename the character.
Pressing “return” after typing the new character name crashes the game.

The following text is the entire terminal output from start to a crash:

pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Ext.reader.Sax2 not found

-------------------------------------------------------------------------------
            Ardentryst v.20090726 (1.71-Comet Unstable) 1:11 PM AEST           
                               by Jordan Trudgett                              
-------------------------------------------------------------------------------

    Ardentryst Copyright (C) 2007, 2008, 2009 Jordan Trudgett
    This program comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it
    under certain conditions; for details, see the COPYING file.

An error has occurred. 
Traceback (most recent call last):
  File "/usr/share/games/ardentryst/ardentryst.py", line 4722, in <module>
    main()
  File "/usr/share/games/ardentryst/ardentryst.py", line 4423, in main
    handle_game(Game, True)
  File "/usr/share/games/ardentryst/ardentryst.py", line 2988, in handle_game
    r = Ingame_Menu((screen, Data, Fonts, p1c, soundbox, ticker, Game, player, False))
  File "/usr/share/games/ardentryst/play_level.py", line 1588, in Ingame_Menu
    sfiles = os.listdir("Saves")
FileNotFoundError: [Errno 2] No such file or directory: 'Saves'
Traceback (most recent call last):
  File "/usr/share/games/ardentryst/ardentryst.py", line 4722, in <module>
    main()
  File "/usr/share/games/ardentryst/ardentryst.py", line 4423, in main
    handle_game(Game, True)
  File "/usr/share/games/ardentryst/ardentryst.py", line 2988, in handle_game
    r = Ingame_Menu((screen, Data, Fonts, p1c, soundbox, ticker, Game, player, False))
  File "/usr/share/games/ardentryst/play_level.py", line 1588, in Ingame_Menu
    sfiles = os.listdir("Saves")
FileNotFoundError: [Errno 2] No such file or directory: 'Saves'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/games/ardentryst/ardentryst.py", line 4726, in <module>
    handleException(e)
  File "/usr/share/games/ardentryst/ardentryst.py", line 685, in handleException
    open("bugreport.txt", "w").write(open(os.path.join(SAVEDIRECTORY, "log.txt"), "r").read())
PermissionError: [Errno 13] Permission denied: 'bugreport.txt'

-- System Information:
Debian Release: 11.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-0.bpo.3-amd64 (SMP w/16 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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 ardentryst depends on:
ii  fonts-freefont-ttf  20120503-10
ii  python3             3.9.2-3
ii  python3-future      0.18.2-5
ii  python3-pygame      1.9.6+dfsg-4+b1

ardentryst recommends no packages.

ardentryst suggests no packages.

-- no debconf information


More information about the Pkg-games-devel mailing list