Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error doing job: Task exception was never retrieved #21

Closed
yashijoe opened this issue Jul 21, 2019 · 6 comments
Closed

Error doing job: Task exception was never retrieved #21

yashijoe opened this issue Jul 21, 2019 · 6 comments

Comments

@yashijoe
Copy link

Hi Gregory,

this is from the log and it is showing up many many times, do you have any clue? thanks

Log Details (ERROR)
Sun Jul 21 2019 10:50:42 GMT+0200 (CEST)

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 365, in _async_add_entity
await entity.async_update_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
attr.update(self.state_attributes or {})
File "/config/custom_components/dreamscreen/init.py", line 250, in state_attributes
self.device, (pydreamscreen.DreamScreenHD, pydreamscreen.DreamScreen4K, pydreamscreen.DreamScreenSolo)
AttributeError: module 'pydreamscreen' has no attribute 'DreamScreenSolo'

@J3n50m4t
Copy link
Owner

You dont have latest pydreamscreen installed.
I made some adjustments feew commits ago, where I added a new Device (Solo).
As this Tool here only provides the bridge to pydreamscreen, i also added it there. The Problem, the automatic installer can't pull the latest pydreamscreen yet (its just not uploaded).

So short time fix:

Clone pydreamscreen into your custom components directory.
Your Directory should look like

config
-- custom_components
-- -- dreamscreen
-- -- pydreamscreen

Restart your Homeassistant and it should work. At does at least here, so there is hope.

I will open a ticket at pydreamscreen, as it needs to be updated automatically. We need a way for this
Also Going to update the readme til its fixed.
Let me know if

J3n50m4t added a commit that referenced this issue Jul 21, 2019
@yashijoe
Copy link
Author

Hi J3n50m4t,

first I've removed both folder from the config/custom_components folder.
Then I've done a clean installation via ssh with the following commands:

git clone https://github.com/GregoryDosh/Home-Assistant-DreamScreen-Service.git dreamscreen
git clone https://github.com/GregoryDosh/pydreamscreen pydreamscreen

Now I got the 2 folders and dreamscreen works fine as usual, but the log keep on with the above error.

Thanks for the support

@J3n50m4t
Copy link
Owner

Mmh weird.
I may have to check the version of dreamscreen I’m using. I may accidently tested an old commit.
I will reply tomorrow. If you checkout an older dreamscreen version it also should work fine (not to old ofc, you need async support )

Sent with GitHawk

@J3n50m4t
Copy link
Owner

So here I'm again.
I realized I've used commit e0784 all the time.
But Gregory updated pydreamscreen so home assistant should pull this one. I expected it to use the local one but in my testings I didn't update dreamscreen component, so no new pull was nessesary.
my fault. I will update everything tomorrow over here. It was a to long day.

@yashijoe
Copy link
Author

Thank you J3n50m4t!

J3n50m4t added a commit that referenced this issue Jul 22, 2019
@J3n50m4t
Copy link
Owner

Ok.
After few investigations:
Over at the pydreamscreen we didn't publish the latest changes, so pip install got v 0.0.10.
But we added changes so its now .11
Also this repo now requires 0.0.11 of pydreamscreen.
I tested it with latest submodules in my configuration and it works. - You can find my full config here. I got the same errors as you did, so now ii i fixed.
I'm sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants