NameError: name 'getPdu' is not defined
rjmccabe3701 opened this issue · comments
Robert McCabe commented
This commit broke the parsing of the CommentPdu
. Here is the trace:
...
File "/usr/local/lib/python3.6/dist-packages/distributed_interactive_simulation-1.0-py3.6.egg/distributed_interactive_simulation/PduFactory.py", line 91, in createPdu
return getPdu(inputStream)
File "/usr/local/lib/python3.6/dist-packages/distributed_interactive_simulation-1.0-py3.6.egg/distributed_interactive_simulation/PduFactory.py", line 74, in getPdu
pdu.parse(inputStream)
File "/usr/local/lib/python3.6/dist-packages/distributed_interactive_simulation-1.0-py3.6.egg/distributed_interactive_simulation/dis7.py", line 6446, in parse
self.variableDatums.append(getPdu(inputStream))
NameError: name 'getPdu' is not defined
Leif Gruenwoldt commented
Do you mind sharing a sample CommentPdu packet? It would help debug this one. I'm trying to understand why we changed the code to call getPdu
here.