fieldOfView / Cura-OctoPrintPlugin

Cura plugin which enables printing directly to OctoPrint and monitoring the process
GNU Affero General Public License v3.0
484 stars 74 forks source link

Plugin not loading on Cura 5 stable release #272

Open Charmandrigo opened 2 years ago

Charmandrigo commented 2 years ago

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

fieldOfView commented 2 years ago

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.

Charmandrigo commented 2 years ago

cura.log

fieldOfView commented 2 years ago

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.

Charmandrigo commented 2 years ago

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

trevorhiley commented 2 years ago

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.

denchuku commented 2 years ago

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

Charmandrigo commented 2 years ago

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!

fieldOfView commented 2 years ago

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.

denchuku commented 2 years ago

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

fieldOfView commented 2 years ago

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 commented 2 years ago

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

BaeByte commented 2 years ago

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.

fieldOfView commented 2 years ago

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

Charmandrigo commented 2 years ago

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

RyantHults commented 2 years ago

Just wanted to chime in to say that:

telemac73 commented 2 years ago

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

drollicdotcom commented 2 years ago

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.

StormTrooper commented 1 year ago

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.

onehunkytenor commented 1 year ago

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

herrdeh commented 5 months ago

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!

SaschaPeukert commented 2 weeks ago

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.

I have the exact same issue with Cura 5.7.1. and OctoPrint Connection 3.7.3 All the workarounds mentioned above do not work. No button appears

fieldOfView commented 2 weeks ago

I really can't help you without logs.