Giter Site home page Giter Site logo

Comments (10)

gettingerr avatar gettingerr commented on May 27, 2024 1

from simple-wyze-vac.

romedtino avatar romedtino commented on May 27, 2024

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.

gettingerr avatar gettingerr commented on May 27, 2024

from simple-wyze-vac.

gettingerr avatar gettingerr commented on May 27, 2024

from simple-wyze-vac.

romedtino avatar romedtino commented on May 27, 2024

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.

gettingerr avatar gettingerr commented on May 27, 2024

from simple-wyze-vac.

gettingerr avatar gettingerr commented on May 27, 2024

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.

romedtino avatar romedtino commented on May 27, 2024

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.

hopkinsag1 avatar hopkinsag1 commented on May 27, 2024

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.

romedtino avatar romedtino commented on May 27, 2024

Thanks for the collab, closing this issue 🥳

from simple-wyze-vac.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.