KeyError crash issue near Y2 rock.
See original GitHub issue> n
YOU ARE IN A LOW N/S PASSAGE AT A HOLE IN THE FLOOR. THE HOLE GOES
DOWN TO AN E/W PASSAGE.
THERE IS A SMALL WICKER CAGE DISCARDED NEARBY.
> n
Traceback (most recent call last):
File "/usr/games/adventure", line 9, in <module>
load_entry_point('adventure==1.4', 'console_scripts', 'colossal-cave-adventure')()
File "/usr/share/colossal-cave-adventure/adventure/__main__.py", line 101, in main
loop(game)
File "/usr/share/colossal-cave-adventure/adventure/__main__.py", line 79, in loop
baudout(game.do_command(words))
File "/usr/share/colossal-cave-adventure/adventure/game.py", line 437, in do_command
self._do_command(words)
File "/usr/share/colossal-cave-adventure/adventure/game.py", line 506, in _do_command
self.dispatch_command(words)
File "/usr/share/colossal-cave-adventure/adventure/game.py", line 553, in dispatch_command
return self.do_motion(word1)
File "/usr/share/colossal-cave-adventure/adventure/game.py", line 701, in do_motion
self.move_to(move.action)
File "/usr/share/colossal-cave-adventure/adventure/game.py", line 186, in move_to
self.move_dwarves()
File "/usr/share/colossal-cave-adventure/adventure/game.py", line 325, in move_dwarves
self.describe_location()
File "/usr/share/colossal-cave-adventure/adventure/game.py", line 379, in describe_location
self.write(obj.messages[prop])
KeyError: 0
Happened on stream at 23 minutes if you want to check it out too. I’ll see if I can figure out how to reproduce it. https://www.twitch.tv/videos/709451376
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
How to Fix KeyError Exceptions in Python - Rollbar
The Python KeyError is an exception that occurs when an attempt is made to access an item in a dictionary that does not...
Read more >RocksDB recovery crashes with KeyError · Issue #73 - GitHub
We created a simple test for Faust streaming and ran two or more parallel workers, each using own RocksDB. Under high traffic, stopping...
Read more >Python KeyError Exceptions and How to Handle Them
In this tutorial, you'll learn how to handle Python KeyError exceptions. They are often caused by a bad key lookup in a dictionary,...
Read more >Getting two errors, keyerror and typeerror after script is left to ...
The problem here is that works and then just crashes. Sometimes it will crash after the first iteration of the while True loop,...
Read more >Kivy Documentation - Read the Docs
Welcome to Kivy's documentation. Kivy is an open source software library for the rapid development of applications equipped with novel user ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great, thanks for the quick fix. Installed and next time I play adventure I’ll do my best to die with a full bottle. And yes, that is the CowboyNeal. Music by Corvus Covax probably, perhaps ‘Twilight of the Thunder Gods’. A playlist I put together for MUDing.
(I edited your comment to switch the triple-single-quotes to triple-backticks, which I think is what was intended.)