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
Unable to install package home-assistant-frontend==20190626.0 #24968
Comments
I have tried so many ways when I first time to install about other wrongs. sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev libssl-dev sudo easy_install greenlet sudo apt-get install libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev Basic steps: |
I had same issue, and installed manually. |
thanks for reply |
You can install it manually via pip. Be sure to be in the corresponding virtual environment first (in a manual installation is through something like python3 -m pip install home-assistant-frontend==20190626.0 That said, it would be interesting to know why this started failing. In my logs I see there's a mismatch for this package's hash:
I'm currently using Python 3.7 (but earlier today I had it working with 3.5 in other venv) |
|
@paysenyu as I said before, you need to be in the corresponding virtual environment first (in a manual installation is through something like That command fails for you because you are running it as your user and not inside homeassistant's virtual environment. |
@elamperti thanks and I tried to follow this guide - but still faced the same issue. |
You have to install wheels first. Try following this official guide: https://www.home-assistant.io/docs/installation/raspberry-pi/ |
@eagleamon wow! thank you so much |
I know this is closed, but I had the same issue. Caches are the bane of hass upgrades. Fixed by running |
I too realise the bug is closed, but it seems to still be an issue with images downloaded today (20190708) Should add I'm very new to hassbian but have had a little Linux experience so may be wide of the mark. Digging into the process a bit further - its seems that the actual download is quietly failing mid way along resulting in an incomplete package download. The package of course then fails the checksum test. By manually downloading the package in question;
I was able to confirm the sha256sum to be correct;
and then to manually install with;
making sure I'd run these previously;
to ensure that hass wasn't running and to get into the correct environment etc. Once the package installed, was able to exit to the pi user then start the service manually with
This -seems- to have got everything going, I hope this is of use. |
@paysenyu can you reopen this issue? (you can then unsubscribe from notifications if not interested) |
Of course. |
Ran into the same problem after upgrading from 0.93 to 0.94.5. For me, the fix was to uninstall the front end module first and then reinstall it. The upgrade is problematic. During startup after upgrading:
Then I tried to upgrade manually, skipping the cache, but that still failed with a different hash value:
Decided to uninstall it, then re-install. Uninstalling removes all of the existing files, I found a previous issue that was similar and the cause was related to existing files.
|
I'm not having any luck with any of the above solutions.
Edit:
|
I ran into the same issue. None of the 0.95.x releases are currently installable. |
Just another data point. I configured a brand new venv, installed HA and when it booted and attempted to install the frontend I got yet the same error. Installing it manually worked. |
Followed the guide from @hughhalf and it worked perfectly. Thanks! |
All of the logs here are using piwheels to download our package. I don't know what that is. By default, all packages should be downloaded from PyPI. I would think that this might be a bug with piwheels. |
I believe piwheels is the default source on Raspberry Pi. Or it was at some point. My home assistant installation is from 2015 or so. P.S. And now the upgrade was successful. Indeed it looks like Piwheels had a problem in their index, which is presumably fixed now. |
Edit: This is not related. |
|
To resolve this issue, I manually installed from pypi: The problem is that the files aren't being properly setup on piwheels.org I guess (given the commentary above about pypi.) So the official documentation is broken at the moment. Also I had to use the 20190626 version. There are much newer releases posted but it didn't like them. |
Several instances of the same problem being tracked here: https://github.com/bennuttall/piwheels/issues/185 |
Same problem today installing Hassbian. Just got 404 not found when trying to access http://ipaddress:8123. Had to install python-pip and then run sudo pip install --no-cache-dir home-assistant-frontend==20190630.0 |
I've had this issue upon updating each version of 0.96.x and the webpage is never reachable, just a 404. However restarting HA, it then loads normally without issue.
|
Same issue from 0.95.4 to 0.96.4, I had tyied following method, but the issue still appeared:
anyone can help me? |
Hello guys,
it works now, hope to help you. Sometimes this way no effect, and I tried the second successful way:
I am going crazy, finally solved, and there is no definite solution that can be solved. I only keep trying, and I have luck. |
I'm wondering if it is the piwheels.org server choking under load and dropping connections. My connection dropped several times previously when installing dependencies and only by retrying many times did it succeed |
Same issue today upgrading from 0.96 to 0.97. After manually uninstalling home-assistant-frontend and then reinstalling it, I was able to get the frontend working again. Not the smoothest upgrade I've done. |
Apologies if this isn't the right place: I believe I ran into the same issue with a completely fresh hassbian (0.100) install on an RPI 3. I was able to resolve it by re-running the install step, which seems to support the idea of a truncated download caused by some sort of intermittent failure. (just a guess). Resolution:
Unfortunately, I didn't save home-assistant.log with the full details.
|
I honestly think what's happening might be partially expected, either that server is interrupted or my little 8gb Sandisk is finally biting the dust. Likely doesn't happen with other packages because they are smaller? |
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. |
my problem is Unable to install package home-assistant-frontend==20190626.0
The text was updated successfully, but these errors were encountered: