OctoPrint-PrintJobHistory icon indicating copy to clipboard operation
OctoPrint-PrintJobHistory copied to clipboard

No thumbnail in history list if spaces/accents in filename

Open PyBonnetainNesterenko opened this issue 1 year ago • 2 comments

(still using OctoPrint 1.8)

Hello, The plugin works great, but the thumbnails are not displayed if the printed filename contains (at least) spaces and accents. Which is annoying.

Fist with accents : History-1

A proper display and print : History-2

Renamed the previous file to add some spaces (and printed/canceled it, it's only to show the problem) : History-3

PyBonnetainNesterenko avatar Jun 10 '23 07:06 PyBonnetainNesterenko

https://github.com/OllisGit/OctoPrint-PrintJobHistory/pull/226

Check the fix in this PR, should take care of this. The author of this repo doesn't seem to pay attention anymore but you can update it manually per the steps I listed there.

dojohnso avatar Oct 19 '23 20:10 dojohnso

As far as my limited tests show, this suggestion solves the problem. Thanks !

PyBonnetainNesterenko avatar Oct 22 '23 12:10 PyBonnetainNesterenko