seeing errors like {"error": "wamp.error.runtime_error", "args": ["object of type 'NoneType' has no len()"], "kwargs": {}} and logs like "builtins.TypeError: object of type 'NoneType' has no len()".
Not huge deal but nice to get a more readable and clean logs instead of runtime error.
seeing errors like {"error": "wamp.error.runtime_error", "args": ["object of type 'NoneType' has no len()"], "kwargs": {}} and logs like "builtins.TypeError: object of type 'NoneType' has no len()".
Not huge deal but nice to get a more readable and clean logs instead of runtime error.
This is the lowest priority. :-)
We do have check from the following function
filmstrip_location (pixel = None, distanceMapPath = None, direction = None): results = dict() results.setdefault("success", False)
status.setdefault("message", "missing pixel, distanceMapPath, or direction argument(s)")
NO check for len() function from prepare_files def prepare_files(self, pixel, distance_map_path, direction): if len(pixel) != 2: