[Beremiz-devel] Bug Reports

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] Bug Reports

Beremiz-Devel mailing list
Hello,

Yesterday I accidentally sent these files to the wrong address. I am sorry for the inconvenience I caused anyway by doing so. Thank you for abiding with my lack of experience and knowledge.

Below is what I remembered of the incident:


The first time I can recall these crashes appearing was after I was forced to exit because I waited the improper time between the "Save" and "Build project into build folder" commands. it seemed that triggering the two at a fast enough rate was too much and the project as a whole crashed. 

Ever since I closed the project, every time I open the "Palletizer" program it appears that these errors appear and the visual ladder logic display is gone. 

If it is worth noting, I save these project files in Dropbox.

Please do forgive me for my unprofessional writings, I am quite new to the field and use of your program.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

bug_report_Tue_Oct_17_12-53-41_2017.txt (3K) Download Attachment
bug_report_Tue_Oct_17_13-01-12_2017.txt (3K) Download Attachment
bug_report_Tue_Oct_17_13-01-36_2017.txt (2K) Download Attachment
bug_report_Tue_Oct_17_13-03-00_2017.txt (20K) Download Attachment
bug_report_Tue_Oct_17_13-08-06_2017.txt (3K) Download Attachment
bug_report_Tue_Oct_17_13-12-19_2017.txt (3K) Download Attachment
bug_report_Tue_Oct_17_13-13-19_2017.txt (3K) Download Attachment
bug_report_Tue_Oct_17_13-22-18_2017.txt (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] Bug Reports

Beremiz-Devel mailing list
Hi Daniel,

Thanks! If you post links to projects (or attach projects to the
answer) that cause problems, it'd be very useful.

On 17-10-18 18:05, [hidden email] wrote:

> Hello,
>
> Yesterday I accidentally sent these files to the wrong address. I am sorry for the inconvenience I caused anyway by doing so. Thank you for abiding with my lack of experience and knowledge.
>
> Below is what I remembered of the incident:
>
>
> The first time I can recall these crashes appearing was after I was forced to exit because I waited the improper time between the "Save" and "Build project into build folder" commands. it seemed that triggering the two at a fast enough rate was too much and the project as a whole crashed.
>
> Ever since I closed the project, every time I open the "Palletizer" program it appears that these errors appear and the visual ladder logic display is gone.
>
> If it is worth noting, I save these project files in Dropbox.
>
> Please do forgive me for my unprofessional writings, I am quite new to the field and use of your program.

> app-title:
> beremiz
>
> app-version:
> 1.2-24168e52fc2b
>
> cwd:
> C:\Program Files (x86)\Beremiz\mingw\bin
>
> date:
> Tue Oct 17 12:53:41 2017
>
> e-type:
> <type 'exceptions.TypeError'>
>
> e-value:
> unsupported operand type(s) for &=: 'str' and 'bool'
>
> locals:
>     spreading: 'undefined'
>     self: <graphics.LD_Objects.LD_Contact instance at 0x0D2679E0>
>
> platform:
> Windows-7-6.1.7601-SP1
>
> python-version:
> 2.7.2
>
> self:
>     Forced: False
>     LastValue: None
>     Highlights: {}
>     Selected: False
>     ToolTipTimer: <wx._misc.Timer; proxy of <Swig Object of type 'wxPyTimer *' at 0x8f8e450> >
>     Highlighted: False
>     oldPos: None
>     Input: <graphics.GraphicCommons.Connector instance at 0x0D267AA8>
>     Type: 1
>     Handle: (None, None)
>     Parent: <editors.LDViewer.LD_Viewer; proxy of <Swig Object of type 'wxSplitterWindow *' at 0x8e5fc00> >
>     PreviousSpreading: False
>     CurrentDrag: None
>     PreviousValue: False
>     Name: 'SB_R1'
>     LastForced: False
>     Value: False
>     Inhibited: False
>     Output: <graphics.GraphicCommons.Connector instance at 0x0D267AF8>
>     TypeSize: (4, 13)
>     StartPos: None
>     DataType: None
>     Pos: wx.Point(465, 109)
>     ToolTip: None
>     Visible: False
>     ToolTipPos: None
>     BoundingBox: wx.Rect(460, 94, 32, 31)
>     Dragging: False
>     Id: 1
>     NameSize: (31, 13)
>     Size: wx.Size(21, 15)
>
> traceback:
>   File "C:\Program Files (x86)\Beremiz\beremiz\Beremiz.py", line 881, in OnMenu
>     getattr(self.CTR, method)()
>   File "C:\Program Files (x86)\Beremiz\beremiz\ProjectController.py", line 995, in _Build
>     self.AppFrame.ClearErrors()
>   File "C:\Program Files (x86)\Beremiz\beremiz\IDEFrame.py", line 2524, in ClearErrors
>     self.ClearHighlights(ERROR_HIGHLIGHT)
>   File "C:\Program Files (x86)\Beremiz\beremiz\IDEFrame.py", line 2521, in ClearHighlights
>     viewer.ClearHighlights(highlight_type)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 3514, in ClearHighlights
>     self.RefreshView()
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 186, in RefreshView
>     Viewer.RefreshView(self, variablepanel, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1196, in RefreshView
>     block.SpreadCurrent()
>   File "C:\Program Files (x86)\Beremiz\beremiz\graphics\LD_Objects.py", line 405, in SpreadCurrent
>     spreading &= not self.Value
> <type 'exceptions.TypeError'>: unsupported operand type(s) for &=: 'str' and 'bool'
>
> wx-platform:
> __WXMSW__
>
> wx-version:
> 2.8.12.1
>

> app-title:
> beremiz
>
> app-version:
> 1.2-24168e52fc2b
>
> cwd:
> C:\Program Files (x86)\Beremiz\mingw\bin
>
> date:
> Tue Oct 17 13:01:12 2017
>
> e-type:
> <type 'exceptions.TypeError'>
>
> e-value:
> String or Unicode type required
>
> locals:
>     args: (<wx._windows.ScrolledWindow; proxy of <Swig Object of type 'wxScrolledWindow *' at 0x8775208> >, None)
>     kwargs: {}
>
> platform:
> Windows-7-6.1.7601-SP1
>
> python-version:
> 2.7.2
>
> traceback:
>   File "C:\Program Files (x86)\Beremiz\beremiz\IDEFrame.py", line 1191, in OnUndoMenu
>     window.Undo()
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1051, in Undo
>     self.ParentWindow.CloseTabsWithoutModel()
>   File "C:\Program Files (x86)\Beremiz\beremiz\IDEFrame.py", line 1185, in CloseTabsWithoutModel
>     self.RefreshEditor()
>   File "C:\Program Files (x86)\Beremiz\beremiz\IDEFrame.py", line 1421, in RefreshEditor
>     window.RefreshView()
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 186, in RefreshView
>     Viewer.RefreshView(self, variablepanel, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1171, in RefreshView
>     self.loadInstance(instances.popitem(0)[1], instances, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 199, in loadInstance
>     Viewer.loadInstance(self, instance, ids, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1305, in loadInstance
>     element = creation_function(self, instance.id, specific_values)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 133, in coilCreationFunction
>     return LD_Coil(viewer, coil_type, specific_values.name, id)
>   File "C:\Program Files (x86)\Beremiz\beremiz\graphics\LD_Objects.py", line 711, in __init__
>     self.RefreshNameSize()
>   File "C:\Program Files (x86)\Beremiz\beremiz\graphics\LD_Objects.py", line 783, in RefreshNameSize
>     self.NameSize = self.Parent.GetTextExtent(self.Name)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 831, in GetTextExtent
>     return self.Editor.GetTextExtent(text)
>   File "C:\Program Files (x86)\Beremiz\python\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 10144, in GetTextExtent
>     return _core_.Window_GetTextExtent(*args, **kwargs)
> <type 'exceptions.TypeError'>: String or Unicode type required
>
> wx-platform:
> __WXMSW__
>
> wx-version:
> 2.8.12.1
>

> app-title:
> beremiz
>
> app-version:
> 1.2-24168e52fc2b
>
> cwd:
> C:\Program Files (x86)\Beremiz\mingw\bin
>
> date:
> Tue Oct 17 13:01:36 2017
>
> e-type:
> <type 'exceptions.TypeError'>
>
> e-value:
> String or Unicode type required
>
> locals:
>     args: (<wx._windows.ScrolledWindow; proxy of <Swig Object of type 'wxScrolledWindow *' at 0x8a2ae00> >, None)
>     kwargs: {}
>
> platform:
> Windows-7-6.1.7601-SP1
>
> python-version:
> 2.7.2
>
> traceback:
>   File "C:\Program Files (x86)\Beremiz\beremiz\IDEFrame.py", line 1390, in OnPouSelectedChanged
>     window.RefreshView()
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 186, in RefreshView
>     Viewer.RefreshView(self, variablepanel, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1171, in RefreshView
>     self.loadInstance(instances.popitem(0)[1], instances, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 199, in loadInstance
>     Viewer.loadInstance(self, instance, ids, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1305, in loadInstance
>     element = creation_function(self, instance.id, specific_values)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 133, in coilCreationFunction
>     return LD_Coil(viewer, coil_type, specific_values.name, id)
>   File "C:\Program Files (x86)\Beremiz\beremiz\graphics\LD_Objects.py", line 711, in __init__
>     self.RefreshNameSize()
>   File "C:\Program Files (x86)\Beremiz\beremiz\graphics\LD_Objects.py", line 783, in RefreshNameSize
>     self.NameSize = self.Parent.GetTextExtent(self.Name)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 831, in GetTextExtent
>     return self.Editor.GetTextExtent(text)
>   File "C:\Program Files (x86)\Beremiz\python\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 10144, in GetTextExtent
>     return _core_.Window_GetTextExtent(*args, **kwargs)
> <type 'exceptions.TypeError'>: String or Unicode type required
>
> wx-platform:
> __WXMSW__
>
> wx-version:
> 2.8.12.1
>

> app-title:
> beremiz
>
> app-version:
> 1.2-24168e52fc2b
>
> cwd:
> C:\Program Files (x86)\Beremiz\mingw\bin
>
> date:
> Tue Oct 17 13:03:00 2017
>
> e-type:
> <type 'exceptions.AttributeError'>
>
> e-value:
> 'coil' object has no attribute 'getinstanceName'
>
> locals:
>     elements: {u'connectionPointOut': {u'name': u'connectionPointOut', 'elmt_type': {'initial': <function classCreatefunction at 0x07BF4CF0>, 'type': 4, 'name': u'connectionPointOut'}, 'doc': [], 'abstract': False, u'minOccurs': 0, 'maxOccurs': 1, 'type': 8, 'constraints': []}, u'connectionPointIn': {u'name': u'connectionPointIn', 'elmt_type': {'initial': <function classCreatefunction at 0x07BE99B0>, 'type': 4, 'name': u'connectionPointIn'}, 'doc': [], 'abstract': False, u'minOccurs': 0, 'maxOccurs': 1, 'type': 8, 'constraints': []}, u'documentation': {u'name': u'documentation', 'elmt_type': {'initial': <function classCreatefunction at 0x07BF2570>, 'type': 4, 'name': u'formattedText'}, 'doc': [], 'abstract': False, u'minOccurs': 0, 'maxOccurs': 1, 'type': 8, 'constraints': []}, u'addData': {u'name': u'addData', 'elmt_type': {'initial': <function classCreatefunction at 0x07BE9230>, 'type': 4, 'name': u'addData'}, 'doc': [], 'abstract': False, u'minOccurs': 0, 'maxOccurs': 1, 'type': 8, 'constraints': []}, u'variable': {u'name': u'variable', 'elmt_type': {'check': <function <lambda> at 0x078315B0>, 'type': 2, 'basename': 'string', 'initial': <function <lambda> at 0x07831570>, 'generate': <function generateXMLTextMethod at 0x07831530>, 'extract': <function GetAttributeValue at 0x077E22F0>, 'facets': {'whiteSpace': (None, False), 'pattern': (None, False), 'enumeration': (None, False), 'length': (None, False), 'maxLength': (None, False), 'minLength': (None, False)}}, 'doc': [{'appinfo': [], 'documentation': u'The operand is a valid boolean  iec variable e.g. avar[0]\n\n', 'type': 'annotation'}], 'abstract': False, 'minOccurs': 1, 'maxOccurs': 1, 'type': 8, 'constraints': []}, u'position': {u'name': u'position', 'elmt_type': {'initial': <function classCreatefunction at 0x07C08530>, 'type': 4, 'name': u'position'}, 'doc': [], 'abstract': False, 'minOccurs': 1, 'maxOccurs': 1, 'type': 8, 'constraints': []}}
>     name: 'getinstanceName'
>     self: <Element {http://www.plcopen.org/xml/tc6_0201}coil at 0x8e093f0>
>     factory: <xmlclass.xsdschema.XSDClassFactory instance at 0x0783E620>
>     attributes: {u'localId': {'doc': [], u'use': u'required', 'type': 7, 'attr_type': {'check': <function <lambda> at 0x078350F0>, 'type': 2, 'basename': 'unsignedLong', 'initial': <function <lambda> at 0x078350B0>, 'generate': <function generateXMLTextMethod at 0x07835070>, 'extract': <function GetInteger at 0x07835030>, 'facets': {'minExclusive': (None, False), 'whiteSpace': (None, False), 'maxInclusive': (None, False), 'pattern': (None, False), 'enumeration': (None, False), 'minInclusive': (None, False), 'maxExclusive': (None, False), 'fractionDigits': (None, False), 'totalDigits': (None, False)}}, u'name': u'localId'}, u'globalId': {'doc': [], u'use': u'optional', 'type': 7, 'attr_type': {'check': <function <lambda> at 0x07838BB0>, 'type': 2, 'basename': 'ID', 'initial': <function <lambda> at 0x07838B70>, 'generate': <function generateXMLTextMethod at 0x07838B30>, 'extract': <function GetModelName at 0x07838AB0>, 'facets': {'whiteSpace': (None, False), 'pattern': (None, False), 'enumeration': (None, False), 'length': (None, False), 'maxLength': (None, False), 'minLength': (None, False)}}, u'name': u'globalId'}, u'executionOrderId': {'doc': [], u'use': u'optional', 'type': 7, 'attr_type': {'check': <function <lambda> at 0x078350F0>, 'type': 2, 'basename': 'unsignedLong', 'initial': <function <lambda> at 0x078350B0>, 'generate': <function generateXMLTextMethod at 0x07835070>, 'extract': <function GetInteger at 0x07835030>, 'facets': {'minExclusive': (None, False), 'whiteSpace': (None, False), 'maxInclusive': (None, False), 'pattern': (None, False), 'enumeration': (None, False), 'minInclusive': (None, False), 'maxExclusive': (None, False), 'fractionDigits': (None, False), 'totalDigits': (None, False)}}, u'name': u'executionOrderId'}, u'storage': {u'use': u'optional', u'name': u'storage', u'default': u'none', 'doc': [], 'type': 7, 'attr_type': {'generate': <function generateXMLTextMethod at 0x07831530>, 'name': u'storageModifierType', 'check': <function CheckSimpleTypeValue at 0x07C08130>, 'type': 2, 'basename': 'string', 'initial': <function SimpleTypeInitialValue at 0x07C08170>, 'final': [], 'doc': [{'appinfo': [], 'documentation': u'Defines the storage mode (S/R) behaviour of a variable\n\n', 'type': 'annotation'}], 'extract': <function ExtractSimpleTypeValue at 0x07C080F0>, 'facets': {'whiteSpace': (None, False), 'minLength': (None, False), 'maxLength': (None, False), 'enumeration': ([u'none', u'set', u'reset'], False), 'length': (None, False), 'pattern': (None, False)}}}, u'height': {'doc': [], u'use': u'optional', 'type': 7, 'attr_type': {'check': <function <lambda> at 0x07835830>, 'type': 2, 'basename': 'decimal', 'initial': <function <lambda> at 0x078357F0>, 'generate': <function generateXMLTextMethod at 0x078357B0>, 'extract': <function GetFloat at 0x07835730>, 'facets': {'minExclusive': (None, False), 'whiteSpace': (None, False), 'maxInclusive': (None, False), 'pattern': (None, False), 'enumeration': (None, False), 'minInclusive': (None, False), 'maxExclusive': (None, False), 'fractionDigits': (None, False), 'totalDigits': (None, False)}}, u'name': u'height'}, u'width': {'doc': [], u'use': u'optional', 'type': 7, 'attr_type': {'check': <function <lambda> at 0x07835830>, 'type': 2, 'basename': 'decimal', 'initial': <function <lambda> at 0x078357F0>, 'generate': <function generateXMLTextMethod at 0x078357B0>, 'extract': <function GetFloat at 0x07835730>, 'facets': {'minExclusive': (None, False), 'whiteSpace': (None, False), 'maxInclusive': (None, False), 'pattern': (None, False), 'enumeration': (None, False), 'minInclusive': (None, False), 'maxExclusive': (None, False), 'fractionDigits': (None, False), 'totalDigits': (None, False)}}, u'name': u'width'}, u'edge': {u'use': u'optional', u'name': u'edge', u'default': u'none', 'doc': [], 'type': 7, 'attr_type': {'generate': <function generateXMLTextMethod at 0x07831530>, 'name': u'edgeModifierType', 'check': <function CheckSimpleTypeValue at 0x07C08070>, 'type': 2, 'basename': 'string', 'initial': <function SimpleTypeInitialValue at 0x07C080B0>, 'final': [], 'doc': [{'appinfo': [], 'documentation': u'Defines the edge detection behaviour of a variable\n\n', 'type': 'annotation'}], 'extract': <function ExtractSimpleTypeValue at 0x07C08030>, 'facets': {'whiteSpace': (None, False), 'minLength': (None, False), 'maxLength': (None, False), 'enumeration': ([u'none', u'falling', u'rising'], False), 'length': (None, False), 'pattern': (None, False)}}}, u'negated': {u'use': u'optional', u'name': u'negated', u'default': u'false', 'doc': [], 'type': 7, 'attr_type': {'check': <function <lambda> at 0x07835BB0>, 'type': 2, 'basename': 'boolean', 'initial': <function <lambda> at 0x07835B70>, 'generate': <function generateXMLTextMethod at 0x07835B30>, 'extract': <function GetBoolean at 0x077E2470>, 'facets': {'pattern': (None, False), 'whiteSpace': (None, False)}}}}
>     classinfos: {'elements': [{u'name': u'position', 'elmt_type': {'initial': <function classCreatefunction at 0x07C08530>, 'type': 4, 'name': u'position'}, 'doc': [], 'abstract': False, 'minOccurs': 1, 'maxOccurs': 1, 'type': 8, 'constraints': []}, {u'name': u'connectionPointIn', 'elmt_type': {'initial': <function classCreatefunction at 0x07BE99B0>, 'type': 4, 'name': u'connectionPointIn'}, 'doc': [], 'abstract': False, u'minOccurs': 0, 'maxOccurs': 1, 'type': 8, 'constraints': []}, {u'name': u'connectionPointOut', 'elmt_type': {'initial': <function classCreatefunction at 0x07BF4CF0>, 'type': 4, 'name': u'connectionPointOut'}, 'doc': [], 'abstract': False, u'minOccurs': 0, 'maxOccurs': 1, 'type': 8, 'constraints': []}, {u'name': u'variable', 'elmt_type': {'check': <function <lambda> at 0x078315B0>, 'type': 2, 'basename': 'string', 'initial': <function <lambda> at 0x07831570>, 'generate': <function generateXMLTextMethod at 0x07831530>, 'extract': <function GetAttributeValue at 0x077E22F0>, 'facets': {'whiteSpace': (None, False), 'pattern': (None, False), 'enumeration': (None, False), 'length': (None, False), 'maxLength': (None, False), 'minLength': (None, False)}}, 'doc': [{'appinfo': [], 'documentation': u'The operand is a valid boolean  iec variable e.g. avar[0]\n\n', 'type': 'annotation'}], 'abstract': False, 'minOccurs': 1, 'maxOccurs': 1, 'type': 8, 'constraints': []}, {u'name': u'addData', 'elmt_type': {'initial': <function classCreatefunction at 0x07BE9230>, 'type': 4, 'name': u'addData'}, 'doc': [], 'abstract': False, u'minOccurs': 0, 'maxOccurs': 1, 'type': 8, 'constraints': []}, {u'name': u'documentation', 'elmt_type': {'initial': <function classCreatefunction at 0x07BF2570>, 'type': 4, 'name': u'formattedText'}, 'doc': [], 'abstract': False, u'minOccurs': 0, 'maxOccurs': 1, 'type': 8, 'constraints': []}], 'attributes': [{'doc': [], u'use': u'required', 'type': 7, 'attr_type': {'check': <function <lambda> at 0x078350F0>, 'type': 2, 'basename': 'unsignedLong', 'initial': <function <lambda> at 0x078350B0>, 'generate': <function generateXMLTextMethod at 0x07835070>, 'extract': <function GetInteger at 0x07835030>, 'facets': {'minExclusive': (None, False), 'whiteSpace': (None, False), 'maxInclusive': (None, False), 'pattern': (None, False), 'enumeration': (None, False), 'minInclusive': (None, False), 'maxExclusive': (None, False), 'fractionDigits': (None, False), 'totalDigits': (None, False)}}, u'name': u'localId'}, {'doc': [], u'use': u'optional', 'type': 7, 'attr_type': {'check': <function <lambda> at 0x07835830>, 'type': 2, 'basename': 'decimal', 'initial': <function <lambda> at 0x078357F0>, 'generate': <function generateXMLTextMethod at 0x078357B0>, 'extract': <function GetFloat at 0x07835730>, 'facets': {'minExclusive': (None, False), 'whiteSpace': (None, False), 'maxInclusive': (None, False), 'pattern': (None, False), 'enumeration': (None, False), 'minInclusive': (None, False), 'maxExclusive': (None, False), 'fractionDigits': (None, False), 'totalDigits': (None, False)}}, u'name': u'height'}, {'doc': [], u'use': u'optional', 'type': 7, 'attr_type': {'check': <function <lambda> at 0x07835830>, 'type': 2, 'basename': 'decimal', 'initial': <function <lambda> at 0x078357F0>, 'generate': <function generateXMLTextMethod at 0x078357B0>, 'extract': <function GetFloat at 0x07835730>, 'facets': {'minExclusive': (None, False), 'whiteSpace': (None, False), 'maxInclusive': (None, False), 'pattern': (None, False), 'enumeration': (None, False), 'minInclusive': (None, False), 'maxExclusive': (None, False), 'fractionDigits': (None, False), 'totalDigits': (None, False)}}, u'name': u'width'}, {'doc': [], u'use': u'optional', 'type': 7, 'attr_type': {'check': <function <lambda> at 0x078350F0>, 'type': 2, 'basename': 'unsignedLong', 'initial': <function <lambda> at 0x078350B0>, 'generate': <function generateXMLTextMethod at 0x07835070>, 'extract': <function GetInteger at 0x07835030>, 'facets': {'minExclusive': (None, False), 'whiteSpace': (None, False), 'maxInclusive': (None, False), 'pattern': (None, False), 'enumeration': (None, False), 'minInclusive': (None, False), 'maxExclusive': (None, False), 'fractionDigits': (None, False), 'totalDigits': (None, False)}}, u'name': u'executionOrderId'}, {u'use': u'optional', u'name': u'negated', u'default': u'false', 'doc': [], 'type': 7, 'attr_type': {'check': <function <lambda> at 0x07835BB0>, 'type': 2, 'basename': 'boolean', 'initial': <function <lambda> at 0x07835B70>, 'generate': <function generateXMLTextMethod at 0x07835B30>, 'extract': <function GetBoolean at 0x077E2470>, 'facets': {'pattern': (None, False), 'whiteSpace': (None, False)}}}, {u'use': u'optional', u'name': u'edge', u'default': u'none', 'doc': [], 'type': 7, 'attr_type': {'generate': <function generateXMLTextMethod at 0x07831530>, 'name': u'edgeModifierType', 'check': <function CheckSimpleTypeValue at 0x07C08070>, 'type': 2, 'basename': 'string', 'initial': <function SimpleTypeInitialValue at 0x07C080B0>, 'final': [], 'doc': [{'appinfo': [], 'documentation': u'Defines the edge detection behaviour of a variable\n\n', 'type': 'annotation'}], 'extract': <function ExtractSimpleTypeValue at 0x07C08030>, 'facets': {'whiteSpace': (None, False), 'minLength': (None, False), 'maxLength': (None, False), 'enumeration': ([u'none', u'falling', u'rising'], False), 'length': (None, False), 'pattern': (None, False)}}}, {u'use': u'optional', u'name': u'storage', u'default': u'none', 'doc': [], 'type': 7, 'attr_type': {'generate': <function generateXMLTextMethod at 0x07831530>, 'name': u'storageModifierType', 'check': <function CheckSimpleTypeValue at 0x07C08130>, 'type': 2, 'basename': 'string', 'initial': <function SimpleTypeInitialValue at 0x07C08170>, 'final': [], 'doc': [{'appinfo': [], 'documentation': u'Defines the storage mode (S/R) behaviour of a variable\n\n', 'type': 'annotation'}], 'extract': <function ExtractSimpleTypeValue at 0x07C080F0>, 'facets': {'whiteSpace': (None, False), 'minLength': (None, False), 'maxLength': (None, False), 'enumeration': ([u'none', u'set', u'reset'], False), 'length': (None, False), 'pattern': (None, False)}}}, {'doc': [], u'use': u'optional', 'type': 7, 'attr_type': {'check': <function <lambda> at 0x07838BB0>, 'type': 2, 'basename': 'ID', 'initial': <function <lambda> at 0x07838B70>, 'generate': <function generateXMLTextMethod at 0x07838B30>, 'extract': <function GetModelName at 0x07838AB0>, 'facets': {'whiteSpace': (None, False), 'pattern': (None, False), 'enumeration': (None, False), 'length': (None, False), 'maxLength': (None, False), 'minLength': (None, False)}}, u'name': u'globalId'}], 'mixed': False, 'doc': [{'appinfo': [], 'documentation': u'Describes a graphical object representing a boolean variable which can be used as l-value and r-value at the same time\n\n', 'type': 'annotation'}], 'abstract': False, 'type': 3, 'order': True}
>
> platform:
> Windows-7-6.1.7601-SP1
>
> python-version:
> 2.7.2
>
> self:
>
>
> traceback:
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 276, in OnDropText
>     self.ParentWindow.RefreshBlockModel(block)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 3036, in RefreshBlockModel
>     self.Controler.SetEditedElementBlockInfos(self.TagName, blockid, infos)
>   File "C:\Program Files (x86)\Beremiz\beremiz\PLCControler.py", line 2515, in SetEditedElementBlockInfos
>     old_name = block.getinstanceName()
>   File "C:\Program Files (x86)\Beremiz\beremiz\xmlclass\xmlclass.py", line 1305, in getattrMethod
>     return DefaultElementClass.__getattribute__(self, name)
> <type 'exceptions.AttributeError'>: 'coil' object has no attribute 'getinstanceName'
>
> wx-platform:
> __WXMSW__
>
> wx-version:
> 2.8.12.1
>

> app-title:
> beremiz
>
> app-version:
> 1.2-24168e52fc2b
>
> cwd:
> C:\Program Files (x86)\Beremiz\mingw\bin
>
> date:
> Tue Oct 17 13:08:06 2017
>
> e-type:
> <type 'exceptions.TypeError'>
>
> e-value:
> String or Unicode type required
>
> locals:
>     args: (<wx._windows.ScrolledWindow; proxy of <Swig Object of type 'wxScrolledWindow *' at 0x896e8e8> >, None)
>     kwargs: {}
>
> platform:
> Windows-7-6.1.7601-SP1
>
> python-version:
> 2.7.2
>
> traceback:
>   File "C:\Program Files (x86)\Beremiz\beremiz\IDEFrame.py", line 1390, in OnPouSelectedChanged
>     window.RefreshView()
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 186, in RefreshView
>     Viewer.RefreshView(self, variablepanel, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1171, in RefreshView
>     self.loadInstance(instances.popitem(0)[1], instances, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 199, in loadInstance
>     Viewer.loadInstance(self, instance, ids, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1384, in loadInstance
>     if not self.CreateWires(connector, instance.id, input_connector.links, remaining_instances, selection):
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1400, in CreateWires
>     self.loadInstance(new_instance, remaining_instances, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 199, in loadInstance
>     Viewer.loadInstance(self, instance, ids, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1305, in loadInstance
>     element = creation_function(self, instance.id, specific_values)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 133, in coilCreationFunction
>     return LD_Coil(viewer, coil_type, specific_values.name, id)
>   File "C:\Program Files (x86)\Beremiz\beremiz\graphics\LD_Objects.py", line 711, in __init__
>     self.RefreshNameSize()
>   File "C:\Program Files (x86)\Beremiz\beremiz\graphics\LD_Objects.py", line 783, in RefreshNameSize
>     self.NameSize = self.Parent.GetTextExtent(self.Name)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 831, in GetTextExtent
>     return self.Editor.GetTextExtent(text)
>   File "C:\Program Files (x86)\Beremiz\python\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 10144, in GetTextExtent
>     return _core_.Window_GetTextExtent(*args, **kwargs)
> <type 'exceptions.TypeError'>: String or Unicode type required
>
> wx-platform:
> __WXMSW__
>
> wx-version:
> 2.8.12.1
>

> app-title:
> beremiz
>
> app-version:
> 1.2-24168e52fc2b
>
> cwd:
> C:\Program Files (x86)\Beremiz\mingw\bin
>
> date:
> Tue Oct 17 13:12:19 2017
>
> e-type:
> <type 'exceptions.TypeError'>
>
> e-value:
> String or Unicode type required
>
> locals:
>     args: (<wx._windows.ScrolledWindow; proxy of <Swig Object of type 'wxScrolledWindow *' at 0x8800ea0> >, None)
>     kwargs: {}
>
> platform:
> Windows-7-6.1.7601-SP1
>
> python-version:
> 2.7.2
>
> traceback:
>   File "C:\Program Files (x86)\Beremiz\beremiz\IDEFrame.py", line 1390, in OnPouSelectedChanged
>     window.RefreshView()
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 186, in RefreshView
>     Viewer.RefreshView(self, variablepanel, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1171, in RefreshView
>     self.loadInstance(instances.popitem(0)[1], instances, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 199, in loadInstance
>     Viewer.loadInstance(self, instance, ids, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1384, in loadInstance
>     if not self.CreateWires(connector, instance.id, input_connector.links, remaining_instances, selection):
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1400, in CreateWires
>     self.loadInstance(new_instance, remaining_instances, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 199, in loadInstance
>     Viewer.loadInstance(self, instance, ids, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1305, in loadInstance
>     element = creation_function(self, instance.id, specific_values)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 133, in coilCreationFunction
>     return LD_Coil(viewer, coil_type, specific_values.name, id)
>   File "C:\Program Files (x86)\Beremiz\beremiz\graphics\LD_Objects.py", line 711, in __init__
>     self.RefreshNameSize()
>   File "C:\Program Files (x86)\Beremiz\beremiz\graphics\LD_Objects.py", line 783, in RefreshNameSize
>     self.NameSize = self.Parent.GetTextExtent(self.Name)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 831, in GetTextExtent
>     return self.Editor.GetTextExtent(text)
>   File "C:\Program Files (x86)\Beremiz\python\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 10144, in GetTextExtent
>     return _core_.Window_GetTextExtent(*args, **kwargs)
> <type 'exceptions.TypeError'>: String or Unicode type required
>
> wx-platform:
> __WXMSW__
>
> wx-version:
> 2.8.12.1
>

> app-title:
> beremiz
>
> app-version:
> 1.2-24168e52fc2b
>
> cwd:
> C:\Program Files (x86)\Beremiz\mingw\bin
>
> date:
> Tue Oct 17 13:13:19 2017
>
> e-type:
> <type 'exceptions.TypeError'>
>
> e-value:
> String or Unicode type required
>
> locals:
>     args: (<wx._windows.ScrolledWindow; proxy of <Swig Object of type 'wxScrolledWindow *' at 0x890d050> >, None)
>     kwargs: {}
>
> platform:
> Windows-7-6.1.7601-SP1
>
> python-version:
> 2.7.2
>
> traceback:
>   File "C:\Program Files (x86)\Beremiz\beremiz\IDEFrame.py", line 1390, in OnPouSelectedChanged
>     window.RefreshView()
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 186, in RefreshView
>     Viewer.RefreshView(self, variablepanel, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1171, in RefreshView
>     self.loadInstance(instances.popitem(0)[1], instances, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 199, in loadInstance
>     Viewer.loadInstance(self, instance, ids, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1384, in loadInstance
>     if not self.CreateWires(connector, instance.id, input_connector.links, remaining_instances, selection):
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1400, in CreateWires
>     self.loadInstance(new_instance, remaining_instances, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 199, in loadInstance
>     Viewer.loadInstance(self, instance, ids, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1305, in loadInstance
>     element = creation_function(self, instance.id, specific_values)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 133, in coilCreationFunction
>     return LD_Coil(viewer, coil_type, specific_values.name, id)
>   File "C:\Program Files (x86)\Beremiz\beremiz\graphics\LD_Objects.py", line 711, in __init__
>     self.RefreshNameSize()
>   File "C:\Program Files (x86)\Beremiz\beremiz\graphics\LD_Objects.py", line 783, in RefreshNameSize
>     self.NameSize = self.Parent.GetTextExtent(self.Name)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 831, in GetTextExtent
>     return self.Editor.GetTextExtent(text)
>   File "C:\Program Files (x86)\Beremiz\python\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 10144, in GetTextExtent
>     return _core_.Window_GetTextExtent(*args, **kwargs)
> <type 'exceptions.TypeError'>: String or Unicode type required
>
> wx-platform:
> __WXMSW__
>
> wx-version:
> 2.8.12.1
>

> app-title:
> beremiz
>
> app-version:
> 1.2-24168e52fc2b
>
> cwd:
> C:\Program Files (x86)\Beremiz\mingw\bin
>
> date:
> Tue Oct 17 13:22:18 2017
>
> e-type:
> <type 'exceptions.TypeError'>
>
> e-value:
> String or Unicode type required
>
> locals:
>     args: (<wx._windows.ScrolledWindow; proxy of <Swig Object of type 'wxScrolledWindow *' at 0x87c33b0> >, None)
>     kwargs: {}
>
> platform:
> Windows-7-6.1.7601-SP1
>
> python-version:
> 2.7.2
>
> traceback:
>   File "C:\Program Files (x86)\Beremiz\beremiz\IDEFrame.py", line 1390, in OnPouSelectedChanged
>     window.RefreshView()
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 186, in RefreshView
>     Viewer.RefreshView(self, variablepanel, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1171, in RefreshView
>     self.loadInstance(instances.popitem(0)[1], instances, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 199, in loadInstance
>     Viewer.loadInstance(self, instance, ids, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1384, in loadInstance
>     if not self.CreateWires(connector, instance.id, input_connector.links, remaining_instances, selection):
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1400, in CreateWires
>     self.loadInstance(new_instance, remaining_instances, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\LDViewer.py", line 199, in loadInstance
>     Viewer.loadInstance(self, instance, ids, selection)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 1305, in loadInstance
>     element = creation_function(self, instance.id, specific_values)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 133, in coilCreationFunction
>     return LD_Coil(viewer, coil_type, specific_values.name, id)
>   File "C:\Program Files (x86)\Beremiz\beremiz\graphics\LD_Objects.py", line 711, in __init__
>     self.RefreshNameSize()
>   File "C:\Program Files (x86)\Beremiz\beremiz\graphics\LD_Objects.py", line 783, in RefreshNameSize
>     self.NameSize = self.Parent.GetTextExtent(self.Name)
>   File "C:\Program Files (x86)\Beremiz\beremiz\editors\Viewer.py", line 831, in GetTextExtent
>     return self.Editor.GetTextExtent(text)
>   File "C:\Program Files (x86)\Beremiz\python\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 10144, in GetTextExtent
>     return _core_.Window_GetTextExtent(*args, **kwargs)
> <type 'exceptions.TypeError'>: String or Unicode type required
>
> wx-platform:
> __WXMSW__
>
> wx-version:
> 2.8.12.1
>

> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

> _______________________________________________
> Beremiz-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/beremiz-devel


--
Best regards,
Andrey Skvortsov



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment