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

Can't login, keep getting "KeyError: 'vin'" #949

Open
monoxyd opened this issue Sep 7, 2024 · 0 comments
Open

Can't login, keep getting "KeyError: 'vin'" #949

monoxyd opened this issue Sep 7, 2024 · 0 comments

Comments

@monoxyd
Copy link

monoxyd commented Sep 7, 2024

Describe the bug
When I input the code grabbed from the Citroen-Website (after clicking "OK" on the "Login Successful"-Page), the app stops working, just outputting a red warning reading 'vin'

To Reproduce
Steps to reproduce the behavior:

  1. what command did you use
    Inputting the code from the citroen-website

  2. when did the bug happen?
    A while after clicking "submit"

  3. Does it persist after restarting the program?
    Yes

  4. Does it persist after recreate config by going to http://server_address:port/config?
    YES

Config file
Give the anonymize content of the config file

Environment (please complete the following information):

  • OS: macOS
  • Brand and model of car: Citroen eC4
  • Application version: 3.5.3
  • Log from http://server_address:port/log and browser console log

Traceback (most recent call last): File "/Users/name/Library/Python/3.9/lib/python/site-packages/psa_car_controller/web/view/config_oauth.py", line 56, in finish_oauth config_views.INITIAL_SETUP.connect(code)
File "/Users/name/Library/Python/3.9/lib/python/site-packages/psa_car_controller/psa/setup/app_decoder.py", line 121, in connect car = self.psacc.vehicles_list.get_car_by_vin(vehicle["vin"])
KeyError: 'vin'

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

1 participant