Skip to content

[Bug Report] .flake8 Not found when Create ProjectΒ #4372

@LiuXianBang

Description

@LiuXianBang

Describe the bug

When I use isaaclab.bat --new to Create my project

some Error occurred

Traceback (most recent call last):
  File "D:\Project\IsaacLab\tools\template\cli.py", line 262, in <module>
    main()
  File "D:\Project\IsaacLab\tools\template\cli.py", line 258, in main
    generate(specification)
  File "D:\Project\IsaacLab\tools\template\generator.py", line 315, in generate
    _external(specification)
  File "D:\Project\IsaacLab\tools\template\generator.py", line 164, in _external
    shutil.copyfile(os.path.join(ROOT_DIR, ".flake8"), os.path.join(project_dir, ".flake8"))
  File "C:\Users\l3820\.conda\envs\env_isaaclab\Lib\shutil.py", line 256, in copyfile
    with open(src, 'rb') as fsrc:
         ^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\Project\\IsaacLab\\.flake8'

I am certain that this bug is the latest occurrence, so I checked the version records on GitHub and found that. flake8 has been deleted in the past day, which may be the root cause of this issue.
#4335

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions