Error in setup custom updater? No module named 'pyupdate'

reinstalling my custom updater in the latest Hassio 81.2

29

 2018-11-01 13:51:38 ERROR (MainThread) [homeassistant.setup] Error during setup of component custom_updater
    Traceback (most recent call last):
      File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 148, in _async_setup_component
        component.setup, hass, processed_config)  # type: ignore
      File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
        result = self.fn(*self.args, **self.kwargs)
      File "/config/custom_components/custom_updater.py", line 65, in setup
        config_show_installabe)
      File "/config/custom_components/custom_updater.py", line 125, in __init__
        from pyupdate.ha_custom import custom_cards
    ModuleNotFoundError: No module named 'pyupdate'

i folled the wiki: https://github.com/custom-components/custom_updater/wiki/Installation

this is my custom_updater.yaml

# https://github.com/custom-components/custom_updater/wiki/Installation
track:
  - components
  - cards
  - python_scripts

component_urls:
  - https://raw.githubusercontent.com/robmarkcole/Hue-sensors-HASS/master/custom_updater.json
  - https://raw.githubusercontent.com/pnbruckner/homeassistant-config/master/custom_components.json

  - https://raw.githubusercontent.com/awesome-developer/my-awesome-repo/master/custom_components.json

card_urls:
  - https://raw.githubusercontent.com/kalkih/mini-media-player/master/tracker.json
  - https://raw.githubusercontent.com/kuuji/button-card/0.0.2/tracker.json
  - https://raw.githubusercontent.com/matisaul/vertical-style-card/master/tracker.json

  - https://raw.githubusercontent.com/awesome-developer/my-awesome-repo/master/custom_cards.json

python_script_urls:
  - https://raw.githubusercontent.com/awesome-developer/my-awesome-repo/master/python_scripts.json

show_installable: false

what could be wrong? @ludeeus do you spot the error?
thx

Hi @Mariusthvdb
I see multiple issues here…
1: You have not read the README file in the repo, specifically this part:

If you encounter issues with this, please do not flood the Home Assistant discord server or the forums with requests, this is a custom_component and all issues with custom components should be handled by the developer of that component.

Open an issue in this repo. https://github.com/custom-components/custom_updater/issues

2: Thar error is quite common, and usually resolves itself by restarting Homeassistant
3: You have added links to files that do not exist:

If restarting and correcting the configuration does not resolve it, please open an issue here:


:slight_smile:
  1. please… who is flooding…?? 1 simple question? Seems of general interest enough to the community to also discuss custom components. Im glad this is done, on all the other components also. Cant see the issue really.

  2. ok thanks, Indeed this didn’t happen after I tested just now.
    3: that might be the answer…I’ve taken them out. but no error is reported, not even after reboot. Somehow they got in from my previous setup. Have they always been wrong, or is this a development of the component?

Thanks for a cool tool.

The flooding part was not directly intended to you, just in general.

The developer of a custom_component will be the best person to solve an issue with his/hers component, as a developer myself I do not want to piggyback on the community sources for Home Assistant.
An issue on GitHub will also be easier to follow.

The links you had in that does not exist was part of a sample config I had one time at the repo, I removed that some time ago due to people just copy+pasting it and getting issues :confused:

ok cool, thanks for your time.

I’ll suggest on your GitHub to have a full configuration example, people can safely copy. I did read the Wiki, but for the less programming savy community members, it might be a good idea to have that. since tis: https://github.com/custom-components/custom_updater/blob/master/configuration.yaml is a bit compact :wink:

Again, much appreciated!

I follow the guidelines from the HA documentation.

custom_updater:

Is all that you need to get started :slight_smile:

If I add more to this like:

custom_updater:
  track:
    - cards
    - components

I will get issues created by users that do not want to track cards :man_shrugging: