I have run into two issues with the plugin. First I randomly get the error FileNotFoundError when using the testing UI on the host node. Checking out the logs I see something like this:
pre-print-service_1 | [2020-01-19 16:59:58,975] INFO in tweak-service: Running Tweak with command: 'python3 /src/Tweaker-3/Tweaker.py -i /src/uploads/13012020_34961_Body.stl -x -vol -t binarystl -o /src/uploads/tweaked_13012020_34961_Body.stl'
pre-print-service_1 | Traceback (most recent call last):
pre-print-service_1 | File "/src/Tweaker-3/FileHandler.py", line 26, in load_mesh
pre-print-service_1 | objs = self.load_ascii_stl(f)
pre-print-service_1 | File "/src/Tweaker-3/FileHandler.py", line 72, in load_ascii_stl
pre-print-service_1 | for line in f:
pre-print-service_1 | File "/usr/local/lib/python3.6/codecs.py", line 321, in decode
pre-print-service_1 | (result, consumed) = self._buffer_decode(data, self.errors, final)
pre-print-service_1 | UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8e in position 80: invalid start byte
Second, when using the Octoprint UI and the auto-rotate only option, it doesn't seem to do anything when dragging in an STL file. The response in the logs says:
Why is sending the file back being skipped? I would expect to see a new file added to the Octoprint queue with the tweaked version.