mdziekon / octoprint-spoolman

An OctoPrint plugin integrating with Spoolman, a universal filament spools inventory manager.
GNU Affero General Public License v3.0
20 stars 1 forks source link

Not being able to select spool- running multiple octoprint instances on same Pi #50

Open rishi4999 opened 2 months ago

rishi4999 commented 2 months ago

The problem

I run 2 instances of octoprint on my Pi using https://github.com/paukstelis/octoprint_deploy and it runs well, yesterday installed spoolman on same pi and it works on it owns but not being able to select spool on one of the octoprint instance, on one instance i can easily select spool being used but in the other instance i am being shown the spools but not being able to select anything

https://github.com/mdziekon/octoprint-spoolman/assets/64247684/89817dc3-7aed-4903-8867-dbf60dbacd9b

Version of octoprint-spoolman

1.1.2

Version of OctoPrint

1.10.2

Operating system running OctoPrint

Octopi-1.0.0

Printer model & used firmware incl. version

Ender 3 v3 se

Browser and version of browser, operating system running browser

Chromium

Checklist of files to include below

Additional information & file uploads

octoprint-systeminfo-20240619115919.zip

https://github.com/mdziekon/octoprint-spoolman/assets/64247684/7748b9c3-ee43-4e17-84fe-9902857c7b57

Screenshot 2024-06-19 at 12 03 12 PM
mdziekon commented 1 month ago

Hi @rishi4999, thank you for your report and sorry for the long delay.

I think I know what's causing this issue, and I've attempted to fix it in the pinned Pull Request (#55). Unfortunately, my development setup does not involve multi-instancing of Octoprint, and I was not able to confirm whether the issue is indeed gone (although I was able to confirm that it does not regress previous builds).

Could you please verify the above PR and see if the problem is now gone? You should be able to download the newest plugin's package going here and downloading the plugin via the green "Code" button, and then selecting "Download ZIP" option from the popover. With that, you can install the plugin using the downloaded .zip file via Octoprint's UI (Settings > OctoPrint > Plugin Manager > Get more > Install new plugins... modal > ...from an uploaded file option).

rishi4999 commented 1 month ago

Hey saw your reply now will check and confirm

rishi4999 commented 1 month ago

Selecting spool works now but it gives this error, did not used to happen before

chrome_fY6b701XXV

I have this plugin which might be interfering but i am not sure

  1. Print Time Genius

Entire Plugin List chrome_lCNBZOhZBU

tomcat0312 commented 1 month ago

it is working for me as well. I was having the same issue before. running OctoPrint Version 1.10.2 on OctPi 1.0.0 with 3 instances. Tested on a Prusa MK4 with MMU3 on the 2nd instance.

If additional information is needed, let me know. tested this