# Error in valueChanged() event. Version 8.0.5

**URL:** <https://forum.inductiveautomation.com/t/error-in-valuechanged-event-version-8-0-5/31455>\
**Category:** Ignition\
**Created:** [January 21, 2020, 10:25am UTC](https://forum.inductiveautomation.com/t/error-in-valuechanged-event-version-8-0-5/31455 "2020-01-21T10:25:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![harshad.gawande](https://avatars.discourse-cdn.com/v4/letter/h/bc79bd/32.png) [@harshad.gawande](https://forum.inductiveautomation.com/u/harshad.gawande)\
**Post date:** [January 21, 2020, 10:25am UTC](https://forum.inductiveautomation.com/t/error-in-valuechanged-event-version-8-0-5/31455/1 "2020-01-21T10:25:45Z")

</div>

I have created one function in shared folder and tried to call that function on valueChanged() event of one of the tag but getting error as follows :  
AttributeError: ‘com.inductiveautomation.ignition.common.script.Scr’ object has no attribute

can anyone help me about how to call the function from share folder on valuechanged event in latest version of Ignition 8.0.5

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 21, 2020, 1:37pm UTC](https://forum.inductiveautomation.com/t/error-in-valuechanged-event-version-8-0-5/31455/2 "2020-01-21T13:37:25Z")

</div>

First, is the shared folder and script in the Global Scripting Project? (This is new for v8, as [project inheritance changed](https://docs.inductiveautomation.com/display/DOC80/Ignition+8+Upgrade+Guide#Ignition8UpgradeGuide-ProjectInheritance&%E2%80%9Cglobal%E2%80%9Dupgradelogic) the way shared vs. project resources work.)

Are you sure there are no syntax errors in that script module? There would be a log entry in the gateway if there are compile errors.
