Closed eifinger closed 5 years ago
The link to the failed Azure CI pipeline is: https://dev.azure.com/keifinger/homeassistant-config/_build/results?buildId=109
Receiving a similar error with Check Home Assistant configuration add-on:
starting version 3.2.8
[10:05:21] INFO: Don't worry, this temporary installation is not overwriting your current one.
[10:05:21] INFO: Installing Home Assistant: latest...
[10:05:21] INFO: Please be patient, this might take a few minutes...
WARNING: You are using pip version 19.2.2, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[10:08:15] INFO: Installed Home Assistant 0.100.0
[10:08:15] INFO: Making a copy of your configuration for checking...
[10:10:08] INFO: Checking your configuration against this version...
[10:15:24] ERROR: The configuration check did not pass!
[10:15:24] ERROR: See the output below for more details.
INFO:homeassistant.util.package:Attempting install of colorlog==4.0.2
Testing configuration at /tmp/config
INFO:homeassistant.util.package:Attempting install of home-assistant-frontend==20191002.2
INFO:homeassistant.util.package:Attempting install of google-api-python-client==1.6.4
INFO:homeassistant.util.package:Attempting install of httplib2==0.10.3
INFO:homeassistant.util.package:Attempting install of oauth2client==4.0.0
INFO:homeassistant.util.package:Attempting install of aiohttp_cors==0.7.0
INFO:homeassistant.util.package:Attempting install of PyNaCl==1.3.0
INFO:homeassistant.util.package:Attempting install of python-nest==4.1.0
INFO:homeassistant.util.package:Attempting install of sqlalchemy==1.3.8
INFO:homeassistant.util.package:Attempting install of netdisco==2.6.0
INFO:homeassistant.util.package:Attempting install of distro==1.4.0
INFO:homeassistant.util.package:Attempting install of jsonrpc-async==0.6
INFO:homeassistant.util.package:Attempting install of jsonrpc-websocket==0.6
INFO:homeassistant.util.package:Attempting install of paho-mqtt==1.4.0
INFO:homeassistant.util.package:Attempting install of pyunifi==2.16
Failed config
homeassistant.packages.mobile_app.mobile_app:
- Package mobile_app setup failed. Component mobile_app No module named 'hass_nabucasa'
- mobile_app: None
Successful config (partial)
homeassistant.packages.mobile_app.mobile_app:
Also seeing this when updating to .100. I should mention that I use pipenv and previously I have had no problems updating HA using "pipenv update" with the single dependency in my Pipfile:
[packages]
homeassistant = "*"
[Edit: Workaround is to add the hass_nabucasa package explictly to the Pipfile.]
Hey there @robbiet480, mind taking a look at this issue as its been labeled with a integration (mobile_app
) you are listed as a codeowner for? Thanks!
I get the same as @Sjeff
Looks like it's importing from cloud
here https://github.com/home-assistant/home-assistant/blob/05ecc5a1355c7af11b5d310470a6171528dc7a2b/homeassistant/components/mobile_app/http_api.py#L8 and cloud
uses hass_nabucasa
Same issue here; it was suggested in another issue with the same symptom to pip3 install hass-nabucasa
This has resolved it for me.
It also works to explicitly enable cloud:
in your configuration, which will install hass_nabucasa
. #27112 introduced this change.
I updated to 0.100.1 and I did not enable cloud:
I'm running Cassio and it seems like everything is ok. No config errors (as before in the config check add-on)
Like @h4nc I can confirm that the upgrade works just fine without having cloud enabled in the config. It's all running fine. No issues.
It's all running fine. No issues.
On a web browser, sure. It works fine indeed.
But when you're using Home Assistant through the mobile app (version 2.0) the app will crash every single time.
Also... I don't have the Home Assistant Cloud / Nabu Casa, so why would I need to include cloud:
in my configuration? That doesn't make sense.
This is still failing for me.
Edit 1: Just noticed this has been fixed in 0.100.2 by PR #27470.
Edit 2: It's still failing on 0.100.2:
Failed config
homeassistant.packages.mobile_app.mobile_app:
- Package mobile_app setup failed. Component mobile_app No module named 'hass_nabucasa'
- mobile_app: None
Edit 3: (hours later) The issue with the beta app crashing is an issue in the app itself. Apparently the app uses a library which can't handle the minor version of Home Assistant. As in: now that the minor version (major: 0, minor: 100, patch: 2) of Home Assistant is on 100, it breaks because that library can only go up to 99.
Also: The main issue is still failing for me on my CI.
Since this is already closed and people might still find this... I've added cloud:
to my configuration. I'm not using the cloud at all, but it does fix the issue.
It annoys my OCD that I have to add it though :P.
i am using 100.2 , when i do a config check for 100.3 i also receive error below i am using nanbucasa, so enabled cloud: and also mobile_app: in my config
mobile_app: i dont use anymore, tested it with ariela, but not active anymore
Failed config General Errors:
I find that on latest dev (acee87bef6edfa83d949a87b553bf92a9592277b)
A fresh config directory with only mobile_app:
inside configuration.yaml
results in:
$ hass -c config/ --script check_config
Testing configuration at /src/homeassistant/home-assistant/config/
Failed config
General Errors:
- Component error: mobile_app - No module named 'hass_frontend'
Successful config (partial)
So, I tried adding frontend
to mobile_app manifest.json
dependencies, and that didn't work. Maybe I have a misunderstanding of what the "dependencies" in manifest.json
do, but it doesn't seem to install that modules requirements.
Home Assistant release with the issue:
0.100
Last working Home Assistant release (if known): 0.99.3
Operating environment (Hass.io/Docker/Windows/etc.):
Docker / Azure CI Integration:
https://www.home-assistant.io/integrations/mobile_app/
Description of problem: My CI always builds against my installed and against the latest version. With the just released version 0.100 it fails with the error
Package ariela setup failed. Component mobile_app No module named 'hass_nabucasa'
.The command I executed is
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):My full config can be found under: https://github.com/eifinger/homeassistant-config
Traceback (if applicable):
Additional information: