Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<generate_action_game_object> crash #142

Open
jgranda1999 opened this issue Feb 9, 2024 · 0 comments
Open

<generate_action_game_object> crash #142

jgranda1999 opened this issue Feb 9, 2024 · 0 comments

Comments

@jgranda1999
Copy link

At the GNS FUNCTION: <generate_action_game_object>, my simulation crashed and got this error:

GNS FUNCTION: <generate_action_game_object>
Traceback (most recent call last):
File "/home/jgrandaa/Desktop/simulacra/reverie/backend_server/persona/memory_structures/spatial_memory.py", line 105, in get_str_accessible_arena_game_objects
x = ", ".join(list(self.tree[curr_world][curr_sector][curr_arena]))
KeyError: 'main room'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/jgrandaa/Desktop/simulacra/reverie/backend_server/reverie.py", line 496, in open_server
rs.start_server(int_count)
File "/home/jgrandaa/Desktop/simulacra/reverie/backend_server/reverie.py", line 390, in start_server
next_tile, pronunciatio, description = persona.move(
File "/home/jgrandaa/Desktop/simulacra/reverie/backend_server/persona/persona.py", line 222, in move
plan = self.plan(maze, personas, new_day, retrieved)
File "/home/jgrandaa/Desktop/simulacra/reverie/backend_server/persona/persona.py", line 148, in plan
return plan(self, maze, personas, new_day, retrieved)
File "/home/jgrandaa/Desktop/simulacra/reverie/backend_server/persona/cognitive_modules/plan.py", line 959, in plan
_determine_action(persona, maze)
File "/home/jgrandaa/Desktop/simulacra/reverie/backend_server/persona/cognitive_modules/plan.py", line 629, in _determine_action
act_game_object = generate_action_game_object(act_desp, act_address,
File "/home/jgrandaa/Desktop/simulacra/reverie/backend_server/persona/cognitive_modules/plan.py", line 221, in generate_action_game_object
if not persona.s_mem.get_str_accessible_arena_game_objects(act_address):
File "/home/jgrandaa/Desktop/simulacra/reverie/backend_server/persona/memory_structures/spatial_memory.py", line 107, in get_str_accessible_arena_game_objects
x = ", ".join(list(self.tree[curr_world][curr_sector][curr_arena.lower()]))
KeyError: 'main room'
Error.
Enter option: fin
fin

Anyone know how I could approach solving this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant