espin086 / GPT-Jobhunter

AI-powered job analysis and resume coaching tool using GPT. Analyzes job postings and provides personalized recommendations to job seekers for improving their resumes.
MIT License
55 stars 15 forks source link

Error in loading resume since updated PyPDF package, need to fix #134

Closed espin086 closed 6 months ago

espin086 commented 6 months ago

Here is the error message

Screenshot 2023-12-14 at 3 40 42 PM

espin086 commented 6 months ago

Fixed PyPDF2 error but now have another issue, when trying to read the resume, and it seems like no text is extracted from resume? Screenshot 2023-12-14 at 4 21 17 PM

0aaryan commented 6 months ago

hey, I tried it and its working for me let me know if you need anything else image

espin086 commented 6 months ago

@0aaryan - thanks, if you delete your local database (sqlite one) and try to re-run the code and pick a resume it doesn't work, so need to make it more robust to database deletions, especially since when a new user uses it for the first time their database won't be created

espin086 commented 6 months ago

I don't think the text is being extracted from my resume when it gets uploaded, see?

Screenshot 2023-12-15 at 11 51 42 AM

espin086 commented 6 months ago

ok I found the issue, I updated the pyPDF2 package and had to change the logic and delete the resume which contained no text, so all is working now. I commited to main and all is ok now.