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

Unexpected error when creating the meteofrance proxy #38529

Closed
davidusb-geek opened this issue Aug 4, 2020 · 4 comments
Closed

Unexpected error when creating the meteofrance proxy #38529

davidusb-geek opened this issue Aug 4, 2020 · 4 comments

Comments

@davidusb-geek
Copy link

davidusb-geek commented Aug 4, 2020

The problem

The meteo_france integration has just stopped working, it shows as unavailable and shows the log errors pasted below (see Traceback/Error logs).

I tried deleting the integration and trying to addit again but the following message appears: "Aborted: Unknown error: please retry later"

Environment

  • Home Assistant Core release with the issue: 0.113.3
  • Last working Home Assistant Core release (if known): 0.112.1
  • Integration causing this issue: meteo_france
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/meteo_france
  • Operating environment (OS/Container/Supervised/Core):

arch | x86_64
dev | false
docker | false
hassio | false
installation_type | Home Assistant Core
os_name | Linux
os_version | 5.4.0-42-generic
python_version | 3.8.2
timezone | Europe/Paris
version | 0.113.3
virtualenv | true

Problem-relevant configuration.yaml

Integration meteo_france

Traceback/Error logs

Logger: homeassistant.components.meteo_france.config_flow
Source: components/meteo_france/config_flow.py:49
Integration: Météo-France (documentation, issues)
First occurred: 10:54:15 AM (2 occurrences)
Last logged: 10:54:49 AM

Unexpected error when creating the meteofrance proxy: Expecting value: line 1 column 1 (char 0)
Logger: homeassistant.components.meteo_france
Source: components/meteo_france/__init__.py:66
Integration: Météo-France (documentation, issues)
First occurred: 10:51:58 AM (1 occurrences)
Last logged: 10:51:58 AM

Unexpected error when creating the meteofrance proxy: Expecting value: line 1 column 1 (char 0)
@piitaya
Copy link
Member

piitaya commented Aug 4, 2020

The current meteo_france component relies on web-scraping. The new one was merged and relies on clean api : #37737.
So I think the meteo_france will be fixed in the next home assistant update 😉

@davidusb-geek
Copy link
Author

Ok, so until the new HA update the integration will remain broken?
For now there is something else preventing this to properly work with the web-scraping version.

@piitaya
Copy link
Member

piitaya commented Aug 4, 2020

You can copy the meteo_france component folder (from this repo) into your custom_components folder (in your home assistant config folder) to use the new one before the home assistant update.
It did it and it works 🙂

@davidusb-geek
Copy link
Author

Ok, thank you for your help. I'm closing this issue after solutions proposed by @piitaya

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

2 participants