Comments (3)
Logs:
Traceback (most recent call last):
File "C:/.../toy.py", line 34, in <module>
loop.run_until_complete(get_information())
File "C:\Users\...\AppData\Local\Continuum\anaconda3\envs\py36\lib\asyncio\base_events.py", line 488, in run_until_complete
return future.result()
File "C:/.../toy.py", line 19, in get_information
{'id': ###ID_REMOVED###, 'vin': '###VIN_REMOVED###', 'isNC': False, 'alias': 'RAV4', 'owner': False, 'vehicleAddedOn': '2021-07-07T10:18:22.286Z', 'isEntitled': False, 'hasAutomaticMMRegistration': False, 'ownerFlag': False, 'source': 'NMSC', 'connected': False, 'connectedService': {'devices': [], 'registrationPreReqs': [], 'registrationTerms': [], 'wifiBoxData': None}, 'fud': False}
print(await client.gather_all_information_json())
File "C:\Users\...\AppData\Local\Continuum\anaconda3\envs\py36\lib\site-packages\mytoyota\client.py", line 138, in gather_all_information_json
vehicles = await self.gather_all_information()
File "C:\Users\...\AppData\Local\Continuum\anaconda3\envs\py36\lib\site-packages\mytoyota\client.py", line 130, in gather_all_information
vehicle = await self.get_vehicle_information(car)
File "C:\Users\...\AppData\Local\Continuum\anaconda3\envs\py36\lib\site-packages\mytoyota\client.py", line 111, in get_vehicle_information
status=info[3],
File "C:\Users\...\AppData\Local\Continuum\anaconda3\envs\py36\lib\site-packages\mytoyota\vehicle.py", line 41, in __init__
connected_services
File "C:\Users\...\AppData\Local\Continuum\anaconda3\envs\py36\lib\site-packages\mytoyota\vehicle.py", line 91, in has_connected_services_enabled
and json_dict["connectedService"]["status"] == "ACTIVE"
KeyError: 'status'
Nvm you were right, it is actually caused by the old car, just tested it, it confirms the new corolla, then hangs at the old RAV4.
from mytoyota.
Can you please provide logs also, so I can understand what the error message is?
Edit:
I believe it is coursed by your car model (RAV 4 from 2007) and not country 😊
from mytoyota.
Thanks for checking! I will add some code to make sure you can only add supported cars. 😁
from mytoyota.
Related Issues (20)
- Inconsistency in statistics summaries HOT 3
- Unexpected value returned by Toyota HOT 8
- Fuel consumed
- `scores` fields can be `None` in `TripsResponseModel`
- NoneType object has no attribute `unit` in `self._electric.fuel_range.unit` HOT 7
- Authentication Failed. Unknown method. HOT 8
- my own fault -- simple_client_example.py => error | solved HOT 2
- Missing odometer information HOT 7
- New tester or just help? I'm herr! HOT 7
- Show inspections and service history HOT 4
- Reverse geocoding missing? HOT 2
- how to get information for a single vehicle? HOT 2
- Bug: `shop_genuine_parts_url` could be returned as `None`
- Not able to log in HOT 2
- Support for Subaru
- Error when running the example
- Support for HVAC & other commands HOT 1
- Error while calling `car.get_trips()`
- Google SSO
- mytoyota module no longer works HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mytoyota.