Would love to help but can you update you post with proper code syntax/formatting?
Can you also include the full traceback of the exception you are seeing?