Hi !
Error occurred when I'm trying to use Live debug remote to see my blinky led program running on a Arduino Uno Rev3.
app-title:
beremiz
app-version:
2.01
Release: 2023-11-14
cwd:
C:\Users\Paolo\OpenPLC_Editor
date:
Fri Nov 24 10:51:37 2023
e-type:
<type 'exceptions.AttributeError'>
e-value:
'NoneType' object has no attribute 'GetRedrawRect'
locals:
movex: 0
movey: 0
self: <graphics.LD_Objects.LD_Contact object at 0x12498870>
rect: wx.Rect(100, 103, 43, 57)
platform:
Windows-10-10.0.17763
python-version:
2.7.15
self:
Forced: False
LastValue: None
Highlights: {}
Selected: False
ToolTipTimer: <wx._misc.Timer; proxy of <Swig Object of type 'wxPyTimer *' at 0x11f3b408> >
Highlighted: False
oldPos: None
Input: None
Type: 1
Handle: (None, None)
Parent: <editors.LDViewer.LD_Viewer; proxy of <Swig Object of type 'wxSplitterWindow *' at 0x1182f078> >
PreviousSpreading: False
CurrentDrag: None
PreviousValue: True
Name: 'led'
LastForced: False
Value: True
Inhibited: True
Output: None
TypeSize: (8, 16)
StartPos: None
DataType: 'BOOL'
Pos: wx.Point(110, 130)
ToolTip: None
Visible: True
ToolTipPos: None
BoundingBox: wx.Rect(109, 112, 25, 39)
Dragging: False
Id: 3
NameSize: (24, 16)
Size: wx.Size(21, 20)
traceback:
File "C:\Users\Paolo\OpenPLC_Editor\editor\ProjectController.py", line 1911, in DispatchDebugValuesProc
"__tick__", "NewDataAvailable", debug_ticks)
File "C:\Users\Paolo\OpenPLC_Editor\editor\ProjectController.py", line 1881, in CallWeakcallables
function(*cargs)
File "C:\Users\Paolo\OpenPLC_Editor\editor\editors\Viewer.py", line 1159, in NewDataAvailable
refresh_rect.Union(element.GetRedrawRect())
File "C:\Users\Paolo\OpenPLC_Editor\editor\graphics\LD_Objects.py", line 444, in GetRedrawRect
rect = rect.Union(self.Input.GetRedrawRect(movex, movey))
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'GetRedrawRect'
wx-platform:
__WXMSW__
wx-version:
3.0.2.0