compose-viz / compose-viz

A compose file visualization tool that follows compose-spec and allows you to gernerate graph in several formats.
https://pypi.org/project/compose-viz/
MIT License
47 stars 9 forks source link

AssertionError: Invalid volume input, aborting. #69

Open aaronbolton opened 2 months ago

aaronbolton commented 2 months ago

I get this error but it not clear where to look in the compose file where the problem is

Traceback (most recent call last): File "compose_viz/__main__.py", line 4, in <module> File "compose_viz/cli.py", line 72, in start_cli File "typer/main.py", line 214, in __call__ File "click/core.py", line 1157, in __call__ File "click/core.py", line 1078, in main File "click/core.py", line 1666, in invoke File "click/core.py", line 1434, in invoke File "click/core.py", line 783, in invoke File "typer/main.py", line 532, in wrapper File "compose_viz/cli.py", line 61, in compose_viz File "compose_viz/parser.py", line 245, in parse AssertionError: Invalid volume input, aborting. [7] Failed to execute script '__main__' due to unhandled exception!

wst24365888 commented 2 months ago

Hi @aaronbolton , thank you for reaching out. The error message you're seeing indicates an issue with the volume configuration in your compose file. To help resolve this, could you please share the section of your compose file where the volumes are defined? This will allow me to better understand the configuration and identify any potential problems.

aaronbolton commented 2 months ago

it turns out it was this which was breaking it for some reason

` scrutiny: container_name: scrutiny image: ghcr.io/analogj/scrutiny:master-omnibus cap_add: