Can't Submit Leave Policy Assignment-Local Variable 'Leave allocation' referenced before assignment

Hi Friends,
Can you Help me to solve this. This error occured when i tried to submit leave policy assignment.
errors: 1. UnboundLocalError:Local Variable ‘Leave_allocation’ referenced before
assignment.
2.Support Email Address Not Specified.