Comments (10)
from simple-wyze-vac.
Are you using 1.7beta3? There's an annoying dependency issue on Home Assistant when it comes to dependencies of a custom component. Are you running on a Docker container? Are you coming from a previous install? What I usually have to do is
- Uninstall custom component (Simple Wyze Vac) through HACS
- Restart Home Assistant
- (Sometimes even good to reboot the whole box Home Assistant is running on as this doesn't always clear the cache)
- Reinstall
If it is still having trouble can you share detail on how you setup your Home Assistant instance because HA should automatically just pull that dependency 🤔
from simple-wyze-vac.
from simple-wyze-vac.
from simple-wyze-vac.
I tried getting rid of the explicit package name and version number here but HA seems to require it. I think you're going to need to install git in the container you're running Home Assistant on. A bit surprised it's not installed and I think that's the safer bet because other components could also rely on the git method of installing python dependencies.
from simple-wyze-vac.
from simple-wyze-vac.
Update to the above. I no longer get the git error, just the following:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/lib/python3.9/site-packages/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/lib/python3.9/site-packages/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/usr/lib/python3.9/site-packages/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/lib/python3.9/site-packages/homeassistant/components/http/ban.py", line 79, in ban_middleware
return await handler(request)
File "/usr/lib/python3.9/site-packages/homeassistant/components/http/auth.py", line 219, in auth_middleware
return await handler(request)
File "/usr/lib/python3.9/site-packages/homeassistant/components/http/view.py", line 137, in handle
result = await result
File "/usr/lib/python3.9/site-packages/homeassistant/components/config/config_entries.py", line 174, in post
return await super().post(request)
File "/usr/lib/python3.9/site-packages/homeassistant/components/http/data_validator.py", line 62, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/lib/python3.9/site-packages/homeassistant/helpers/data_entry_flow.py", line 71, in post
result = await self._flow_mgr.async_init(
File "/usr/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 205, in async_init
flow, result = await task
File "/usr/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 223, in _async_init
flow = await self.async_create_flow(handler, context=context, data=data)
File "/usr/lib/python3.9/site-packages/homeassistant/config_entries.py", line 740, in async_create_flow
await async_process_deps_reqs(self.hass, self._hass_config, integration)
File "/usr/lib/python3.9/site-packages/homeassistant/setup.py", line 360, in async_process_deps_reqs
await requirements.async_get_integration_with_requirements(
File "/usr/lib/python3.9/site-packages/homeassistant/requirements.py", line 83, in async_get_integration_with_requirements
await _async_process_integration(hass, integration, done)
File "/usr/lib/python3.9/site-packages/homeassistant/requirements.py", line 99, in _async_process_integration
await async_process_requirements(
File "/usr/lib/python3.9/site-packages/homeassistant/requirements.py", line 162, in async_process_requirements
await _async_process_requirements(
File "/usr/lib/python3.9/site-packages/homeassistant/requirements.py", line 182, in _async_process_requirements
if pkg_util.is_installed(req):
File "/usr/lib/python3.9/site-packages/homeassistant/util/package.py", line 45, in is_installed
req = pkg_resources.Requirement.parse(urlparse(package).fragment)
File "/usr/lib/python3.9/site-packages/pkg_resources/init.py", line 3147, in parse
req, = parse_requirements(s)
ValueError: not enough values to unpack (expected 1, got 0)�[0m
from simple-wyze-vac.
Seems like your Home Assistant instance is having a hard time pulling and setting up python dependencies. I'm not too sure what the issue is but based on that stack trace, it looks pretty deep into Home Assistant itself.
from simple-wyze-vac.
I had the same issue with HA in an Unraid container. After I added git to the Alpine Linux install it worked great.
This is the command:
apk add git
from simple-wyze-vac.
Thanks for the collab, closing this issue 🥳
from simple-wyze-vac.
Related Issues (20)
- Image is blank on >1.7.3; Firmware 1.6.202 HOT 2
- [BUG] SSLCertVertification error HOT 1
- [BUG] requirement not found HOT 15
- Query History? HOT 2
- Integration "Failed to Setup" HOT 2
- Will this change to Wyze login affect the intigration HOT 2
- [BUG]
- [QUESTION] Anyone have a working Xiomi lovelace config with room selection? HOT 4
- [BUG] Control switches reset after rebooting HA HOT 2
- Can't log in, appears to be due to the new API requirements HOT 15
- [BUG] Cannot install, config flow fails HOT 2
- Log In failed HOT 1
- Support for multiple floors? HOT 1
- [BUG] 400 Client Error: Bad Request on Login HOT 3
- Dining Room Not appearing HOT 1
- HA Simple-Wyze-Vac automation Cleaning wrong room(s) HOT 1
- [BUG] After configuration it's not adding entities HOT 3
- [BUG] room selection via switches not working HOT 2
- deprecated supported features HOT 12
- HA 2024.5.0 deprecation warning 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 simple-wyze-vac.