spook icon indicating copy to clipboard operation
spook copied to clipboard

Unable to create Spook Integration ("Yeah... well... no. K, thx, bye!")

Open L0bit0 opened this issue 8 months ago • 14 comments

What version of Spook are you using?

3.1.0

What version of Home Assistant are you using?

2025.3.4

The problem

I had Spook installed and working for some time.

Around one month ago, I realize it was not working anymore

I tried to redownload, uninstall and install again...

Now, technically, i have installed, but when I try to add the integration o got this funny error: Yeah... well... no. K, thx, bye!

Any idea?

Anything in the logs? Paste it here!

No logs for spook

L0bit0 avatar Apr 05 '25 08:04 L0bit0

Have the same issue :/

What version of Spook are you using? 3.1.0

What version of Home Assistant are you using? 2025.4.1

ilexpl01 avatar Apr 07 '25 07:04 ilexpl01

@frenck help please :)

ilexpl01 avatar Apr 10 '25 09:04 ilexpl01

Just installed spook for the 1st time and the error message also appears when i try to add a new hub. (Only to try it.) This is meant as a hint, i don't have any problem with the integration so far. (Spook: 3.1.0, HA: 2025.4.2)

jurviz avatar Apr 16 '25 10:04 jurviz

Check your disabled integrations

jaredcat avatar May 15 '25 23:05 jaredcat

That was in issue :). Found that before already. Integration Message is kind of missleading :/

ilexpl01 avatar May 16 '25 04:05 ilexpl01

I have the same problem and error. I checked "disabled integrations" what should I look for?

"Yeah... well... no. K, thx, bye!

That error maybe cute, but it's completely meaningless and not helpful.

mfurniss avatar May 17 '25 04:05 mfurniss

what should I look for?

Spook integration that was previously disabled

jaredcat avatar May 17 '25 06:05 jaredcat

I see only the one Spook which is not disabled. I tried a clean install a couple of times but always get the error message during setup.

mfurniss avatar May 17 '25 13:05 mfurniss

If it's not disabled then it's already setup

jaredcat avatar May 18 '25 04:05 jaredcat

Hi

I just to check and, yes, integration was disabled....

To be honest, I do not remember to have disabled, at least on porpoise.

error message, do not give any clue :-)

Thanks for your help!

L0bit0 avatar May 18 '25 19:05 L0bit0

The only Developer Tools -> Actions I can find are:

Spook: Boo! Spook: Random fail

Is this expected?

mfurniss avatar May 19 '25 00:05 mfurniss

You might want to read up on how Spook works. There's nothing you need to do once it's active. It will give you an alert if it detects something wrong.

jaredcat avatar May 19 '25 18:05 jaredcat

Yeah rather cute but not helpfull

After enabling debug logs i found this error when trying to add a hub

Logger: homeassistant.config_entries
Source: config_entries.py:749
First occurred: 14:44:17 (2 occurrences)
Last logged: 14:46:01

Error setting up entry Your homie for spook
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/spook/__init__.py", line 41, in async_setup_entry
    if await hass.async_add_executor_job(link_sub_integrations, hass):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/spook/util.py", line 123, in link_sub_integrations
    dest.symlink_to(src)
    ~~~~~~~~~~~~~~~^^^^^
  File "/usr/local/lib/python3.13/pathlib/_local.py", line 789, in symlink_to
    os.symlink(target, self, target_is_directory)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileExistsError: [Errno 17] File exists: '/config/custom_components/spook/integrations/spook_inverse' -> '/config/custom_components/spook_inverse'

Having restored a backup that had spook installed, it didn't show any thing as disabled. so i went hunting on the filesystem find / -name "spook_inverse" then delete all files and folders matching that name. I then tried to add the hub again and it worked fine.

hope that helps people.

cooljimy84 avatar Aug 07 '25 13:08 cooljimy84

@cooljimy84 thanks for your hint, but that doesnt' work for me ...unfortunately

DerUnwissende avatar Sep 12 '25 17:09 DerUnwissende