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

remote error in config.yaml file #4

Closed
olufamilusi opened this issue Aug 10, 2024 · 10 comments
Closed

remote error in config.yaml file #4

olufamilusi opened this issue Aug 10, 2024 · 10 comments

Comments

@olufamilusi
Copy link

This is the error I keep getting after running through the config,yaml file and when I look through the main.py file, nothing there seems absurd. Anyone able to help?

PS D:\LinkedinAI-Bot\LinkedIn_AIHawk_automatic_job_application> python main.py
Configuration error: 'remote' in config file data_folder\config.yaml must be a boolean value.

@feder-cr
Copy link
Owner

please share your config.yaml

@olufamilusi
Copy link
Author

remote: true
experienceLevel:
internship: false
entry: false
associate: true
mid-senior level: true
director: false
executive: false

jobTypes:
full-time: true
contract: true
part-time: true
temporary: false
internship: false
other: false
volunteer: false

date:
all time: true
month: false
week: true
24 hours: false

positions:

  • Linux Engineer

locations:

  • Country1
  • Country2

distance: 100

companyBlacklist:

  • Company1
  • Company2

titleBlacklist:

  • word1
  • word2

@olufamilusi
Copy link
Author

please share your config.yaml

Thank yo! Thank you! I got it to work!! Thank you for sharing this!!

@azjz92
Copy link
Contributor

azjz92 commented Aug 20, 2024

what was the fix??? currently suffering this

@olufamilusi
Copy link
Author

I used chatGPT alot in trying to fix any and all issues I had. There is also something you must know if you dont already know. When you use this code, it applies for you based on the job description of the jobs it finds, if you dont have a specific resume that you ask it to use. I didnt and it applied for "easy apply" jobs for me but most of which I had no experience for, so that's something to watch out for!

@azjz92
Copy link
Contributor

azjz92 commented Aug 20, 2024

I'm struggling still , it was working fine on osx and i just transferred to pc and it's giving me that boolean error even with the example config yaml, do you remember what was the specific fix for the boolean nonsense? I'll post a solution here though if i find it, thx!

@olufamilusi
Copy link
Author

I honestly cant remember the specific fix becuase I was frustrated myself and was just copying/pasting using gpt at some point but if this helps, this is what my config.yml file looks after some tweaking.

remote: true
experienceLevel:
internship: false
entry: false
associate: true
mid-senior level: true
director: false
executive: false

jobTypes:
full-time: true
contract: true
part-time: true
temporary: false
internship: false
other: false
volunteer: false

date:
all time: true
month: false
week: true
24 hours: false

positions:

  • Linux System Engineer
  • Linux System Administrator
  • IT System Administrator

locations:

  • Dallas, TX
  • United States

distance: 100

companyBlacklist:

  • Company1
  • Company2

titleBlacklist:

  • Sales
  • Marketing

@azjz92
Copy link
Contributor

azjz92 commented Aug 20, 2024 via email

@GregFree
Copy link

I'm having the same "remote" issue when trying to initialize. I changed my .yaml to match that with the poster above. Both version run into the same problem.

image

@madhuptiwari
Copy link

madhuptiwari commented Sep 9, 2024

@feder-cr @harshit56 @emirhanai This problem is related to indentation. Once your indentation in file is same as that of files in data_folder_example. You'll be able to run it. Hope this helps.

If in case you get a runtime error. That will be due to a parsing error in one of YAML files. I think most people will make errors in resume.yaml file.

Note: Check your code or opening and closing braces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants