TypeError: argument of type 'NoneType' is not iterable
See original GitHub issueRunning 0.9.0. Error is added to the log once per minute.
Error doing job: Future exception was never retrieved
Traceback (most recent call last):
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/media_player/alexa.py", line 167, in <lambda>
track_utc_time_change(hass, lambda now: update_devices(), second=30)
File "/usr/local/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 325, in wrapper
result = method(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 325, in wrapper
result = method(*args, **kwargs)
File "/config/custom_components/media_player/alexa.py", line 189, in update_devices
update_devices, url)
File "/config/custom_components/media_player/alexa.py", line 253, in __init__
self.refresh(device)
File "/config/custom_components/media_player/alexa.py", line 293, in refresh
self._session['progress'] else None)
TypeError: argument of type 'NoneType' is not iterable
Hass.io 0.75.3 running on ResinOS 2.3.0+rev1. Supervisor 125.
Issue Analytics
- State:
- Created 5 years ago
- Comments:11
Top Results From Across the Web
python - TypeError: argument of type 'NoneType' is not iterable
The problem is that your pickEasy function does not return anything. In Python, a method that didn't return anything returns a NoneType. I...
Read more >How to Fix TypeError in Python: NoneType Object Is Not Iterable
The Python TypeError: NoneType Object Is Not Iterable is an exception that occurs when trying to iterate over a None value. Since in...
Read more >TypeError: argument of type 'NoneType' is not iterable
The python error TypeError: argument of type 'NoneType' is not iterable occurs when the membership operators check a value in a NoneType variable....
Read more >Python TypeError: 'NoneType' object is not iterable Solution | CK
The TypeError: 'NoneType' object is not iterable error is raised when you try to iterate over an object whose value is equal to...
Read more >TypeError: argument of type 'NoneType' is not iterable #696
When I try to import whisper I get this error: if` '/' in name or '\\' in name: TypeError: argument of type 'NoneType'...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Collecting other instances we need to guard against:
@alandtse The code in the PR works perfectly for me. Thanks.