Skip to content

static files are not present in the build resulting in error #11

@argoyal

Description

@argoyal

The latest version has an issue, where on creation of a new workspace I receive the following error.

Traceback (most recent call last):
  File "/home/arpit/.local/bin/wbck", line 8, in <module>
    sys.exit(cli())
  File "/home/arpit/.local/lib/python3.8/site-packages/wbck/__init__.py", line 75, in cli
    args.func(args)
  File "/home/arpit/.local/lib/python3.8/site-packages/wbck/__init__.py", line 18, in create_new_workspace
    setup_from_template(args.name, args.workspace_path, args.config_folder)
  File "/home/arpit/.local/lib/python3.8/site-packages/wbck/runners.py", line 23, in setup_from_template
    shutil.copytree(src_path, dst_path)
  File "/usr/lib/python3.8/shutil.py", line 555, in copytree
    with os.scandir(src) as itr:
FileNotFoundError: [Errno 2] No such file or directory: 'structure'

This is because the static files and folders present within the structure are not made part of the package build. This will also extend to the config_template.json file and accordingly solution needs to be devised.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions