Closed mathieucarbou closed 1 year ago
Hey there @epenet, mind taking a look at this issue as it has been labeled with an integration (renault
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
renault documentation renault source (message by IssueLinks)
Please enable full debug logs and post the results:
logger:
default: info
logs:
homeassistant.components.renault: debug
renault_api: debug
I will as soon as I can reproduce it :-)
So i didn't see it after many restarts for now...
So I got another "Error setting up entry Renault for renault" just now again after a normal HA restart, but this time, another stack trace.
This is completely random so hard for me to send you more details...
Logger: homeassistant.config_entries
Source: components/renault/renault_hub.py:46
First occurred: 23:37:59 (1 occurrences)
Last logged: 23:37:59
Error setting up entry Renault for renault
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/renault/__init__.py", line 18, in async_setup_entry
login_success = await renault_hub.attempt_login(
File "/usr/src/homeassistant/homeassistant/components/renault/renault_hub.py", line 46, in attempt_login
await self._client.session.login(username, password)
File "/usr/local/lib/python3.10/site-packages/renault_api/renault_session.py", line 59, in login
response = await gigya.login(
File "/usr/local/lib/python3.10/site-packages/renault_api/gigya/__init__.py", line 57, in login
await request(
File "/usr/local/lib/python3.10/site-packages/renault_api/gigya/__init__.py", line 38, in request
gigya_response: models.GigyaResponse = schema.loads(response_text)
File "/usr/local/lib/python3.10/site-packages/marshmallow/schema.py", line 755, in loads
data = self.opts.render_module.loads(json_data, **kwargs)
File "/usr/local/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
In the logs:
What version of Home Assistant Core has the issue?
core-2023.2.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
Renault
Link to integration documentation on our website
https://www.home-assistant.io/integrations/renault/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response