Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime error: Error running the bot: Education.__init__() got an unexpected keyword argument 'education_level' #435

Open
hmm29 opened this issue Sep 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@hmm29
Copy link

hmm29 commented Sep 26, 2024

Describe the bug

Bot won't run: plain_text_resume.yaml 'education_level' field error. I get the following error even though I'm using proper yaml syntax and values based on the file in data_folder_examples.

Steps to reproduce

Here's my yaml:

education_details:
  - education_level: "Bachelor's Degree"
    institution: "Yale University"
    field_of_study: "Computer Science & Psychology"
    # final_evaluation_grade: "[Not provided]"
    # start_date: "[Not provided]"
    graduation_year: "2017"
    # additional_info:
    #   exam: 

I watched the tutorial vid but don't see a lib_resume_builder package in my venv/lib folder.

When I run "python main.py" I get:

Runtime error: Error running the bot: Education.init() got an unexpected keyword argument 'education_level'
Check browser setup and other runtime issues.
Refer to the configuration and troubleshooting guide: https://github.com/feder-cr/LinkedIn_AIHawk_automatic_job_application/blob/main/readme.md#configuration

I've already tried switching to camelCase in case that would help but still get issues with other education_details fields.

I noticed that @rezabanitaba had this issue too: #402 (comment)

I don't want to include final_evaluation_grade

Expected behavior

The bot would run

Actual behavior

Runtime error: Error running the bot: Education.init() got an unexpected keyword argument 'education_level'

Branch

main

Branch name

No response

Python version

3.12.2

LLM Used

OpenAI

Model used

GPT-4o-mini

Additional context

I've noticed that some yaml fields are camel case and others are snake case

@hmm29 hmm29 added the bug Something isn't working label Sep 26, 2024
@craschnet
Copy link
Sponsor

craschnet commented Sep 30, 2024

Had the same problem:
I find that having the start_date: and final_evaluation_grade: enabled and filled fixes the issue.
It looks like yours is commented out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants