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

tag_graph Permission Error #313

Open
binarygeek119 opened this issue May 29, 2024 · 1 comment
Open

tag_graph Permission Error #313

binarygeek119 opened this issue May 29, 2024 · 1 comment

Comments

@binarygeek119
Copy link

is i run it inside the docker image with python .\tag_graph.py -script it works but inside of stash it doesnt

INFO[2024-05-29 00:20:33] [Plugin / Tag Graph] generating graph... ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] Traceback (most recent call last): ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] File "/config/plugins/CommunityScripts/tag_graph/tag_graph.py", line 272, in <module> ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] plugin_init() ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] File "/config/plugins/CommunityScripts/tag_graph/tag_graph.py", line 216, in plugin_init ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] generate_graph(stash_connection) ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] File "/config/plugins/CommunityScripts/tag_graph/tag_graph.py", line 264, in generate_graph ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] G.save_graph(save_path) ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] File "/pip-install/install/pyvis/network.py", line 438, in save_graph ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] self.write_html(name) ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] File "/pip-install/install/pyvis/network.py", line 521, in write_html ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] shutil.copytree(f"{os.path.dirname(__file__)}/templates/lib/bindings", "lib/bindings") ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] File "/usr/lib/python3.11/shutil.py", line 561, in copytree ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks, ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] File "/usr/lib/python3.11/shutil.py", line 459, in _copytree ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] os.makedirs(dst, exist_ok=dirs_exist_ok) ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] File "<frozen os>", line 225, in makedirs ERRO[2024-05-29 00:20:33] [Plugin / Tag Graph] PermissionError: [Errno 13] Permission denied: 'lib/bindings' ERRO[2024-05-29 00:20:34] Plugin returned error: exit status 1

@stg-annon
Copy link
Contributor

this version of the plugin is outdated use this one for now until the community one is updated or removed

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

2 participants