Error Loading project on designer

We have a project that won’t load in the designer. We keep getting this error when loading.


The text is.TypeError: ‘com.inductiveautomation.ignition.common.script.ScriptModule’ object does not support item assignment

at org.python.core.Py.TypeError(Py.java:235)
at org.python.core.PyObject.__setitem__(PyObject.java:667)
at org.python.core.PyObject.__setitem__(PyObject.java:686)
at com.inductiveautomation.ignition.common.script.ScriptManager.addScriptModule(ScriptManager.java:217)
at com.inductiveautomation.ignition.common.script.ModuleLibrary.installScriptsUnderPackage(ModuleLibrary.java:89)
at com.inductiveautomation.ignition.common.script.ModuleLibrary.install(ModuleLibrary.java:62)
at com.inductiveautomation.ignition.common.script.ModuleLibrary.install(ModuleLibrary.java:54)
at com.inductiveautomation.ignition.designer.DesignerContextImpl.<init>(DesignerContextImpl.java:190)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadProject(IgnitionDesigner.java:830)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadProject(IgnitionDesigner.java:800)
at com.inductiveautomation.ignition.designer.IgnitionDesigner$Handler$35.openProject(IgnitionDesigner.java:3086)
at com.inductiveautomation.ignition.designer.ProjectDialog$3.run(ProjectDialog.java:182)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue.access$500(Unknown Source)
at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Ignition v7.9.12 (b2019070213)
Java: Azul Systems, Inc. 9.0.7.4

You’ll need to get in contact with support to fix this.
In a rare bug in 7.9 and earlier versions, our project resource system can get “confused” and mark a Python script file as also being a Python script “package”, which then causes this error when we try to ask the bare file for it’s child elements. The only fix is to manually manipulate or delete the offending resource, which, since you can’t open the project in the designer, requires going into the internal database.