I'm trying to run the ./asherah_npp.sh script but i have the following error:
(mbans) vboxuser@Asherah:~/mbans$ ./asherah_npp.sh
[MODBUS] Starting Modbus server...
[MODBUS] Success.
## MB_SRV: Local Modbus server.
## MB_SRV: Listening in all IP addresses at port 502.
## MB_SRV: Unable to listen to TCP connection.
[ANS_RT] Starting the Asherah Nuclear Simulator!
## MB_SRV: New connection from 127.0.0.1:54980 on socket 5.
## mb_client_connect: Connected to server 127.0.0.1:502.
** starting the model **
[INFO] Attempting to connect to ANS on tcp://127.0.0.1:502...
## MB_SRV: New connection from 127.0.0.1:43413 on socket 6.
## MB_SRV: New connection from 127.0.0.1:36253 on socket 7.
TIME: 1718130436.280838
[SENSOR TRANSMIT] Reading raw value from Asherah : UINT 49529 || 15115281.910429541MPa.
[SENSOR TRANSMIT] Writing value to the PLC : UINT 49529.
Traceback (most recent call last):
File "/home/vboxuser/mbans/FERRYMAN/ferryman.py", line 168, in <module>
main()
File "/home/vboxuser/mbans/lib/python3.9/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/home/vboxuser/mbans/lib/python3.9/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/vboxuser/mbans/lib/python3.9/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/vboxuser/mbans/lib/python3.9/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/vboxuser/mbans/FERRYMAN/ferryman.py", line 159, in main
write_control_commands()
File "/home/vboxuser/mbans/FERRYMAN/ferryman.py", line 61, in write_control_commands
pzr_main_heater = holding_reg.registers[0]
AttributeError: 'ExceptionResponse' object has no attribute 'registers'
## MB_SRV: Connection closed on socket 6
## MB_SRV: Connection closed on socket 7
Do you know what could be the possible error or how i can debug further ?
Hi,
I'm trying to run the
./asherah_npp.sh
script but i have the following error:Do you know what could be the possible error or how i can debug further ?
Here is my setup: