Closed KlaraJa closed 3 weeks ago
Here the same:
Logger: homeassistant.config_entries Quelle: config_entries.py:563 Erstmals aufgetreten: 06:03:52 (2 Vorkommnisse) Zuletzt protokolliert: 12:49:22
Error importing platform config_flow from integration stadtreinigung_hamburg to set up stadtreinigung_hamburg configuration entry: lxml.html.clean module is now a separate project lxml_html_clean. Install lxml[html_clean] or lxml_html_clean directly.
Yeah, I've the same error. Would be really nice if you can fix this.
Error here as well. Here are the error-protocols from my side:
Logger: py.warnings Quelle: custom_components/stadtreinigung_hamburg/config_flow.py:7 Integration: Stadtreinigung Hamburg ([Dokumentation](https://github.com/custom-> components/sensor.stadtreinigung_hamburg)) Erstmals aufgetreten: 21:02:10 (3 Vorkommnisse) Zuletzt protokolliert: 21:02:10
/usr/local/lib/python3.12/site-packages/pyppeteer/us_keyboard_layout.py:73: SyntaxWarning: invalid escape sequence '> (' 'Digit9': {'keyCode': 57, 'code': 'Digit9', 'shiftKey': '(', 'key': '9'}, /usr/local/lib/python3.12/site-packages/pyppeteer/us_keyboard_layout.py:143: SyntaxWarning: invalid escape sequence > '\<' 'Comma': {'keyCode': 188, 'code': 'Comma', 'shiftKey': '\<', 'key': ','}, /usr/local/lib/python3.12/site-packages/pyppeteer/us_keyboard_layout.py:247: SyntaxWarning: invalid escape sequence > '\<' '<': {'keyCode': 188, 'key': '\<', 'code': 'Comma'},
Logger:` homeassistant.config_entries Quelle: config_entries.py:563 Erstmals aufgetreten: 21:02:18 (1 Vorkommnisse) Zuletzt protokolliert: 21:02:18
Error importing platform config_flow from integration stadtreinigung_hamburg to set up stadtreinigung_hamburg > configuration entry: lxml.html.clean module is now a separate project lxml_html_clean. Install lxml[html_clean] or > lxml_html_clean directly.
Logger: homeassistant.util.loop Quelle: util/loop.py:77 Erstmals aufgetreten: 21:02:18 (2 Vorkommnisse) Zuletzt protokolliert: 21:02:18
Detected blocking call to import_module with args ('custom_components.stadtreinigung_hamburg.config_flow',) in /usr/src/homeassistant/homeassistant/loader.py, line 1296: return importlib.import_module(f"{self.pkg_path}.{platform_name}") inside the event loop; This is causing stability issues. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module Traceback (most recent call last): File "
Exactly the same here.
Error importing platform config_flow from integration stadtreinigung_hamburg to set up stadtreinigung_hamburg configuration entry: lxml.html.clean module is now a separate project lxml_html_clean. Install lxml[html_clean] or lxml_html_clean directly.
I would really appreciate a fix. Thanks so much!!
Same with 2024.10.2
Logger: homeassistant.config_entries
Source: config_entries.py:563
First occurred: 21:05:58 (3 occurrences)
Last logged: 21:21:22
Error importing platform config_flow from integration stadtreinigung_hamburg to set up stadtreinigung_hamburg configuration entry: lxml.html.clean module is now a separate project lxml_html_clean. Install lxml[html_clean] or lxml_html_clean directly.
I am afraid the maintainer is not living in Hamburg anymore. Nothing going on here since last year. Is someone able to take over? Do we have to switch over to waste collection schedule?
The solution seems to be to insert a command to install lxml.html.clean separately. You can find the instructions if you Google the error message. Right now only the phyton3 package gets installed via scripts/setup, but lxml package is not inside anymore due to security issues. Unfortunately I have no clue how to deal with it. I only did some research. 🤣
you have to add a line ( "lxml_html_clean") to the manifest.json and restart HA! After that it works perfectly!
Here is the customized code for the manifest.json
{ "codeowners": [ "@vigonotion" ], "config_flow": true, "dependencies": [], "documentation": "https://github.com/custom-components/sensor.stadtreinigung_hamburg", "domain": "stadtreinigung_hamburg", "name": "City Cleaning Hamburg", "requirements": [ "city cleaning-hamburg==0.3.1", "lxml_html_clean" ], "version": "v1.1.3" }
Works like a charm, thanks!!
Thanks for the solution. Do we have some security issues now?
I changed /homeassistant/custom_components/stadtreinigung_hamburg/manifest.json
according to the post above. But now I get the error "Integration not found".
Update 21.10. I switched to waste collection schedule. Also a very nice integration. I am afraid this and the 2 other issues here will never be closed.
@040medien
Hey thanks for your work! If I'm interpreting your nickname correctly, you're from Hamburg. Thanks for your support from Schnelsen. Since the bug took longer, I switched to Waste Collection.
Will you now take over the maintenance of the integration permanently? Or do I prefer to stay with Waste Collection?
Hello from Winterhude, we can happily continue this together. I think this addon is better than waste collection. Best regards
NordFreak @.***> schrieb am Fr., 25. Okt. 2024, 10:04:
@040medien https://github.com/040medien
Hey thanks for your work! If I'm interpreting your nickname correctly, you're from Hamburg. Thanks for your support from Schnelsen. Since the bug took longer, I switched to Waste Collection.
Will you now take over the maintenance of the integration permanently? Or do I prefer to stay with Waste Collection?
— Reply to this email directly, view it on GitHub https://github.com/custom-components/sensor.stadtreinigung_hamburg/issues/20#issuecomment-2437048123, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4PJWUXG2U26DGNYA4RJ7UDZ5HUPJAVCNFSM6AAAAABPINJ6GKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZXGA2DQMJSGM . You are receiving this because you commented.Message ID: <custom-components/sensor.stadtreinigung_hamburg/issues/20/2437048123@ github.com>
Hi @NordFreak , @pinnbert23. I only raised a simple PR, which got merged by @vigonotion - I presume he is and will continue to be the maintainer of this repository.
Hi, I just don't have the time to look at issues and fix them, but I will look at PRs and will release new versions as needed
So let us as citizens of Hamburg pay attention to our garbage application
Tom Schneider @.***> schrieb am Fr., 25. Okt. 2024, 20:17:
Hi, I just don't have the time to look at issues and fix them, but I will look at PRs and will release new versions as needed
— Reply to this email directly, view it on GitHub https://github.com/custom-components/sensor.stadtreinigung_hamburg/issues/20#issuecomment-2438384891, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4PJWUR5ENX5FQY7FGG73C3Z5J4JVAVCNFSM6AAAAABPINJ6GKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZYGM4DIOBZGE . You are receiving this because you were mentioned.Message ID: <custom-components/sensor.stadtreinigung_hamburg/issues/20/2438384891@ github.com>
Hi, let me start by thanking all of you to keep Stadtreinigung working.
I see the following warning in my log. Is that an issue that needs attention and if yes, would you be willing to look at it as well?
Logger: homeassistant.helpers.frame Source: helpers/frame.py:155 First occurred: 6:29:57 AM (1 occurrences) Last logged: 6:29:57 AM
Detected code that calls async_forward_entry_setup for integration stadtreinigung_hamburg with title: Frahm and entry_id: 01JAMRXZDMKXGKJ791F4MZ7W2T, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
@MartinF-HH I'm not an expert, bu this is a separate issue (and as per the error this means that in 3 months, this addon will stop working again). Please open a separate issue for this. Actually there is already https://github.com/custom-components/sensor.stadtreinigung_hamburg/issues/19
fixed in the latest release
Version of the custom_component
1.1.3
Configuration
Describe the bug
After upgrading HomeAssistant to 2024.10.0 the Integration does not start anymore and throws an error.
Debug log