Automated-Resume-Screening-System icon indicating copy to clipboard operation
Automated-Resume-Screening-System copied to clipboard

file not found './Job_Descriptions', also not after adding new job description in the folder

Open nienkevanpoppel opened this issue 4 years ago • 3 comments

When trying to run the 'screen' function, it gives the error that it cannot locate the file. This is probably because the os.chdir redirecting it to the wrong folder (./Job_Descriptions when it is still in Original_Resumes). Even after resetting the os.chdir to '../', errors keep coming in. Please help.

nienkevanpoppel avatar Apr 18 '20 10:04 nienkevanpoppel

Same I am facing the same issue.

ShubhayanS avatar Aug 02 '20 01:08 ShubhayanS

I have created a PR, pretty bad tho. I'll debug this when I get time. Apologizes!

Change line 124 in screen.py to -

f = open(os.getcwd() + jobfile[17:] , 'r', encoding="utf8", errors='ignore')

That should work!

kmaladkar avatar Jun 20 '21 05:06 kmaladkar

It's actually:

    f = open(os.getcwd() + '/../Job_Description' + jobfile[17:] , 'r', encoding="utf8", errors='ignore')

vlavorini avatar Jan 25 '23 09:01 vlavorini