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

Monai Label for QuPath not compatible with QuPath 0.5.x #1694

Open
lacan opened this issue May 27, 2024 · 4 comments
Open

Monai Label for QuPath not compatible with QuPath 0.5.x #1694

lacan opened this issue May 27, 2024 · 4 comments

Comments

@lacan
Copy link

lacan commented May 27, 2024

Here is the error log when instaling the extension into QuPath 0.5.1

Error loading extension qupath.lib.extension.monailabel.Extension@46956954: qupath/lib/gui/ActionTools
java.lang.NoClassDefFoundError: qupath/lib/gui/ActionTools
	at qupath.lib.extension.monailabel.Extension.installExtension(Extension.java:44)
	at qupath.lib.gui.ExtensionManager.refreshExtensions(ExtensionManager.java:148)
	at qupath.lib.gui.ExtensionManager.promptToCopyFilesToExtensionsDirectory(ExtensionManager.java:261)
	at qupath.lib.gui.viewer.DragDropImportListener.handleFileDropImpl(DragDropImportListener.java:334)
	at qupath.lib.gui.viewer.DragDropImportListener.handleFileDrop(DragDropImportListener.java:286)
	at qupath.lib.gui.viewer.DragDropImportListener.lambda$handle$0(DragDropImportListener.java:196)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:185)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: qupath.lib.gui.ActionTools
	at java.base/java.net.URLClassLoader.findClass(Unknown Source)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	... 13 more
@lacan lacan changed the title Monai Label for QuPAth not compatible with QuPAth 0.5.x Monai Label for QuPath not compatible with QuPath 0.5.x May 27, 2024
@SachidanandAlle
Copy link
Collaborator

very likely not compatible... try older qpath version only

https://github.com/qupath/qupath/releases/tag/v0.4.4
or
https://github.com/qupath/qupath/releases/tag/v0.3.2

@lemonsoda174
Copy link

has there been any updates on how to use this? if there is, would you mind sharing it?
i'm stuck at the same issue. thanks!

@diazandr3s
Copy link
Collaborator

Hi @lemonsoda174,

Have you tried using version 0.4.4? Could you please share the logs you're getting?

@lemonsoda174
Copy link

Hi @diazandr3s,

I have had success with integrating the extension into version 0.4.4. However, I was just wondering if it could also be done with newer versions. I have been using version 0.5.1 and have installed other dependencies, which would be quite tiresome to just switch to an older version (0.4.4) and lose all of my pre-set configurations.

Thanks for your reply!

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

No branches or pull requests

4 participants