Solution exception:'ShadowCalculation' object has no attribute 'setCalculationFrequency'

Check this discussion here