-
Notifications
You must be signed in to change notification settings - Fork 289
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
'NoneType' object has no attribute 'strip' #299
Comments
I had the same problem, I removed the alexa_media.xxxxxxxxxxxxx.com.pickle file, tried to reconfigure however unsuccessfully. I downgraded, reconfigured and then I upgraded, so it worked. |
Ok thanks, downgrading to 1.4.0 , authenticate and upgrade now work... |
certainly! just a tip to help until it is fixed ;) |
have the same problem, how can I download version 1.4.0? thanks |
I use the Community addon. |
Thanks for reporting. We'll fix it. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
same problem |
FYI, we have a fix pushed into dev in alexapy if you want to manually copy the files over alexapy. Again this is for advanced users. |
Describe the bug
A clear and concise description of what the bug is.
After ugrade my homassistant (docker) to 0.97.2 and alexa_media to 2.0
when i click on "Please hit confirm to begin login attempt." i have
2019-08-23 14:28:35 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1864377072] 'NoneType' object has no attribute 'strip'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 128, in handle_call_service
connection.context(msg),
File "/usr/src/homeassistant/homeassistant/core.py", line 1235, in async_call
await asyncio.shield(self._execute_service(handler, service_call))
File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in _execute_service
await handler.func(service_call)
File "/usr/src/homeassistant/homeassistant/components/configurator/init.py", line 235, in async_handle_service_call
await self.hass.async_add_job(callback, call.data.get(ATTR_FIELDS, {}))
File "/config/custom_components/alexa_media/init.py", line 152, in configuration_callback
login, callback_data)
File "/config/custom_components/alexa_media/init.py", line 142, in setup_platform_callback
await login.login(data=callback_data)
File "/usr/local/lib/python3.7/site-packages/alexapy/alexalogin.py", line 327, in login
await self._process_page(await post_resp.text(), site)
File "/usr/local/lib/python3.7/site-packages/alexapy/alexalogin.py", line 372, in _process_page
find_links()
File "/usr/local/lib/python3.7/site-packages/alexapy/alexalogin.py", line 338, in find_links
string = link.string.strip()
AttributeError: 'NoneType' object has no attribute 'strip'
The text was updated successfully, but these errors were encountered: