# Custom "timer" Binding causing an error that breaks module import on views

**URL:** <https://forum.inductiveautomation.com/t/custom-timer-binding-causing-an-error-that-breaks-module-import-on-views/111635>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 21, 2025, 10:24pm UTC](https://forum.inductiveautomation.com/t/custom-timer-binding-causing-an-error-that-breaks-module-import-on-views/111635 "2025-10-21T22:24:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Clancy\_Cavanaugh](https://avatars.discourse-cdn.com/v4/letter/c/45deac/32.png) [@Clancy\_Cavanaugh](https://forum.inductiveautomation.com/u/Clancy_Cavanaugh)\
**Post date:** [October 22, 2025, 4:39pm UTC](https://forum.inductiveautomation.com/t/custom-timer-binding-causing-an-error-that-breaks-module-import-on-views/111635/2 "2025-10-22T16:39:16Z")

</div>

Looks like your error matches the one from this thread, but I see that you have already replied there.

> [@Exception : org.python.core.PyException: TypeError: unhashable type: 'dict'](https://forum.inductiveautomation.com/t/exception-org-python-core-pyexception-typeerror-unhashable-type-dict/58291/4):
>
> It is likely this: Note that IA's attempt to fix this based on my recommended solution crashed and burned: AB-BA deadlock. My followup recommendation involves jython's import lock, which would almost certain fix it, but would almost certainly come with serious performance regressions for those whose programming practices include abuse of the import statement. frowning I don't know where this stands within IA.

I’m assuming Phil’s fix didn’t work for you.

I’m a bit out of my area of expertise here, but it looks like this is caused by a race condition in the initialization of project library scripts not by anything in your perspective view.

I’m not sure if it will help, but I would double check that you aren’t importing project library scripts within other project library scripts. If I am understanding the issue correctly though, this race condition will still occur from gateway events that run after the script module reinitializes without import statements.

---

_[View the full topic](https://forum.inductiveautomation.com/t/custom-timer-binding-causing-an-error-that-breaks-module-import-on-views/111635)._
