OctoPrint/OctoPrint

[1.10.0rc3] "Mass production" achievement ignores uploads

Closed this issue · 4 comments

The problem

When you do a test print / tweak dimensions / repeat cycle and re-use the file name, that shouldn't count as mass production.

Thus

  1. upload file named X
  2. print X
  3. upload different file named X
  4. print the new X
  5. repeat eight more times

shouldn't yield an achievement. Or, well, maybe it should give you a different achievement, like "ecologist" because you're recycling (file names, that is …), but not the "mass production" one.

Did the issue persist even in safe mode?

Yes, it did persist

If you could not test in safe mode, please state why ("currently printing" is NOT an excuse!)

No response

Version of OctoPrint

1.10.0rc3

Operating system running OctoPrint

Debian

Printer model & used firmware incl. version

No response

Browser and version of browser, operating system running browser

No response

Checklist of files to include below

  • Systeminfo Bundle (always include!)
  • Contents of the JavaScript browser console (always include in cases of issues with the user interface)
  • Screenshots and/or videos showing the problem (always include in case of issues with the user interface)
  • GCODE file with which to reproduce (always include in case of issues with GCODE analysis or printing behaviour)

Additional information & file uploads

yes I know, the version number in the bundle is still wrong.

octoprint-systeminfo-20240328221240.zip

Probably easy to adjust to use file hash instead of name here for calculation?

Nah, the file hash isn't always available, and generating it on the fly could take too long.

Taking the modification time into account should work (though in most cases not for SD card files, but there's nothing I can do here)

I've now added the timestamp of the last modification to the check. Ready for 1.10.0rc4

Fixed in 1.10.0rc4.