pduToXml translation fails for strings
Project:
Gurux.DLMS.Python
pduToXml (GXDLMSTranslator.py) method fails to translate string pdu's as it is wrongly converting the pdu to a bytearray if isinstance(pdu, str):
instead of to GXByteBuffer.
A possible solution for this would be replacing
pdu = GXByteBuffer.hexToBytes(pdu)
by:
pdu = GXByteBuffer(GXByteBuffer.hexToBytes(pdu))
Status:
Closed (fixed)
Priority:
Normal
Category:
Bug report
Component:
Code
Reporter:
zmiguel
Created:
Mon, 06/17/2019 - 23:11
Updated:
Mon, 09/09/2019 - 15:07
Comments
zmiguel
Mon, 06/17/2019 - 23:12
Comment #1
Kurumi
Thu, 06/20/2019 - 12:22
Comment #2
Hi,
Hi,
You are right. This is fixed and updated to GitHub. We are making a new version next week.
Ram
Mon, 07/15/2019 - 14:03
Comment #3
python framework
how can i able to run python framework in my pc?
I downloaded source code from github but i am not able to run.
please help me out
thanks
Kurumi
Mon, 07/15/2019 - 14:22
Comment #4
python framework
Hi,
Please, if you have questions ask them in Forum section. This is reserved for issues.
You need to install python and run the example client using Python.
BR,
Mikko
Kurumi
Mon, 09/09/2019 - 15:07
Comment #5