# Error Loading project on designer

**URL:** <https://forum.inductiveautomation.com/t/error-loading-project-on-designer/47000>\
**Category:** Ignition\
**Created:** [May 21, 2021, 6:46pm UTC](https://forum.inductiveautomation.com/t/error-loading-project-on-designer/47000 "2021-05-21T18:46:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![WChester](https://avatars.discourse-cdn.com/v4/letter/w/df788c/32.png) [@WChester](https://forum.inductiveautomation.com/u/WChester)\
**Post date:** [May 21, 2021, 6:46pm UTC](https://forum.inductiveautomation.com/t/error-loading-project-on-designer/47000/1 "2021-05-21T18:46:28Z")

</div>

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

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/5/1521155249edd5916d014663decd6964395db995.png)  
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

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 21, 2021, 6:55pm UTC](https://forum.inductiveautomation.com/t/error-loading-project-on-designer/47000/2 "2021-05-21T18:55:53Z")

</div>

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.
