JSON Module Error, Caused by: org.python.core.PyException: LookupError: unknown encoding 'hex'

Please see Wiki - how to post code on this forum. Use this when posting code or error messages. Thanks.