Re: Auto-Weka: class not found
"Potschadtke, Jens" <[email protected]>
| Newsgroups | gmane.comp.ai.weka |
|---|---|
| Message-ID | <AM0PR04MB6180483FB9E7EA27354472258F0A9@AM0PR04MB6180.eurprd04.prod.outlook.com> |
OK, I got AutoWeka to work again. What I did: Closed Weka, manually deleted the whole folder with all Weka-packages in my home directory and then started Weka and reinstalled some packages with the package manager, including Autoweka. Apparently the package organization was somehow messed up. Thanks for the hint with the WEKAHOME. Thanks and keep up the great work! Jens Von: Eibe Frank <[email protected]> Gesendet: Sonntag, 20. Juni 2021 10:36 An: Weka machine learning workbench list. <[email protected]> Betreff: [Wekalist] Re: Auto-Weka: class not found Perhaps this occurred because some of the files of the old version of the Auto-WEKA package were not removed, and there is some interference. I would try to uninstall and reinstall the package, perhaps making sure that after uninstallation all of the Auto-WEKA files have indeed been removed from the %HOMEPATH%\wekafiles\packages folder (assuming you have not changed your WEKAHOME variable, this is where WEKA stores packages). Alternatively, try removing the entire wekafiles folder (but this means you will have to reinstall packages that you need). I have just tried uninstalling and reinstalling the Auto-WEKA 2.6.3 package and the package still works fine: the tab is still there. This was on Windows 10 with WEKA 3.8.5, starting WEKA from the WIndows menu. Cheers, Eibe On Sat, Jun 19, 2021 at 2:41 PM Potschadtke, Jens <[email protected]<mailto:[email protected]>> wrote: Hello, I have a problem with Weka 3.8.5 on Windows 10 in combination with Auto-Weka 2.6.3. I recently updated Auto-Weka with the package manager from 2.6.1 to 2.6.3 and now it is no longer usable. Auto-Weka doesn’t show up as a tab inside the Explorer window and no longer shows up in the list of available classifiers; but it shows up as loaded in the Package Manager. The Weka log shows this: 3D [dev] 1.6.0-pre12-daily-experimental daily Checking for new packages... java.lang.ClassNotFoundException: weka.gui.explorer.AutoWEKAPanel java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source) java.base/java.lang.ClassLoader.loadClass(Unknown Source) java.base/java.lang.Class.forName0(Native Method) java.base/java.lang.Class.forName(Unknown Source) weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:198) weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:178) weka.gui.explorer.Explorer.<init>(Explorer.java:234) weka.gui.GUIChooserApp.showExplorer(GUIChooserApp.java:1351) weka.gui.GUIChooserApp$22.actionPerformed(GUIChooserApp.java:1167) java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source) java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source) java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) java.desktop/java.awt.Component.processMouseEvent(Unknown Source) java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source) java.desktop/java.awt.Component.processEvent(Unknown Source) java.desktop/java.awt.Container.processEvent(Unknown Source) java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) java.desktop/java.awt.Component.dispatchEvent(Unknown Source) java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) java.desktop/java.awt.Component.dispatchEvent(Unknown Source) java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) java.desktop/java.awt.EventQueue$4.run(Unknown Source) java.desktop/java.awt.EventQueue$4.run(Unknown Source) java.base/java.security.AccessController.doPrivileged(Native Method) java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) java.desktop/java.awt.EventQueue$5.run(Unknown Source) java.desktop/java.awt.EventQueue$5.run(Unknown Source) java.base/java.security.AccessController.doPrivileged(Native Method) java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) java.desktop/java.awt.EventDispatchThread.run(Unknown Source) at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Unknown Source) at weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:198) at weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:178) at weka.gui.explorer.Explorer.<init>(Explorer.java:234) at weka.gui.GUIChooserApp.showExplorer(GUIChooserApp.java:1351) at weka.gui.GUIChooserApp$22.actionPerformed(GUIChooserApp.java:1167) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.desktop/java.awt.Component.processMouseEvent(Unknown Source) at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source) at java.desktop/java.awt.Component.processEvent(Unknown Source) at java.desktop/java.awt.Container.processEvent(Unknown Source) at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.run(Unknown Source) Library "scipy" is not available Library "sklearn" is not available Library "matplotlib" is not available Library "numpy" is not available Library "pandas" is not available, minimum version = 0.7.0 I reinstalled Weka 3.8.5 for Windows but with no improvement. It seems to not find a class of autoweka. So, either it looks in the wrong place (path problems or something similar) or the class doesn’t exist in the package. Thanks for any help. Jens _______________________________________________ Wekalist mailing list -- [email protected]<mailto:[email protected]> Send posts to [email protected]<mailto:[email protected]> To unsubscribe send an email to [email protected]<mailto:[email protected]> To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html _______________________________________________ Wekalist mailing list -- [email protected] Send posts to [email protected] To unsubscribe send an email to [email protected] To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html