FormerLurker / Octolapse

Stabilized timelapses for Octoprint
GNU Affero General Public License v3.0
634 stars 99 forks source link

Constantly asking me for permission to update profile #883

Open WhiskeySheppard opened 1 year ago

WhiskeySheppard commented 1 year ago

If this is a feature request describe it here

_REPLACE_THISFEATURE_REQUEST_DESCRIPTION_GOES_HERE

Version of Octolapse

Octolapse Version: (0.4.1+u.215845c)

Version of OctoPrint

OctoPrint Version: OctoPrint 1.8.6

When you ran into the problem, did you have diagnostic logging enabled?

Diagnostic Logging was Enabled: _REPLACE_THISYES_OR_NO

What were you doing when the problem occurred

  1. Anytime I log in to Octoprint
  2. Anytime I refresh the page
  3. Restart Octoprint

Anytime I do these actions I get notifications for Octolapse in Octoprint asking if I want to apply updates. I have made no recent changes to my Octolapse profiles.

Screenshot 2023-02-20 115033

I have to keep choosing OK and apply the profile. I get no errors after applying the update or indication of any errors other than constantly seeing this annoying notification.

Screenshot 2023-02-20 115342

When I choose Ignore I do get this error:

Screenshot 2023-02-21 053420

What should have happened?

Not seeing this notification constantly.

What happened instead?

_REPLACE_THISPUT_YOUR_DESCRIPTION_HERE

Operating System running OctoPrint and Octolapse

OS Name: Windows 11 Os Version: Version 22H2 (OS Build 22621.1265)

Printer model & used firmware incl. version

Printer Model: _REPLACE_THISPRINTER_MODEL_GOES_HERE Printer Firmware Version: _REPLACE_THISPRINTER_FIRMWARE_VERSION_GOES_HERE

Browser and version of browser, operating system running browser

Browser: Chrome Browser OS: Version 110.0.5481.77 (Official Build) (64-bit)

Link to the gcode file you were printing when the problem occurred

Link to Gcode File: _REPLACE_THISGCODE_FILE_LINK_GOES_HERE

Link to settings.json

Link to settings.json with all passwords removed: _REPLACE_THISSETTINGS_JSON_LINK_GOES_HERE

Link to plugin_octolapse.log

Link to plugin_octolapse.log: LINK_GOES_HERE

Link to octoprint.log

Link to octoprint.log: _REPLACE_THISLINK_GOES_HERE

Link to contents of Javascript console in the browser

Link to javascript console output: _REPLACE_THISLINK_GOES_HERE

Screenshots and/or videos of the problem:

Screenshot/Video Links: _REPLACE_THISLINKs_GO_HERE

Please consider becoming a patron

If you like this project, please support my work by becoming a patron, and consider adding a 'star' to the repository. It takes a lot of time and effort to maintain the project and respond to issues. The cost of test prints, software, cameras, printer parts, etc. can quickly add up, so every bit helps.

You can find various videos and tutorials by subscribing to my Youtube channel. You can also follow me on Twitter.

Stonemercy commented 1 year ago

Encountering this too, hope there's a fix soon

Pseudo-Nym commented 1 year ago

I have this happening on one instance of Octoprint. There are two profiles setup for Octolapse one is for Creality - Ender 3 Pro the other, Creality CR-10 V3.

WhiskeySheppard commented 1 year ago

Yea, that's what's got me, I only have one profile setup for one printer.

FormerLurker commented 1 year ago

Can someone export their settings file and upload it (preferably to gist.github.com):

image

I've checked the settings repo, and can't find an issue, but obviously something is going on.

Stonemercy commented 1 year ago

settings.txt Changed from json to txt cos github formatting

FormerLurker commented 1 year ago

@Stonemercy, I have a theory. Thanks for the settings!

Try this:

Edit your "Smart - Snap To Print - High Quality" trigger profile. un-check 'Customize Profile' and accept that the settings will be overwritten. Save it. Now see if you get that message.

I'm working to verify that, but I think maybe the update check is happening with custom profiles, even though it should not be. It doesn't seem to actually overwrite them, but it might be reporting on newer versions anyway.

FormerLurker commented 1 year ago

Here is a workaround for everyone:

image

Then uncheck this box to prevent profile updates:

image

You can re-enable them after I've figured this out and fixed it.

Stonemercy commented 1 year ago

@FormerLurker I'm currently using the Smart - High Quality profile so idek why Smart - Snap To Print - High Quality is customised šŸ˜†

I've unchecked the customization and rebooted (and I noticed it needed to be updated it to 4.2)

After the two updates and turning back on Automatic Updates (I had done the workaround about a week ago) it seems to have worked šŸ‘

FormerLurker commented 1 year ago

@Stonemercy,

Thanks for confirming my guess! I actually haven't been able to trigger that issue locally, but it was the only profile that was behind, so it made sense. I'll fiddle with it, but be sure to let me know if you get another annoying notification that doesn't go away after you update! I will be adding a bunch of printer settings soon, so it's possible a legit update will be pushed soon, just FYI.

Stonemercy commented 1 year ago

Uh oh Unfortunately this popped up this morning šŸ˜¢ pressed it first since it said "2 profiles need updates" but it appeared again after refreshing

Edit: Disabled all profile customizations and it still cropped up

FormerLurker commented 1 year ago

OK, I'll see if there is any logging that can be done. Since I have your settings, I expect to see this at some point in my dev instance. If I need anymore info, I'll message you.

Thanks for getting back to me so quickly!!!!

Stonemercy commented 1 year ago

My pleasure, thanks for managing this great plugin ā¤ļø

WhiskeySheppard commented 1 year ago

Thanks for looking into this @FormerLurker