srbhr / Resume-Matcher

Resume Matcher is an open source, free tool to improve your resume. It works by using language models to compare and rank resumes with job descriptions.
https://www.resumematcher.fyi/
Apache License 2.0
4.7k stars 1.84k forks source link

Deleting pre-existing files gives error #269

Open jhanaviB opened 3 weeks ago

jhanaviB commented 3 weeks ago

Describe the bug If you delete the resumes and job descriptions that already exist you will get a file doesn't exist error

To Reproduce Steps to reproduce the behavior:

  1. Delete the default resumes and job description
  2. Run run_first.py there is an error

Expected behavior The program should not give an error for this and run smoothly.

SubramanyamChalla24 commented 3 weeks ago

hello @jhanaviB , is the error coming up even when there are your resumes / job descriptions?

jhanaviB commented 3 weeks ago

Yes it is. Even though my files are added.

On Mon, 10 Jun 2024 at 21:34, Subramanyam Challa @.***> wrote:

hello @jhanaviB https://github.com/jhanaviB , is the error coming up even when there are your resumes / job descriptions?

— Reply to this email directly, view it on GitHub https://github.com/srbhr/Resume-Matcher/issues/269#issuecomment-2159602103, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALRAJKJKTIWES7JLDGXRCJTZGZH3LAVCNFSM6AAAAABJDDMG36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJZGYYDEMJQGM . You are receiving this because you were mentioned.Message ID: @.***>

SubramanyamChalla24 commented 3 weeks ago

can you share you directory structure for the files added?

han-so1omon commented 3 weeks ago

Issue is that Data/Processed does not exist. Proposed fix by creating if does not exist or checking appropriately