Octolapse icon indicating copy to clipboard operation
Octolapse copied to clipboard

Constantly asking me for permission to update profile

Open WhiskeySheppard opened this issue 2 years ago • 13 comments

If this is a feature request describe it here

___REPLACE_THIS__FEATURE_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_THIS__YES_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_THIS__PUT_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_THIS__PRINTER_MODEL_GOES_HERE Printer Firmware Version: ___REPLACE_THIS__PRINTER_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_THIS__GCODE_FILE_LINK_GOES_HERE

Link to settings.json

Link to settings.json with all passwords removed: ___REPLACE_THIS__SETTINGS_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_THIS__LINK_GOES_HERE

Link to contents of Javascript console in the browser

Link to javascript console output: ___REPLACE_THIS__LINK_GOES_HERE

Screenshots and/or videos of the problem:

Screenshot/Video Links: ___REPLACE_THIS__LINKs_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.

WhiskeySheppard avatar Feb 21 '23 11:02 WhiskeySheppard

Encountering this too, hope there's a fix soon

Stonemercy avatar Mar 13 '23 11:03 Stonemercy

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.

Pseudo-Nym avatar Mar 23 '23 02:03 Pseudo-Nym

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

WhiskeySheppard avatar Mar 23 '23 03:03 WhiskeySheppard

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.

FormerLurker avatar Apr 02 '23 18:04 FormerLurker

settings.txt Changed from json to txt cos github formatting

Stonemercy avatar Apr 02 '23 18:04 Stonemercy

@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 avatar Apr 02 '23 19:04 FormerLurker

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.

FormerLurker avatar Apr 02 '23 19:04 FormerLurker

@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 👍

Stonemercy avatar Apr 02 '23 19:04 Stonemercy

@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.

FormerLurker avatar Apr 02 '23 19:04 FormerLurker

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

Stonemercy avatar Apr 03 '23 10:04 Stonemercy

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!!!!

FormerLurker avatar Apr 03 '23 14:04 FormerLurker

My pleasure, thanks for managing this great plugin ❤️

Stonemercy avatar Apr 03 '23 14:04 Stonemercy

Thanks for looking into this @FormerLurker

WhiskeySheppard avatar Apr 04 '23 00:04 WhiskeySheppard