0.84.6
**Last working Home Assistant release (if known):**
**Operating environment (Hass.io/Docker/Windows/etc.):**
fresh hassbian install.
**Component/platform:**
https://www.home-assistant.io/components/media_player.pandora/
**Description of problem:**
When I try to run Pandora (pianobar) from Home assistant I get the following error of Task exception was never retrieve. I can run pianobar from command line all day and it works flawlessly.
**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**
```yaml
```
**Traceback (if applicable):**
```
2018-12-31 22:13:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/pexpect/expect.py", line 111, in expect_loop
incoming = spawn.read_nonblocking(spawn.maxread, timeout)
File "/srv/homeassistant/lib/python3.5/site-packages/pexpect/pty_spawn.py", line 482, in read_nonblocking
raise TIMEOUT('Timeout exceeded.')
pexpect.exceptions.TIMEOUT: Timeout exceeded.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 277, in _handle_service_platform_call
await getattr(entity, func)(**data)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/pandora.py", line 117, in turn_on
self.update_playing_status()
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/pandora.py", line 225, in update_playing_status
response = self._query_for_playing_status()
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/pandora.py", line 241, in _query_for_playing_status
'Receiving new playlist'])
File "/srv/homeassistant/lib/python3.5/site-packages/pexpect/spawnbase.py", line 341, in expect
timeout, searchwindowsize, async_)
File "/srv/homeassistant/lib/python3.5/site-packages/pexpect/spawnbase.py", line 369, in expect_list
return exp.expect_loop(timeout)
File "/srv/homeassistant/lib/python3.5/site-packages/pexpect/expect.py", line 119, in expect_loop
return self.timeout(e)
File "/srv/homeassistant/lib/python3.5/site-packages/pexpect/expect.py", line 82, in timeout
raise TIMEOUT(msg)
pexpect.exceptions.TIMEOUT: Timeout exceeded.
command: /usr/bin/pianobar
args: ['/usr/bin/pianobar']
buffer (last 100 chars): b'ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default\r\n\x1b[2K/!\\ Cannot open audio device.\r\n'
before (last 100 chars): b'ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default\r\n\x1b[2K/!\\ Cannot open audio device.\r\n'
after:
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 13326
child_fd: 13
closed: False
timeout: 30
delimiter:
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_re:
0: re.compile(b'(\\d\\d):(\\d\\d)/(\\d\\d):(\\d\\d)')
1: re.compile(b'No song playing')
2: re.compile(b'Select station')
3: re.compile(b'Receiving new playlist')
```
**Additional information:**
Home Assistant release with the issue:
0.84.6 **Last working Home Assistant release (if known):** **Operating environment (Hass.io/Docker/Windows/etc.):** fresh hassbian install. **Component/platform:** https://www.home-assistant.io/components/media_player.pandora/ **Description of problem:** When I try to run Pandora (pianobar) from Home assistant I get the following error of Task exception was never retrieve. I can run pianobar from command line all day and it works flawlessly. **Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):** ```yaml ``` **Traceback (if applicable):** ``` 2018-12-31 22:13:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/srv/homeassistant/lib/python3.5/site-packages/pexpect/expect.py", line 111, in expect_loop incoming = spawn.read_nonblocking(spawn.maxread, timeout) File "/srv/homeassistant/lib/python3.5/site-packages/pexpect/pty_spawn.py", line 482, in read_nonblocking raise TIMEOUT('Timeout exceeded.') pexpect.exceptions.TIMEOUT: Timeout exceeded. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step result = coro.throw(exc) File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 277, in _handle_service_platform_call await getattr(entity, func)(**data) File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__ yield self # This tells Task to wait for completion. File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup future.result() File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result raise self._exception File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run result = self.fn(*self.args, **self.kwargs) File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/pandora.py", line 117, in turn_on self.update_playing_status() File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/pandora.py", line 225, in update_playing_status response = self._query_for_playing_status() File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/pandora.py", line 241, in _query_for_playing_status 'Receiving new playlist']) File "/srv/homeassistant/lib/python3.5/site-packages/pexpect/spawnbase.py", line 341, in expect timeout, searchwindowsize, async_) File "/srv/homeassistant/lib/python3.5/site-packages/pexpect/spawnbase.py", line 369, in expect_list return exp.expect_loop(timeout) File "/srv/homeassistant/lib/python3.5/site-packages/pexpect/expect.py", line 119, in expect_loop return self.timeout(e) File "/srv/homeassistant/lib/python3.5/site-packages/pexpect/expect.py", line 82, in timeout raise TIMEOUT(msg) pexpect.exceptions.TIMEOUT: Timeout exceeded.