Comments (13)
v2.0.1 (proper release) is now available (https://github.com/freol35241/ltss/releases/tag/v2.0.1)
Thanks all for your help in finding this bug!
from ltss.
Do you have solved issue by restarting HA Core container ?
from ltss.
Hmm, I have the addon installed manually (not through HACS), I've removed the entire config/custom_components/ltss folder, downloaded the latest v2.0.1 release, and tried every method of restarting HASS (both with and without LTSS enabled in the config file), but any time I enable LTSS I still get the same issue:
Cannot quick reload all YAML configurations because the configuration is not valid: Component error: ltss - cannot import name 'with_metaclass' from 'sqlalchemy.util' (/usr/local/lib/python3.10/site-packages/sqlalchemy/util/__init__.py)
Do I need to manually forcibly refresh the dependencies somehow or something when not using HACS? If so, how?
Update: Figured it out. Renaming (or removing, if you're feeling brave) the config/deps
folder and restarting will let Hass rebuild the dependencies, at least on hass.io/hassos.
from ltss.
Me too, but seems to work after restarting docker container manually.
from ltss.
Same error message, wount restart as long as i have ltss in configuration.yaml
from ltss.
That is interesting... I have now tried to reproduce this error in a clean environment (homeassistant==2023.3.0 and ltss==2.0.0) without success. It works flawlessly.
Can you all please provide some details about your setups? (Type of home assistant installation, preferably a list of the installed python packages).
from ltss.
I have the same issue and try to find the cause. It happens with the original and my custom / forked branch. First thought was my changes but it happens with the original too.
Unfortunately there isn't a lot more to go by. The error message is literally it. My current guess is the python compile cache but I'm neither sure if HASS has it enabled, nor where to find it.
I'm thinking about a caching issue because it tries to use Python 3.10 which now should be 3.11.
from ltss.
@Mornclaur you can force it to reboot now (depending on the device / installation) under the advanced options in the new dialog. It comes back up gracefully but fails to load the integration.
from ltss.
I am running HassOS 9.5 generic x86_64 on an intel NUC. As specified from HACS notification, I waited to get on last version of HA for making ltss component update to 2.0.0 version. It's after HA reboot, after update of ltss through HACS that I get the specified error message.
Regarding python version running inside HA Core container it's still python 3.10 from my side:
Use `ha` to access the Home Assistant CLI.
# docker exec -t -i homeassistant python -V
Python 3.10.10
#
See joined list of installed python packages inside my HA Core container.
python_packages.txt
from ltss.
Thank you @FredericGuardia ! That got me on the right track.
Please try the new pre-release v2.0.1-alpha (https://github.com/freol35241/ltss/releases/tag/v2.0.1-alpha) and report back.
from ltss.
Looks good so far 👍
from ltss.
I had the same error message. It's fixed in 2.0.1-alpha. Updating the requirement for GeoAlchemy2 did the trick. Thank you!
from ltss.
I confirm too. with this new release (2.0.1), I don't get anymre this error message. Thanks.
from ltss.
Related Issues (20)
- operation not supported on hypertables that have compression enabled HOT 17
- More reliable DB reconnection logic HOT 1
- constraint "ltss_pkey" of relation "ltss" does not exist causes migration to fail to v.2.1.0 HOT 3
- Reduce LTSS database size HOT 3
- DB might end up in an undefined state since there is no rollback on errors in the migration code
- psycopg2-binary cannot be installed on Raspi HOT 1
- cannot start (update schema) - duplicate entity HOT 1
- Please add additional examples HOT 2
- Unicode translation to SQL_ASCII encoding fails with tempature, winddirection and cubic-meter-gas unit_of_measurement HOT 1
- Outdated goalchemy2 version? HOT 2
- Numeric states and without attributes HOT 1
- ltss not working since home assistant 2023.3.0b0 release HOT 11
- Test compatibility with SQLAlchemy >= 2.0
- sqlalchemy problem: "Requirements for ltss not found" HOT 8
- SQL alchemy error in home assistant v. 2023.2.3 HOT 2
- ltss won't load after update to ha-core 2023.3.2 HOT 5
- psycopg2 error in home assistant v.2023.3.4 HOT 8
- migrate existing recorder Database into ltss HOT 4
- Having trubble finding my data from grafana and pgadmin HOT 2
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 ltss.