Comments (2)
Little more details
I ran it a couple more times, and also added -v 2
. It is indeed returning current json, and even. I ten ran it without verbose and it hung and died
-> % ./subarulink.py status
Traceback (most recent call last):
File "/Users/username/GIT/subarulink/./subarulink.py", line 10, in <module>
sys.exit(main())
File "/Users/username/GIT/subarulink/subarulink/app/cli.py", line 674, in main
LOOP.run_until_complete(cli.single_command(args.command, args.vin, cli.config))
File "/Users/username/.pyenv/versions/3.9.5/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/Users/username/GIT/subarulink/subarulink/app/cli.py", line 489, in single_command
if await self._connect(interactive=False, vin=vin):
File "/Users/username/GIT/subarulink/subarulink/app/cli.py", line 373, in _connect
if await self._ctrl.connect():
File "/Users/username/GIT/subarulink/subarulink/controller.py", line 88, in connect
self._parse_vehicle(vehicle)
File "/Users/username/GIT/subarulink/subarulink/controller.py", line 801, in _parse_vehicle
vin = vehicle["vin"].upper()
TypeError: 'NoneType' object is not subscriptable
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x1066fef10>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x1066d1f40>, 60.56923537)]']
connector: <aiohttp.connector.TCPConnector object at 0x1066fe040>
But now it's running OK.
'subscriptionFeatures': ['SAFETY', 'Retail', 'REMOTE'],
'subscriptionStatus': 'ACTIVE'}
Command 'status' completed for Crosstrek
(massively truncated, of course)
¯\(ツ)/¯
I guess them?
M.
from subarulink.
@mpalermo73 It looks like this was a combination of something going wrong on Subaru's end (reporting that you have zero vehicles) combined with a logic bug in the CLI code. I can't do anything about the Subaru side, but I did fix the bug in the CLI, so you'll get a correct error message the next time it happens.
from subarulink.
Related Issues (20)
- Issues after update HOT 2
- Lock and Remote Ignition HOT 5
- Don't display VIN on success? HOT 2
- Thank you! HOT 4
- Report When Car is Turned On & Off HOT 1
- Anything change? Some entities missing and no services HOT 4
- Tag the source
- what is the format of "form_data" parameter in the remote_start function? HOT 7
- update service results in invalid token HOT 7
- Error on door unlock HOT 2
- Error 500 input string HOT 2
- Blank / Example Config? HOT 3
- Second Phase Connect to mysubaru.com Failing HOT 4
- Unexpanded String In status Returned JSON HOT 2
- Convert string values to int or float HOT 1
- VS_DIST_TO_EMPTY and VS_VEHICLE_STATE are not always available in the response HOT 2
- Starlink API HOT 2
- Deprecated g2v21- 404 error code HOT 3
- Is it possible to embed this into a flaskapp so it can be used with siri shortcuts? HOT 8
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 subarulink.