-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
Versions
- Python: 3.11.4
- OS: Fedora 37
- Pymodbus: 3.5.0
Pymodbus Specific
- Server: rtu
Description
- starting pymodbus.server fails
pymodbus.server run -s serial -p /dev/ttyUSB0 -f rtu
Current result
2023-09-03 20:49:24,704 ERROR logging:114 Error starting modbus server 'ModbusSerialServer' object has no attribute 'start'
- the problem got introduced by commit 3d71883 which removed the start() method of ModbusSerialServer
- in previous pymodbus versions:
pymodbus/pymodbus/server/async_io.py
Line 594 in 8de66a2
async def start(self): - the start method is still called in pymodbus/server/reactive/main.py in start_modbus_server
pymodbus/pymodbus/server/reactive/main.py
Line 242 in d1af691
self._modbus_server.start() pymodbus/pymodbus/server/reactive/main.py
Line 250 in d1af691
self._modbus_server.start()
Metadata
Metadata
Assignees
Labels
No labels