-
Notifications
You must be signed in to change notification settings - Fork 3
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
Initial Setup Issue #71
Comments
So you migrated to a new system - I'm assuming you also restored a backup? This generally means that the dependency ( I'm running HA 2023.8.4 and Bird Buddy integration (from HACS) v0.0.17, and not seeing any issues: HA automatically installed pybirdbuddy v0.0.16 as it should, and it's working correctly. I can see the pybirdbuddy dist is installed at the same location your error message presents (note that
You'll need to check your HA logs from when you added the integration, to see if it reports any errors during the pip install of dependencies. If all else fails, try removing the BB integration, remove the BB repository from HACS, restart HA, and then try readding in HACS and readd the integration. |
Thanks for taking a look. Yes, I migrated OS then restored from a backup. Sadly in my fault finding, I'd already removed, restarted and then readded several times, all without any luck. Every time I try and readd the integration, the only log message I can find is the same as above. Is there a separate way I can install pybirdbuddy? |
If you can get shell access to the container, you can install it using |
Any change @mth211? Sometimes there might be an intermittent issue, like if pypi.org is down when you tried installing, or something like that (has happened to me before). If it's still failing, then there has to be a log indicating why it failed, somewhere. In my case I'm pretty sure it was while running from the IDE, so the logs were printed to my console. But the same logs should be in the core log file. Have you tried using a prior version? You can select the version you want to install from HACS. From HACS find the Bird Buddy repository, then in the overflow menu select "Redownload" and you can choose the version from there. Try version 0.0.16 or older, and see if that helps. |
No luck yet, I've tried various versions and keep returning the same error. Full core logs don't show anything else This is a direct Home Assistant OS install on a Pi, but I can't think how that would cause the problems. I'll keep trying intermittently, it's certainly not a critical home automation, and hopefully it'll work again at some point |
I haven't used HAOS myself, but I can't imagine that it has some kind of restriction on PyPI installations - virtually every integration will require additional libraries to be installed via Since it is listing the actual path to the As I understand, you probably would not be able to get shell access on HAOS? Maybe we can try something like a Shell integration to do some debugging. Maybe something like:
and a script to call it and log the results:
Reload the config and then run the script, and look for the output in
or even try to install it manually:
What did you migrate from? Was it also a pi server? Was it also HAOS? |
Logbook response for 1st is It looks like manually triggering the install seems to have resolved the problem, and I can now add the integration again. I sadly didn't check if it was still non functional before I ran the manual install, so can't be sure if it had resolved itself, or if the manual install was the trick. I'll keep an eye on it Thanks for the help in getting it resolved for me |
OK, so that first response is showing that the library was installed in the correct location. So this doesn't really make sense why it would report that it cannot be imported. It seems that the backup you restored from was apparently missing something? How did you perform the backup that you restored from - was it manual or automated/scheduled? But if manually installing it did the trick, that's good to know. Unfortunately I don't really have any ideas about what could have caused it. But if I get some spare time I'll see if I can recreate the scenario:
|
It's odd! I do wonder if something external was causing the issue and it just happened that it got resolved between my last check and it working after manual install Restored from a manual backup that was made just prior to decommissioning previous HA instance, via Google Backups. Your order of events is in line with how I changed OS |
I'm having this same issue after restoring a backup from VM to docker container. |
Having issues with initial setup. Logs report:
I previously had BirdBuddy running a-ok but just migrated to a dedicated pi4 and this was the only integration that didn't come back as working. Have tried uninstalling and redownloading etc but this error is persistent. I don't have a python3.11/site-packages/ directory, but digging any deep than that is outside my usual skillset
The text was updated successfully, but these errors were encountered: