Skip to content

config.sim.simulate = simulate AttributeError: 'Namespace' object has no attribute 'sim' #22

Description

@chenquan2002

Error Report: Issue Running test_data_generation.py on kitchen-worlds

Environment:

  • Conda environment: kitchen

  • Command:

    • conda activate kitchen
    • python examples/test_parse_lisdf.py
    • python examples/test_data_generation.py

Error Message:

Traceback (most recent call last):
  File "examples/test_data_generation.py", line 16, in <module>
    config.sim.simulate = simulate
AttributeError: 'Namespace' object has no attribute 'sim'

Description of the Problem:
When running the test_data_generation.py script, I encountered the following error:

AttributeError: 'Namespace' object has no attribute 'sim'

This error occurs on the line:

config.sim.simulate = simulate

It appears that the config object, which is supposed to be loaded from the get_config_from_argparse function, does not contain the sim attribute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions