                      image = self._patch_image(item)
                  except Exception as err:  # pylint: disable=broad-except
                      # Log error and output original frame
                      logger.error("Failed to convert image: '%s'. Reason: %s",
                                   item["filename"], str(err))
                      image = item["image"]
  
                      loglevel = logger.trace if log_once else logger.warning
                      loglevel("Convert error traceback:", exc_info=True)
                      log_once = True
                      # UNCOMMENT THIS CODE BLOCK TO PRINT TRACEBACK ERRORS
 
</s> remove                     loglevel = logger.trace if log_once else logger.warning
 </s> add                     loglevel = logger.trace if log_once else logger.warning  # type: ignore </s> remove                 logger.trace("Patch queue got: '%s'", item["filename"])
 </s> add                 logger.trace("Patch queue got: '%s'", item.inbound.filename)  # type: ignore </s> remove                 logger.trace("Out queue put: %s", item["filename"])
                out_queue.put((item["filename"], image))
 </s> add                 logger.trace("Out queue put: %s", item.inbound.filename)  # type: ignore
                out_queue.put((item.inbound.filename, image)) </s> remove             if isinstance(items, dict):
                items = [items]
 </s> add             items = inbound if isinstance(inbound, list) else [inbound] </s> remove                              getattr(cv2, "COLOR_{}".format(conversion))).astype("float32") / 255.0
 </s> add                              getattr(cv2, f"COLOR_{conversion}")).astype("float32") / 255.0
                                 item.inbound.filename, str(err))
                    image = item.inbound.image
                      image = self._patch_image(item)
                  except Exception as err:  # pylint: disable=broad-except
                      # Log error and output original frame
                      logger.error("Failed to convert image: '%s'. Reason: %s",
                                 item.inbound.filename, str(err))
                    image = item.inbound.image
                                 item.inbound.filename, str(err))
                    image = item.inbound.image
  
                      loglevel = logger.trace if log_once else logger.warning
                      loglevel("Convert error traceback:", exc_info=True)
                      log_once = True
                      # UNCOMMENT THIS CODE BLOCK TO PRINT TRACEBACK ERRORS
keep keep keep keep replace replace keep keep keep keep keep
 Bugfix: convert - Gif Writer
  - Fix non-launch error on Gif Writer
  - convert plugins - linting
  - convert/fs_media/preview/queue_manager - typing
  - Change convert items from dict to Dataclass 
lib/convert.py