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

No such file or directory: '/home/***/proabc2-work/session.log #14

Open
AbDiscover opened this issue Jun 5, 2024 · 10 comments
Open

No such file or directory: '/home/***/proabc2-work/session.log #14

AbDiscover opened this issue Jun 5, 2024 · 10 comments
Assignees

Comments

@AbDiscover
Copy link

I used docker as " docker run ghcr.io/haddocking/proabc-2:latest /home//proabc2-work h.fasta l.fasta", however, the error cames"[Errno 2] No such file or directory: '/home//proabc2-work/session.log". May I have your advice on this?

@rvhonorato rvhonorato self-assigned this Jun 5, 2024
@rvhonorato
Copy link
Member

From your command it seems that you are missing the -v flag;

docker run \
    ghcr.io/haddocking/proabc-2:latest \
    -v `pwd`:/data \ ## This line
    /home/user/proabc2-work h.fasta l.fasta

you might need to adjust the paths to your case

@AbDiscover
Copy link
Author

“yilu@localhost:~/proabc2-work$ docker run ghcr.io/haddocking/proabc-2:latest -v /home/yilu/proabc2-work h.fasta l.fasta
usage: proabc2 [-h] folder heavy light
proabc2: error: unrecognized arguments: -v” It seems that “-v” can be recognized

@rvhonorato
Copy link
Member

The -v goes inside the docker arguments, try this:

Go into your home directory

cd /home/yilu

Run the command:

docker run \
  -v `pwd`:/data
  ghcr.io/haddocking/proabc-2:latest \
  proabc2-work h.fasta l.fasta

@AbDiscover
Copy link
Author

AbDiscover commented Jun 6, 2024 via email

@rvhonorato
Copy link
Member

It's ` not '

docker run \
  -v `pwd`:/data
  ghcr.io/haddocking/proabc-2:latest \
  proabc2-work h.fasta l.fasta

@rvhonorato rvhonorato changed the title [Errno 2] No such file or directory: '/home/***/proabc2-work/session.log". No such file or directory: '/home/***/proabc2-work/session.log Jun 12, 2024
@Iqrarshad

This comment was marked as resolved.

@rvhonorato
Copy link
Member

Could you please share what command you tried to input?

@rvhonorato
Copy link
Member

Thanks @Iqrarshad, indeed with powershell/cmd i'm also getting this error. Could you instead try via WSL and check if that works for you?

@Iqrarshad
Copy link

My issue has been resolved. The folder we created earlier, "proabc2-prediction," required permission to write a log file. I updated the permissions of the folder, and it worked for me.

@rvhonorato
Copy link
Member

Thanks for the update on the workaround 👍🏽

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

3 participants