diff --git a/BUGs b/BUGs index 172c117..8f12143 100644 --- a/BUGs +++ b/BUGs @@ -1,7 +1,6 @@ ### Next: 146 BUG-143: if I skip next fast enough in files_ip, it can get the warning about changes to entry list... (would have though I disabled next page until loaded) -BUG-142: after transforming, the face data is still in the old spots, really should delete it / make it recalc -BUG-141: can currently try to flip a video (in a highlighted group) +BUG-142: after transforming, the face data is still in the old spots, really should delete it - any change invalidates the face match BUG-140: When db is restarted underneath PA, it crashes job mgr... It should just accept timeouts, and keep trying to reconnect every 2? mins BUG-125: when an image is highlighted, then post the contextmenu on a different image - the highlight does not move to the new image and the selected menu function processes the original or the new depending on the way the code works. diff --git a/pa_job_manager.py b/pa_job_manager.py index 235c33e..2075f83 100644 --- a/pa_job_manager.py +++ b/pa_job_manager.py @@ -1897,6 +1897,11 @@ def JobTransformImage(job): amt=[jex.value for jex in job.extra if jex.name == "amt"][0] e=session.query(Entry).join(File).filter(Entry.id==id).first() PAprint( f"JobTransformImage: job={job.id}, id={id}, amt={amt}" ) + # cant transfer non-image, but may get here if multi-select includes non-Image + if e.type.name != 'Image': + removeEntryAmendment( job, id ) + FinishJob(job, "Cannot rotate file as it is not an Image","Failed") + return if amt == "fliph": AddLogForJob(job, f"INFO: Flipping {e.FullPathOnFS()} horizontally" )