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

KeyError: 'pddl_params' when running generate_trajectories.py #104

Open
wang-sj16 opened this issue Jan 27, 2022 · 4 comments
Open

KeyError: 'pddl_params' when running generate_trajectories.py #104

wang-sj16 opened this issue Jan 27, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@wang-sj16
Copy link

wang-sj16 commented Jan 27, 2022

Hi, I meet the error output KeyError: 'pddl_params' when running generate_trajectories.py, as shown in image below:

image

I was wondering where could be wrong? Thanks!

@MohitShridhar
Copy link
Collaborator

@wang-sj16, I am not sure what is happening here. Was generate_trajectories.py somehow modified? It looks like this line isn't being called.

@wang-sj16
Copy link
Author

@MohitShridhar Hi, I didn't modify the code and the running command is python scripts/generate_trajectories.py --save_path data/new_trajs --in_parallel --debug --num_threads 1

@wang-sj16
Copy link
Author

@MohitShridhar found the bug. In this line, it should use import constants rather than import gen.constants as constants, latter will generate a new constants instance with no initilization.

@MohitShridhar
Copy link
Collaborator

oh thanks @wang-sj16 for investigating this. I'll try it out and merge into master soon.

@MohitShridhar MohitShridhar added the bug Something isn't working label Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants