Error serializing parameters from propertyChange script

I am facing same error as below :

How to fix this !

Note: the memory tag already updated with the list index value but the error appears.

You need to filter property change events based on the property name, e.g.

# It is common to use propertyName to look for specific properties to change. This is a great way to restrict how often your scripts execute
if event.propertyName == 'text':
  print 'The Text property changed'

otherwise that script is firing for every property change, and you're writing (or attempting to write) unexpected values to the tag.

5 Likes

Thanks