Skip to content

ParseError #21

@akrzos

Description

@akrzos

I have now seen this occur "randomly". If I find any further details on how this occurs I'll post back to this issue.

[2017-06-27 17:13:39] [error] Unhandled python exception in read callback: ParseError: Unknown input format: ''
[2017-06-27 17:13:39] [error] Traceback (most recent call last):
[2017-06-27 17:13:39] [error]   File "/usr/local/bin/collectd_iostat_python.py", line 328, in read_callback
    ds = iostat.get_diskstats()
[2017-06-27 17:13:39] [error]   File "/usr/local/bin/collectd_iostat_python.py", line 184, in get_diskstats
    eds = self.parse_diskstats(edd)
[2017-06-27 17:13:39] [error]   File "/usr/local/bin/collectd_iostat_python.py", line 101, in parse_diskstats
    raise ParseError('Unknown input format: %r' % input)
[2017-06-27 17:13:39] [error] ParseError: Unknown input format: ''

Also this one:

[2017-06-26 19:11:41] [error]   File "/usr/local/bin/collectd_iostat_python.py", line 328, in read_callback
    ds = iostat.get_diskstats()
[2017-06-26 19:11:41] [error]   File "/usr/local/bin/collectd_iostat_python.py", line 181, in get_diskstats
    dsd = self._get_childs_data(dstats)
[2017-06-26 19:11:41] [error]   File "/usr/local/bin/collectd_iostat_python.py", line 157, in _get_childs_data
    (stdout, stderr) = child.communicate()
[2017-06-26 19:11:41] [error]   File "/usr/lib64/python2.7/subprocess.py", line 793, in communicate
    self.stdout.close()
[2017-06-26 19:11:41] [error] IOError: [Errno 9] Bad file descriptor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions