Hi OpenPLC Community and Support Team,
I am facing a critical, recurring issue with the OpenPLC Editor that is completely preventing me from finishing my work. I have a major project due tomorrow, and the editor is completely unusable. I urgently need an agent or developer to help me resolve this.
The Problem: For the past 3 weeks, the editor consistently crashes with an unhandled exception whenever I perform basic editing actions, specifically when using Ctrl + Z (Undo) or manipulating blocks/wires on the ladder diagram.
Even after creating entirely new projects from scratch with completely fresh variables and blocks, the moment I use the Undo function or copy/paste a local element, the application freezes, power rails disappear, and it throws an IndexError.
What I Have Tried So Far:
Completely uninstalled and reinstalled the OpenPLC Editor twice.
Started multiple entirely new projects from scratch to clear any file corruption.
Cleared all background zombie Python/OpenPLC processes using Task Manager.
Despite a clean environment, the bug persists across different project files.
Latest Error Traceback Details:
Exception: <class 'IndexError'> : IndexError('list index out of range')
Trigger Function: OnUndoMenu / Undo / CreateWires
Log File Reference: bug_report_2026_06_09_21-57-10.txt
Main Error Lines from Traceback:
file: .\editor\IDEFrame.py, line 1243, function: OnUndoMenu
file: .\editor\editors\Viewer.py, line 1099, function: Undo
file: .\editor\editors\LDViewer.py, line 1190, function: RefreshView
file: .\editor\editors\Viewer.py, line 1440, function: CreateWires
Because this is a time-sensitive submission for tomorrow, I need an ASAP solution. If there is a patch, a specific stable older version I should roll back to, or if a support agent can contact me directly to troubleshoot this, I would be incredibly grateful.
Thank you for your time and urgent assistance.