Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/cpppo/server/enip/client.py", line 1699, in <module>
sys.exit( main() )
File "/usr/local/lib/python2.7/dist-packages/cpppo/server/enip/client.py", line 1680, in main
fragment=fragment, printing=printing, timeout=timeout )
File "/usr/local/lib/python2.7/dist-packages/cpppo/server/enip/client.py", line 1444, in process
transactions = list( self.results( operations=operations, **kwds ))
File "/usr/local/lib/python2.7/dist-packages/cpppo/server/enip/client.py", line 1436, in results
for idx,dsc,req,rpy,sts,val in self.operate( operations, **kwds ):
File "/usr/local/lib/python2.7/dist-packages/cpppo/server/enip/client.py", line 1431, in operate
for idx,dsc,req,rpy,sts,val in harvested:
File "/usr/local/lib/python2.7/dist-packages/cpppo/server/enip/client.py", line 1321, in validate
for index,descr,request,reply,status,val in harvested:
File "/usr/local/lib/python2.7/dist-packages/cpppo/server/enip/client.py", line 1308, in pipeline
complete, requests )
AssertionError: Communication ceased before harvesting all pipeline responses: 0/ 1`
It is possible to reproduce this behavior with cpppo==4.0.4 or cpppo==4.3.4 and probably other versions, while more recent versions (like 4.4) cannot be used due to another error (addressed here #28).
Furthermore, I notice that the exception arise always after a specific period. To check it, I attach a version of physical_process.py
that writes in a csv file (out.csv
)
a log of each variable and a timestamp at every cycle. Exceptions arises always at timestamp = 88.40.
I'm working on Ubuntu 20.04, but I tried in other versions as well without any luck.