JAIJANYANI / Automated-Resume-Screening-System

Automated Resume Screening System using Machine Learning (With Dataset)
MIT License
421 stars 201 forks source link

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

Open nienkevanpoppel opened 4 years ago

nienkevanpoppel commented 4 years ago

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.

ShubhayanS commented 4 years ago

Same I am facing the same issue.

kmaladkar commented 3 years ago

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!

vlavorini commented 1 year ago

It's actually:

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