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

gitlab ci-cd pipepline failing with kedro-viz-static #16

Open
haratyma opened this issue Apr 6, 2021 · 0 comments
Open

gitlab ci-cd pipepline failing with kedro-viz-static #16

haratyma opened this issue Apr 6, 2021 · 0 comments

Comments

@haratyma
Copy link

haratyma commented Apr 6, 2021

My pipeline for deploying on Gitlab pages fails with this error:
$ kedro static-viz --no-serve
Traceback (most recent call last):
File "/usr/local/bin/kedro", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.8/site-packages/kedro/framework/cli/cli.py", line 696, in main
cli_collection(**cli_context)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/kedro_static_viz/cli.py", line 79, in static_viz
_static_viz(
File "/usr/local/lib/python3.8/site-packages/kedro_static_viz/core.py", line 70, in static_viz
copy_site(directory)
File "/usr/local/lib/python3.8/site-packages/kedro_static_viz/core.py", line 31, in copy_site
tar.extractall(f.parent)
File "/usr/local/lib/python3.8/tarfile.py", line 2028, in extractall
self.extract(tarinfo, path, set_attrs=not tarinfo.isdir(),
File "/usr/local/lib/python3.8/tarfile.py", line 2069, in extract
self._extract_member(tarinfo, os.path.join(path, tarinfo.name),
File "/usr/local/lib/python3.8/tarfile.py", line 2143, in _extract_member
self.makedir(tarinfo, targetpath)
File "/usr/local/lib/python3.8/tarfile.py", line 2172, in makedir
os.mkdir(targetpath, 0o700)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.8/site-packages/kedro_static_viz/public'
Why plugin deploys in this first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant