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

Provenance files are not being produced with v0.10 #270

Open
marialainez opened this issue Jan 18, 2024 · 0 comments
Open

Provenance files are not being produced with v0.10 #270

marialainez opened this issue Jan 18, 2024 · 0 comments

Comments

@marialainez
Copy link
Collaborator

Since we switched to v0.10, the provprocess script is giving this error:

2023-09-05 10:07:01,828 ERROR [root] (provprocess.produce_provenance_files): problem while creating graph: [Errno 2] "dot" not found in path.
Traceback (most recent call last):
  File "/fefs/aswg/software/conda/envs/osa-v0.10/lib/python3.11/site-packages/pydot.py", line 1923, in create
    stdout_data, stderr_data, process = call_graphviz(
                                        ^^^^^^^^^^^^^^
  File "/fefs/aswg/software/conda/envs/osa-v0.10/lib/python3.11/site-packages/pydot.py", line 132, in call_graphviz
    process = subprocess.Popen(
              ^^^^^^^^^^^^^^^^^
  File "/fefs/aswg/software/conda/envs/osa-v0.10/lib/python3.11/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/fefs/aswg/software/conda/envs/osa-v0.10/lib/python3.11/subprocess.py", line 1950, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'dot'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/fefs/aswg/software/conda/envs/osa-v0.10/lib/python3.11/site-packages/osa/scripts/provprocess.py", line 371, in produce_provenance_files
    provdoc2graph(provdoc, str(paths["graph_filepath"]), "pdf")
  File "/fefs/aswg/software/conda/envs/osa-v0.10/lib/python3.11/site-packages/osa/provenance/io.py", line 199, in provdoc2graph
    content = dot.create(format=fmt)
              ^^^^^^^^^^^^^^^^^^^^^^
  File "/fefs/aswg/software/conda/envs/osa-v0.10/lib/python3.11/site-packages/pydot.py", line 1933, in create
    raise OSError(*args)
FileNotFoundError: [Errno 2] "dot" not found in path.

The script was working fine for v0.9. It seems the error is related to the installation of graphviz, but installing graphviz with pip does not solve the issue.

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