runtime/__init__.py
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 18 Apr 2016 18:51:59 +0300
changeset 1477 270dba8bf87b
parent 344 25b7b7f854bc
child 1511 91538d0c242c
permissions -rw-r--r--
fix issue, when structure data type with array field is created

Traceback (most recent call last):
File "editors/DataTypeEditor.py", line 669, in ElementArrayTypeFunction
self.RefreshTypeInfos()
File "editors/DataTypeEditor.py", line 761, in RefreshTypeInfos
self.Controler.SetDataTypeInfos(self.TagName, infos)
File "PLCControler.py", line 2075, in SetDataTypeInfos
array.baseType.setcontent(PLCOpenParser.CreateElement(
AttributeError: 'lxml.etree._Element' object has no attribute 'setcontent'
49
45dc6a944ab6 On the long wat towards generated code comilation...
etisserant
parents:
diff changeset
     1
# module which import C files as strings
45dc6a944ab6 On the long wat towards generated code comilation...
etisserant
parents:
diff changeset
     2
45dc6a944ab6 On the long wat towards generated code comilation...
etisserant
parents:
diff changeset
     3
import os
45dc6a944ab6 On the long wat towards generated code comilation...
etisserant
parents:
diff changeset
     4
344
25b7b7f854bc Wait the debug thread has terminated before freeing PLC to avoid random segmentation fault.
greg
parents: 209
diff changeset
     5
from PLCObject import PLCObject, PLCprint
203
cb9901076a21 Added concepts :
etisserant
parents: 49
diff changeset
     6
import ServicePublisher