IOError: [Errno 2] No such file or directory: 'reports/cafeerror_files/cafe_pre_log.txt'

172 views
Skip to first unread message

Yugendra Balan

unread,
Feb 20, 2018, 2:40:46 PM2/20/18
to hahnlab-cafe
Hello Dr. Fulton,

I run into an IO error when I use caferror.py to estimate error with single-lambda model. I have attached the script that generates my results file and following is the command that generates IO error.

python caferror.py -i cafe.script.sh -d reports/cafeerror_files -v 0 -f 1

Can you please help me understand the reason for this error? so that I can solve it.

Thank you.
Kindly,
Balan
cafe.script.sh

Fabio Henrique Kuriki Mendes

unread,
Feb 20, 2018, 3:56:19 PM2/20/18
to Yugendra Balan, hahnlab-cafe
Hi Yugendra,

Sorry about this problem.

The error message suggests the folder you're trying to put stuff in does not exist. So make sure you create the folder "reports" with

$ mkdir reports

and then run the command. Please let me know if this solves your problem.

cheers,
Fabio

--
You received this message because you are subscribed to the Google Groups "hahnlab-cafe" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hahnlabcafe+unsubscribe@googlegroups.com.
To post to this group, send email to hahnl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hahnlabcafe/c921ce0e-3675-4fbe-a46b-067411829037%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yugendra Balan

unread,
Feb 20, 2018, 4:02:51 PM2/20/18
to hahnlab-cafe
Thank you Dr. Fabio. Reports directory is present. Its the file named `cafe_pre_log.txt' thats causing the error. I have attached screenshot for your reference.

Kindly,
Balan


On Tuesday, 20 February 2018 14:56:19 UTC-6, Fabio Henrique Kuriki Mendes wrote:
Hi Yugendra,

Sorry about this problem.

The error message suggests the folder you're trying to put stuff in does not exist. So make sure you create the folder "reports" with

$ mkdir reports

and then run the command. Please let me know if this solves your problem.

cheers,
Fabio
2018-02-20 14:40 GMT-05:00 Yugendra Balan <yugend...@gmail.com>:
Hello Dr. Fulton,

I run into an IO error when I use caferror.py to estimate error with single-lambda model. I have attached the script that generates my results file and following is the command that generates IO error.

python caferror.py -i cafe.script.sh -d reports/cafeerror_files -v 0 -f 1

Can you please help me understand the reason for this error? so that I can solve it.

Thank you.
Kindly,
Balan

--
You received this message because you are subscribed to the Google Groups "hahnlab-cafe" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hahnlabcafe...@googlegroups.com.
Screen Shot 2018-02-20 at 3.00.56 PM.png
Reply all
Reply to author
Forward
0 new messages