Skip to content

AttributeError: 'NoneType' object has no attribute 'interCharTimeout' #373

@neerajkumarjarvis

Description

@neerajkumarjarvis

https://github.com/riptideio/pymodbus/blob/f0edef3071d500b7e3a987ee196c38bb79f59518/pymodbus/client/sync.py#L476

Following error is coming when i am trying to make a serial modbus connection through rtu
Please put a check None check here

self.socket.interCharTimeout = self.inter_char_timeout
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions