mdziekon / OctoPrint-SpoolManager

Plugin for managing Spools
21 stars 3 forks source link

BUG: When Scanning QR Code of different spools, only spool 1 is selected for printing #52

Closed ScottGibb closed 11 months ago

ScottGibb commented 11 months ago

Issue When using the plugin, I found that no matter which spool QR Code I scanned, the plugin would always select spool 1 in the database for printing. I'm running an iPhone 13 with the built-in QR Code Scanner, opening the webpage in Safari. When I scanned spool 2 in the database through the UI, the following link was created:

http://wanhaoprint.local/plugin/SpoolManager/selectSpoolByQRCode/2

It would seem that the URL is being created correctly, however possibly not being handled on the other side correctly. Reading the releases, it seems like this issue was already fixed in this fork. However it doesn't seem to be working for me.

Steps to Repeat

Hardware/Software Setup

Plugin Manager Snippet

image

mdziekon commented 11 months ago

This has been fixed in this PR: https://github.com/mdziekon/OctoPrint-SpoolManager/pull/40 First reported here: https://github.com/mdziekon/OctoPrint-SpoolManager/issues/37

The reason why this has not worked for you is because you've used a version which does not contain a fix yet (version 1.8.0, the fix is in unrelease 2.0.0). Therefore, I'll close this issue as "duplicate", and maybe try to release the 2.0.0 version soon.


I've seen you've mentioned another fork which "works for you". It seems this fork is based on my work here, it just so happens that "latest version" there is equal to my most recent work, with some additional changes related to postgres.

ScottGibb commented 11 months ago

@mdziekon Thank you so much for highlighting this, been stuck in my brain for weeks. Doing little investigations here and there