NathanDuma / LinkedIn-Easy-Apply-Bot

Automate LinkedIn Easy Apply job applications and answer application-specific questions.
226 stars 86 forks source link

TypeError: object of type 'NoneType' has no len() #1

Closed millysecurity closed 3 years ago

millysecurity commented 3 years ago

Getting the following error when running python main.py

Traceback (most recent call last):
  File "main.py", line 122, in <module>
    parameters = validate_yaml()
  File "main.py", line 73, in validate_yaml
    assert len(parameters['positions']) > 0
TypeError: object of type 'NoneType' has no len()

Using python 3.7.7

soychristophe commented 2 years ago

@millysecurity Sorry, how did you fix the error? thanks

balayokesh commented 2 years ago

you need to change the placeholder text for positions at line 32 of config.yaml file

image