The function called by C_Timer.After can't have parameter so you can't pass self to it. You would have to do it by another mechanism.
If it's not that then the code you posted does not include the part causing the error ie. the parts where local itemValue is initialised and subsequently used at line 1951.
|