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

[Errno 2] No such file or directory: out/source-in-sink.csv' #15

Open
0xBytefuzz opened this issue Jan 6, 2023 · 1 comment
Open

[Errno 2] No such file or directory: out/source-in-sink.csv' #15

0xBytefuzz opened this issue Jan 6, 2023 · 1 comment

Comments

@0xBytefuzz
Copy link

0xBytefuzz commented Jan 6, 2023

I have a problem, and I can't solve it. I hope you can help me. This is my test file (sink.csv source.csv) and the command I execute is "python -m retropath2_wrapper sink.csv rules.csv out --source_file source.csv"
My environment

68ffda700bb199a5da800f7768cc7c0

@0xBytefuzz 0xBytefuzz changed the title [Errno 2] No such file or directory: '/home/vvc/Downloads/a/testa/out/source-in-sink.csv' [Errno 2] No such file or directory: out/source-in-sink.csv' Jan 7, 2023
@niraito
Copy link

niraito commented May 26, 2023

Hello @cn-lugen, were you able to solve it? Due to my WSL re-installation, I had to re-install retropath2_wrapper as well. Now I receive the same error as you.

Previous tutorial samples were carotene, naringenin, pinocembrin, and violacein. My command for carotene is:

python -m retropath2_wrapper sink.csv rules.csv out_carotene_5s_230523 --source_file source.csv --max_steps 5 --log DEBUG

... and the input files for carotene tutorial (rules.csv, sink.csv, source.csv) are attached.

The created output folder is empty. And I receive the following error for all previous and current tutorial sets (including lycopene and alanine):

ERROR    | 2023-05-23 15:52:35,907.907 RetroPath2 - check_src_in_sink_2(): [Errno 2] No such file or directory: '/mnt/d/nilay/phd/pathdeneme/retropath_ubuntu_tutorials/carotene/out_carotene_5s_230523/source-in-sink.csv'
INFO     | 2023-05-23 15:52:35,908.908 __main__ - _cli():
ERROR    | 2023-05-23 15:52:35,908.908 __main__ - _cli(): The following error occured: 1
ERROR    | 2023-05-23 15:52:35,908.908 __main__ - _cli(): Exiting...

For lycopene and alanine, I have used rules.csv.gz compressed file as rules. But, I believe the uncompression of the rule file is not the reason for this error.

The cause might be my environment, or is there an issue related to the codes in the RetroPath2_wrapper repository? Could anybody help us?

Thank you for your time,
Nilay

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