# \[BUG\] New script package created are not immediatly available in designer

**URL:** <https://forum.inductiveautomation.com/t/bug-new-script-package-created-are-not-immediatly-available-in-designer/79203>\
**Category:** Ignition\
**Tags:** ignition81, perspective, scripting\
**Created:** [September 15, 2023, 8:14am UTC](https://forum.inductiveautomation.com/t/bug-new-script-package-created-are-not-immediatly-available-in-designer/79203 "2023-09-15T08:14:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [September 15, 2023, 8:14am UTC](https://forum.inductiveautomation.com/t/bug-new-script-package-created-are-not-immediatly-available-in-designer/79203/1 "2023-09-15T08:14:13Z")

</div>

**Ignition 8.1.32 and before**  
Ticket #92629

@paul-griffith  
New **script package** created are not immediatly available in designer.  
For example when created and then used in a script transform or in the designer Script console.

```auto
Traceback (most recent call last):
  File "<input>", line 1, in <module>
ImportError: Error loading module test: SyntaxError: mismatched input '\n' expecting COLON (<module:perspective.test>, line 1)

```

Workaround, the package is "available" after restarting the designer

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [September 15, 2023, 9:33am UTC](https://forum.inductiveautomation.com/t/bug-new-script-package-created-are-not-immediatly-available-in-designer/79203/2 "2023-09-15T09:33:27Z")

</div>

I just pulled 8.1.32 to try and it works fine for me.  
Didn't have the issue either with previous versions (8.1.28 and 8.1.31)

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [September 15, 2023, 9:54am UTC](https://forum.inductiveautomation.com/t/bug-new-script-package-created-are-not-immediatly-available-in-designer/79203/3 "2023-09-15T09:54:54Z")

</div>

it seems not to be always repeatable...

---

<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:** [September 15, 2023, 3:48pm UTC](https://forum.inductiveautomation.com/t/bug-new-script-package-created-are-not-immediatly-available-in-designer/79203/4 "2023-09-15T15:48:04Z")

</div>

Hmm. Perspective recently got some changes to how it loads yet-unsaved changes from the designer, but that was fixing a bug where things wouldn't load. If you can replicate reliably, it'd be helpful.
