After update to V1.9 pictures of saved history are missing

When updating to Octoprint 1.9 the captured pictures of the prints (Plugin: PrintJobHistory) aren't shown any more. Did any of you have the same issue or a solution?

I've open an issue at After update to Octoprint V1.9.0 all pictures are not shown · Issue #218 · OllisGit/OctoPrint-PrintJobHistory · GitHub.
Picture attached there.

Yes. Flask has deprecated the cache_timeout parameter in send_file method, which still seems to be used in the current PrintJobHistoryAPI. There are already some posts at Github. A preliminary solution can be found here: Thumbnail images don't work in OctoPrint 1.9 release candidates · Issue #214 · OllisGit/OctoPrint-PrintJobHistory · GitHub

1 Like

A feed-back for your kind hint: Thanks a lot for the hint, this solve my problem. I'll jut had the time to make the change.
For other, be aware the version of python changed to 3.9 so the directory too.
So you find the file here now:
/home/pi/oprint/lib/python3.9/site-packages/octoprint_PrintJobHistory/api/PrintJobHistoryAPI.py