Skip to content

Sporadically list of spools empty or missing spools #236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Jeanlucpica opened this issue Feb 7, 2022 · 6 comments
Closed

Sporadically list of spools empty or missing spools #236

Jeanlucpica opened this issue Feb 7, 2022 · 6 comments

Comments

@Jeanlucpica
Copy link

Jeanlucpica commented Feb 7, 2022

I have some strange behaviours with this plugin. Sporadically my list of spools will stay empty and show nothing, even though there should be several spools be displayed. Often it looks like this when I open the plugin page:
2022-02-07 20_49_46-Prusa MINI+  OctoPrint  und 7 weitere Seiten - Persönlich – Microsoft​ Edge
A forced refresh usually then shows the complete list of spools.

But a more bothering issue happens especially after adding new spools or editing existing ones. As soon it goes back to the list suddenly some spools disappeared from the list. I can't really tell why some are shown afterwards and why some are not. Here is an example where 10 spools should actually be displayed, but I only see 7:
2022-02-07 20_46_05-Prusa MINI+  OctoPrint  und 7 weitere Seiten - Persönlich – Microsoft​ Edge

I already tried disabling some other plugins I have in use, but could not link this problem to a compatibility issue with another plugin. It seems to happen independently. Maybe somebody else has the same problem? Or can you give some advice on why this is happening?

Some technical details:

  • Windows 10 (client)
  • Microsoft Edge 98.0.1108.43 (client)
  • OctoPrint 1.7.3
  • OctoPi 0.18.0
@OllisGit OllisGit added the status: inNextRelease Will be implemented/fixed in next release label Feb 16, 2022
@OllisGit
Copy link
Owner

Hi @Jeanlucpica,

regarding the first issue "empty list", pease take a look into the octoprint.log. Maybe the server could not load the spool infos from the database. Also, please open the "Browser-Developer-Tools (press F12)". In the console and on the Network-Tab there should be no red-lines.

In your screenshot is a color-filter active (show only 9 colors), maybe that is reason why you can't see all spools.
But I optimized the total-output in the next release.
image

OllisGit added a commit that referenced this issue Feb 17, 2022
- E #246 EventBus-Events to support MQTT-Topics
- E #186 multiple templates (with field selection)
- E #191 Include PTFE tube length for remaining check
- E #221 Preview of QR-Code
- E #207 Define IP/URL for QR-Code generation
- E #220 Output of database id in QR-Code view
- E #236, B #228 Output of total spools in tab-view
- E Output of database id in QR-Code and in table

- B #245 Show last weight digit
- B #235 custom colorname not stored
- B #225 copy was disabled during printing
@OllisGit
Copy link
Owner

Hi @Jeanlucpica,

in the latest RC-Verison 1.7.0rc1 I changed a lot of stuff, maybe this issue is also solved.
Please test and give feedback

Thx, in advance
Olli

@OllisGit OllisGit added channel:RC status: waitingForTestFeedback and removed status: inNextRelease Will be implemented/fixed in next release labels Feb 17, 2022
OllisGit added a commit that referenced this issue Feb 17, 2022
- E #246 EventBus-Events to support MQTT-Topics
- E #186 multiple templates (with field selection)
- E #191 Include PTFE tube length for remaining check
- E #221 Preview of QR-Code
- E #207 Define IP/URL for QR-Code generation
- E #220 Output of database id in QR-Code view
- E #236, B #228 Output of total spools in tab-view
- E Output of database id in QR-Code and in table

- B #245 Show last weight digit
- B #235 custom colorname not stored
- B #225 copy was disabled during printing
@OllisGit
Copy link
Owner

Hi,
new Version 1.7.0 is released.

Please test and give feedback.

Thx, in advance
Olli

@Jeanlucpica
Copy link
Author

Hi,
I installed version 1.7.0 and added a new spool. I can't really say it fixed things, but I believe I can give some more details what I am observing.

  1. The list is always empty when switching to the "Spools" tab after a reboot of my OctoPi. If I hit the reload button everything comes up as expected. Not a problem, just inconvenient.

image

  1. I do still have some unexpected behaviour when adding/modifying a spool which led to the initial report here. I add a new spool like that:

image

First and last use are empty. I save the spool and I am back in the list. If I will now select a different spool which has been used before, it will show me all the details including the date for last and first use. Also fine. **But If I will now close that spool and then open the new spool, which was never used, it now will display the last and first use date of the spool I just opened before.** So it mixes up data. And if you do not pay attention and save it like this, you will save wrong data to the database.

So number 2 is an actual bug and I can reproduce it. It also happened to me that suddenly the color filter was set and excluded the color of the spool I just had added. However I am unable to reproduce it but it happened also with 1.7.0. Maybe you want to check if the problem of 2 maybe also applies to other fields and may cause this issue.

I hope this info helps to resolve this.

@github-actions
Copy link

This issue has been automatically marked for closing, because it has not had activity in 30 days. It will be closed if no further activity occurs in 10 days.

@github-actions github-actions bot added the status: markedForAutoClose Issue will be closed automatically label Apr 19, 2022
@github-actions
Copy link

This issue was closed, because it has been already marked for 10 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants