Cura-OctoPrintPlugin icon indicating copy to clipboard operation
Cura-OctoPrintPlugin copied to clipboard

Plugin not loading on Cura 5 stable release

Open Charmandrigo opened this issue 2 years ago • 20 comments

The "connect to octoprint" button is just gone, the plugin is on it's most recent version and does not seem to be loading anymore on Cura 5.0.0, tried to reinstall the plugin several times but nothing works

Charmandrigo avatar May 17 '22 18:05 Charmandrigo

The release that is currently in the Marketplace is compatible with Cura 5. I need your cura.log to see what is going wrong on your system. See Help -> Show configuration folder.

fieldOfView avatar May 17 '22 19:05 fieldOfView

cura.log

Charmandrigo avatar May 17 '22 19:05 Charmandrigo

It seems like Cura 5 thinks it installed the plugin, but didn't.

Can you tell me what the contents of the plugins folder inside the configuration folder looks like? Also please attach the packages.json and plugins.json files.

fieldOfView avatar May 17 '22 19:05 fieldOfView

json files.zip the folder currently shows only 4 plugins, Cura indeed says I have the octoprint plugin installed updating from 4.X to 5.0 broke a lot of plugins and recommended uninstall, it later sync my account and installed some back, but it keeps showing some are broken image

Charmandrigo avatar May 17 '22 19:05 Charmandrigo

I had the exact same issue. What I ended up doing to fix it was uninstall OctoPrintPlugin and exit Cura 5. Then I got back in and installed OctoPrintPlugin and then again fully exited Cura 5. I then got back into Cura 5 and the plugin folder appeared in the above directory and brought all my settings over and it was working perfectly. Until I followed those exact steps (on Windows) I was having the same problem.

trevorhiley avatar May 18 '22 11:05 trevorhiley

@trevorhiley 's solution also worked for me (on Mac OS)

denchuku avatar May 18 '22 17:05 denchuku

I had the exact same issue. What I ended up doing to fix it was uninstall OctoPrintPlugin and exit Cura 5. Then I got back in and installed OctoPrintPlugin and then again fully exited Cura 5. I then got back into Cura 5 and the plugin folder appeared in the above directory and brought all my settings over and it was working perfectly. Until I followed those exact steps (on Windows) I was having the same problem.

This actually worked! Thanks!

Charmandrigo avatar May 18 '22 17:05 Charmandrigo

Did you use the Cura 5.0 beta before? It seems that that version had a bug uninstalling plugins, where it removed the files but not the internal reference that the plugin was installed. So when reinstalling, Cura would think it not necessary to put the files in place because they were already there.

Let me know if you did not use the Cura 5.0 beta, because then there is an issue in Cura 5 installing plugins.

fieldOfView avatar May 20 '22 07:05 fieldOfView

Did you use the Cura 5.0 beta before? It seems that that version had a bug uninstalling plugins, where it removed the files but not the internal reference that the plugin was installed. So when reinstalling, Cura would think it not necessary to put the files in place because they were already there.

Let me know if you did not use the Cura 5.0 beta, because then there is an issue in Cura 5 installing plugins.

I didn't use Cura 5.0 beta before (switched directly from 4 to 5.0.0). Maybe others can confirm that as well?!

denchuku avatar May 20 '22 07:05 denchuku

I didn't use Cura 5.0 beta before

Thanks for letting me know. Then there is an issue with the final 5.0 release updating plugins.

fieldOfView avatar May 20 '22 08:05 fieldOfView

I am reopening this issue for visibility, so I am not inundated by others reporting the same issue.

fieldOfView avatar May 20 '22 08:05 fieldOfView

I am reopening this issue for visibility, so I am not inundated by others reporting the same issue.

Now I feel really bad about posting that it didn't work last night. I just want you to know we REALLY do appreciate your work thank you so much for everything you do.

BaeByte avatar May 20 '22 12:05 BaeByte

No worries, it is important that these things get reported, so they can get fixed, and so others can find the workaround. I would rather have some double reports than things being broken without me knowing about it. And I may have overreacted with the word "inundated"...

fieldOfView avatar May 20 '22 13:05 fieldOfView

I didn't used the betas myself too, I upgraded directly from the version 4 to stable 5 directly, it initally broke several plugins including this one

Charmandrigo avatar May 20 '22 20:05 Charmandrigo

Just wanted to chime in to say that:

  • I had this same issue
  • @trevorhiley 's workaround worked for me
  • I upgraded directly from 4.13.1 to 5.0

RyantHults avatar May 23 '22 00:05 RyantHults

Same issue. Upgrade 4.13.1 to 5.0 and i have try to uninstall /reinstall but dont work

telemac73 avatar May 23 '22 07:05 telemac73

Long time OctoPrint user here. Just ran into this issue. Happening on a PC that's never run any version of Cura.

My steps;

  1. Fresh Install (not an upgrade) of Cura 5.0.0 on Windows 11 PC
  2. Installed OctoPrint Connection 3.7.2 Plugin from Marketplace
  3. Restarted Cura
  4. No sign of OctoPrint anywhere in the Add/Manage Printers UI. It's just not there, like the plugin isn't even loaded.

I then found this issue and tried the "fix" steps of uninstall, restart cura, re-install, restart cura.

No luck.

I then searched the "plugins" folder in the Cura 5.0 directory tree and there's no sign of OctoPrint Connection.

I've since tried the "fix" steps several more times, all without success.

drollicdotcom avatar May 31 '22 20:05 drollicdotcom

I had the same issue. Ubuntu 22.04 Upgraded Cura from 4.13 to 5.10 Had to uninstall plugin, restart cura, install plugin, restart cura. Works after that.

StormTrooper avatar Jul 21 '22 12:07 StormTrooper

I had the exact same issue. What I ended up doing to fix it was uninstall OctoPrintPlugin and exit Cura 5. Then I got back in and installed OctoPrintPlugin and then again fully exited Cura 5. I then got back into Cura 5 and the plugin folder appeared in the above directory and brought all my settings over and it was working perfectly. Until I followed those exact steps (on Windows) I was having the same problem.

Worked like a charm for me. Thanks! Edit: Now I can't seem to grab (or even copy/paste) a working API key. Sigh. "You are not allowed to upload files to OctoPrint with the configured API key. WHAAAAATT??

onehunkytenor avatar Sep 10 '22 00:09 onehunkytenor

ubuntu 22, recent update from CURA 4.11 to 5.65. Had to remove and reinstall the plugin twice to achieve the "connect octoprint" button.

Anyway - great work, thank you for providing it!

herrdeh avatar Jan 02 '24 19:01 herrdeh