A try except does not confirm anything other than that an exception occurs there. something that is already evident from the traceback. The question is why the exception occurs. Since non printable ascii chars and null chars have already been removed, you need to figure out why the exception is occurring and if you do figure that out, come up with a patch that prevents it happening in general.
|