Skip to content
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

Plugin not loading on Cura 5 stable release #272

Open
Charmandrigo opened this issue May 17, 2022 · 22 comments
Open

Plugin not loading on Cura 5 stable release #272

Charmandrigo opened this issue May 17, 2022 · 22 comments
Labels

Comments

@Charmandrigo
Copy link

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
Copy link
Owner

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
Copy link
Author

cura.log

@fieldOfView
Copy link
Owner

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
Copy link
Author

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
Copy link

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
Copy link

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

@Charmandrigo
Copy link
Author

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
Copy link
Owner

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
Copy link

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
Copy link
Owner

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 fieldOfView reopened this May 20, 2022
@fieldOfView
Copy link
Owner

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

@BaeByte
Copy link

BaeByte commented May 20, 2022

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
Copy link
Owner

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
Copy link
Author

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
Copy link

RyantHults commented May 23, 2022

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

@telemac73
Copy link

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

@drollicdotcom
Copy link

drollicdotcom commented May 31, 2022

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
Copy link

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
Copy link

onehunkytenor commented Sep 10, 2022

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
Copy link

herrdeh commented Jan 2, 2024

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
Copy link

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
Copy link
Owner

I really can't help you without logs.

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

No branches or pull requests