Skip to content

Sometimes cpu is going hight and there are serial.serialutil.SerialException on rfxcom module #1

Description

@bamthomas

The rfxcom module is broken with this kind of stacks :

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/asyncio/events.py", line 119, in _run
    self._callback(*self._args)
  File "/home/pi/venv/lib/python3.4/site-packages/rfxcom/transport/asyncio.py", line 76, in read
    data = self.dev.read()
  File "/home/pi/venv/lib/python3.4/site-packages/serial/serialposix.py", line 480, in read
    if e[0] != errno.EAGAIN:
TypeError: 'SerialException' object does not support indexing
2015-07-29 08:12:17,411 [asyncio] ERROR: Exception in callback AsyncioTransport.read()
handle: <Handle AsyncioTransport.read()>
Traceback (most recent call last):
  File "/home/pi/venv/lib/python3.4/site-packages/serial/serialposix.py", line 475, in read
    raise SerialException('device reports readiness to read but returned no data (device disconnected or multiple access on port?)')
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions