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

Configuration error: Invalid distance value in config file data_folder\config.yaml. Must be one of: {0, 50, 100, 5, 25, 10} #687

Open
Aditya2179 opened this issue Oct 30, 2024 · 13 comments
Labels
bug Something isn't working

Comments

@Aditya2179
Copy link

Describe the bug

I am facing issue while running Python main.py and it gives me an invalid distance error

Steps to reproduce

No response

Expected behavior

this was the final step before log in to Linked in for bot to apply jobs

Actual behavior

Resulted in the invalid distance bug

Branch

None

Branch name

No response

Python version

3.11.4

LLM Used

Ollama

Model used

llama3.2

Additional context

No response

@Aditya2179 Aditya2179 added the bug Something isn't working label Oct 30, 2024
@49Simon
Copy link

49Simon commented Oct 31, 2024

What is the distance value you have in your config.yaml file?

@Aditya2179
Copy link
Author

how do I measure distance value in the config yaml file

@Aditya2179
Copy link
Author

I think I got stuck in the last step running the python main.py in the below cd
LinkedIn_AIHawk_automatic_job_application>

@RishuCod
Copy link

RishuCod commented Oct 31, 2024

in the config you have to choose the value of the distance from {0, 50, 100, 5, 25, 10}
e.g.-
apply_once_at_company: true

distance: 100(this one in the config file )
it gives error if you gave value other than that.

Describe the bug

I am facing issue while running Python main.py and it gives me an invalid distance error

Steps to reproduce

No response

Expected behavior

this was the final step before log in to Linked in for bot to apply jobs

Actual behavior

Resulted in the invalid distance bug

Branch

None

Branch name

No response

Python version

3.11.4

LLM Used

Ollama

Model used

llama3.2

Additional context

No response

@RishuCod
Copy link

how do I measure distance value in the config yaml file

you don't have to, you just have to choose the value from the option given.

@Aditya2179
Copy link
Author

hi I have choosen the value of 100 as you suggested, but still the same error

@Aditya2179
Copy link
Author

image

@49Simon
Copy link

49Simon commented Oct 31, 2024

If you have distance: 100, you should not get the same error. If you still do, make sure your yaml file is not corrupted.

@Aditya2179
Copy link
Author

ok How do I make sure about that, can we do screen share or can I post the yaml file over here so that we debug this, its going on for a while really need an urgent help on this

@Aditya2179
Copy link
Author

there is M letter I can see next to the file name in VSC code, not sure how do I interpret this?

@49Simon
Copy link

49Simon commented Oct 31, 2024

Join discord here: https://discord.gg/T3reeuUU

@Aditya2179
Copy link
Author

ok Joined

@FrancescoVassalli
Copy link

Can this be closed?

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

4 participants