Skip to content

RuntimeError: Unable to find logic.csv using poetry #1

@ryu-bu

Description

@ryu-bu

RuntimeError after poetry install, poetry shell, then python3 main.py

Error Detail:

Prior results detected, moving to prevent clobber.
Prior results move to /users/ryu/documents/ec551/homework1-template/output/prior_cello_result_2021-03-29_00.10.38
Executing Cello Query... (This may take a moment)
docker: Error response from daemon: Mounts denied: 
The path /users/ryu/documents/ec551/homework1-template/input is not shared from the host and is not known to Docker.
You can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing.
See https://docs.docker.com/docker-for-mac for more info.
ERRO[0000] error waiting for container: context canceled 
Cello Query Finished!
Traceback (most recent call last):
  File "/Users/ryu/Documents/EC551/homework1-template/main.py", line 33, in <module>
    res = CelloResult(results_dir=out_dir)
  File "/Users/ryu/Library/Caches/pypoetry/virtualenvs/homework1-template-4Oyr4Si7-py3.9/lib/python3.9/site-packages/celloapi2/celloapi.py", line 92, in __init__
    self.logic_dict = self._parse_result_csv(filename="logic")
  File "/Users/ryu/Library/Caches/pypoetry/virtualenvs/homework1-template-4Oyr4Si7-py3.9/lib/python3.9/site-packages/celloapi2/celloapi.py", line 118, in _parse_result_csv
    raise RuntimeError(
RuntimeError: Unable to find logic.csv. Please check output directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions