Open gvermag22 opened 3 weeks ago
Also the file https://github.com/feder-cr/AIHawk_AIHawk_automatic_job_application/blob/main/readme.md#configuration doesn't exist
also here are the modules I had to install, they should be included in the documentation:
pip3 install lib-resume-builder-AIHawk pip3 install loguru pip3 install levenshtein pip3 install levenshtein pip3 install inputimeout pip3 install reportlab
Hello, @feder-cr any thoughts on this
@gvermag22 were you able to find a solution?
No
On Fri, Oct 25, 2024 at 5:34 AM distortment @.***> wrote:
@gvermag22 https://github.com/gvermag22 were you able to find a solution?
— Reply to this email directly, view it on GitHub https://github.com/feder-cr/Auto_Jobs_Applier_AIHawk/issues/511#issuecomment-2437662488, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQCIRBPWYFRIEC6DC7BVMQLZ5I3FVAVCNFSM6AAAAABPXZI6G2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZXGY3DENBYHA . You are receiving this because you were mentioned.Message ID: @.***>
Describe the bug
No response
Steps to reproduce
Followed instructions on https://github.com/feder-cr/Auto_Jobs_Applier_AIHawk?tab=readme-ov-file to setup on macOS. Had to installed many PIP modules on the way to make it work. Ultimately, got this error while running the main.py
gauravverma@mac Auto_Jobs_Applier_AIHawk % python3 main.py
2024-10-10 16:08:25.006 | ERROR | main:main:213 - Runtime error: Error running the bot: PersonalInformation.init() got an unexpected keyword argument 'zip_code' 2024-10-10 16:08:25.006 | ERROR | main:main:215 - Refer to the configuration and troubleshooting guide: https://github.com/feder-cr/AIHawk_AIHawk_automatic_job_application/blob/main/readme.md#configuration
Perpelexity suggests there is mismatch in the names of variables or pameters in the code
The error you're encountering is a TypeError related to an unexpected keyword argument. Specifically, the error message indicates that the
PersonalInformation
class's__init__()
method received an unexpected keyword argument 'zip_code'[1][3]. This type of error occurs when a function or method is called with an argument it wasn't designed to accept[1].To resolve this issue, you should:
Check the
PersonalInformation
class definition:__init__()
method of thePersonalInformation
class is defined to accept azip_code
parameter.zip_code
, remove this argument when creating an instance ofPersonalInformation
.Review your configuration:
PersonalInformation
.Update your code:
zip_code
is a required field, modify thePersonalInformation
class to accept it.PersonalInformation
object.Check for version mismatches:
Consult the documentation:
Here's an example of how the
PersonalInformation
class might be defined to acceptzip_code
:If this is how your class is defined, ensure you're passing all these parameters when creating an instance:
If you continue to face issues, consider reaching out to the maintainers of the AIHawk project for more specific guidance related to their implementation.
Citations: [1] https://www.askpython.com/python/examples/unexpected-keyword-argument-typeerror [2] https://stackoverflow.com/questions/72803759/unexpected-keyword-argument-simple-zipcode [3] https://stackoverflow.com/questions/57505839/why-am-i-getting-this-unexpected-keyword-argument-typeerror [4] https://www.reddit.com/r/learnmachinelearning/comments/x4byoy/typeerror_init_got_an_unexpected_keyword_argument/
Expected behavior
job application to happen
Actual behavior
runtime error
Branch
main
Branch name
No response
Python version
3.10
LLM Used
OpenAI
Model used
GPT-4o
Additional context
No response