Comments (5)
Hmmm, that is strange, I don't have any issues right now. Do you have any logfiles showing the problem? You can increase verbosity with -vvv
from weconnect-cli.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): login.apps.emea.vwapps.io:443
DEBUG:urllib3.connectionpool:https://login.apps.emea.vwapps.io:443 "GET /refresh/v1 HTTP/1.1" 200 3833
INFO:weconnect:Token refreshed
Traceback (most recent call last):
File "/usr/local/bin/wc-cli", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.8/site-packages/weconnect_cli/weconnect_cli.py", line 157, in main
weConnect.fillCacheFromJson(args.cachefile, maxAge=args.interval, maxAgePictures=args.pictureCache)
File "/usr/local/lib/python3.8/site-packages/weconnect/weconnect.py", line 241, in fillCacheFromJson
self.__cache = json.load(file)
File "/usr/local/lib/python3.8/json/init.py", line 293, in load
return loads(fp.read(),
File "/usr/local/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.8/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 671877 (char 671876)
That is what I get with -vvv.
from weconnect-cli.
Somehow your cache became corrupted. This is easy to fix, you just delete the cache file. I will implement that the cache will be deleted in this case.
Thank you for reporting this issue!
from weconnect-cli.
Thanks, that worked!
Great tool!
from weconnect-cli.
Fixed in 0.15.1.
The cache is now deleted automatically if corrupted. A message should still be shown to inform the user.
from weconnect-cli.
Related Issues (20)
- Can't login HOT 44
- Username and password HOT 2
- Does this not work for Cupra Born? HOT 2
- Issue with login, HTLM error 302 HOT 8
- is it possilbe to implement, open and close with the s-pin HOT 3
- Output format JSON HOT 7
- Problems with CLI after install HOT 18
- Error message: No credentials form found HOT 1
- Start and stop charging not working in 0.25.0 HOT 3
- Possibility to get service information HOT 6
- Form does not contain postAction HOT 2
- Temporarily no response from command line HOT 8
- CLI returns "None" for every request HOT 3
- Window heating not starting (4104 Bad Gateway) HOT 5
- Ability to connect to Audi Services HOT 1
- No credentials form found HOT 4
- isActive flag disappeared HOT 2
- Seems to be not working since 2 or 3 days... HOT 5
- All car capabilities lost today HOT 5
- Error message: No credentials form found HOT 3
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 weconnect-cli.