Closed zhaoguangbao closed 2 years ago
Hi @zhaoguangbao,
I am unable to reproduce this error using the slightly modified script here:
from mayavi import mlab
from autolab_core import YamlConfig
import os
if __name__ == '__main__':
home_dir = os.environ["HOME"]
save_path = os.path.join(home_dir, "test.yaml")
cfg = YamlConfig()
cfg["key"] = "value"
cfg.save(save_path)
yaml_config = YamlConfig(save_path)
print(yaml_config["key"])
What OS are you running on and what is your python version?
Closing for inactivity, please feel free to reopen!
As above, the "bind: Invalid command enable-meta-key" occurred in pycharm, and the "segmentation dump" occurred during the execution of the script.
Swap the order and the error does not occur
Thanks!