MacOS - RepositoryManager errors on startup

Indigo nodes load fine on my Win and linux boxes, but MacOS gives the errors below on startup.

KNIME 2.3.4. + all community nodes (release) + indigo (923 nightly)
MacOS 10.6.7
java 1.6.0_24

Any hints?

(the other) Simon

------------

ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoMoleculeLoaderNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoMoleculeSaverNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoMoleculePropertiesNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoValenceCheckerNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoAromatizerNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoHydrogenAdderNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoHydrogenRemoverNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoDearomatizerNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoSubstructureMatcherNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoSubstructureMatchCounterNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoFingerprintSimilarityNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoMoleculeFingerprinterNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoQueryMoleculeLoaderNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoQueryMoleculeSaverNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoScaffoldFinderNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
ERROR     RepositoryManager     Node com.ggasoftware.indigo.knime.IndigoRGroupDecomposerNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
 

Simon,

I have exactly the same configuration as you, and everything works fine for me. I think it might be helpful if you take a look into your workspace/.metadata/knime/knime.log file. Are there any messages related to Indigo there?

 

Best regards,

Dmitry

Dmitry, not apart from the errors above.

I've now de-installed the Indigo nodes, set the KNIME log level to Debug, re-installed the nodes, and now see loads of errors. As it's very long, I'll just post the first one in the log file  below.

(the other) Simon

 

-----

 

2011-05-10 18:05:39,579 DEBUG main RepositoryManager : Found category extension 'ref' on path '/community/image/io'
2011-05-10 18:05:39,579 INFO  main RepositoryManager : Found category: ref
2011-05-10 18:05:40,201 ERROR main RepositoryManager : Node com.ggasoftware.indigo.knime.IndigoMoleculeLoaderNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
2011-05-10 18:05:40,202 DEBUG main RepositoryManager : Node com.ggasoftware.indigo.knime.IndigoMoleculeLoaderNodeFactory' from plugin 'com.ggasoftware.indigo.knime.plugin' could not be created. The corresponding plugin bundle could not be activated!
java.lang.IllegalArgumentException: Can't load factory class for node: com.ggasoftware.indigo.knime.convert.molloader.IndigoMoleculeLoaderNodeFactory
    at org.knime.workbench.repository.RepositoryFactory.createNode(RepositoryFactory.java:141)
    at org.knime.workbench.repository.RepositoryManager.create(RepositoryManager.java:297)
    at org.knime.workbench.repository.KNIMERepositoryPlugin.start(KNIMERepositoryPlugin.java:105)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at org.knime.workbench.ui.KNIMEUIPlugin.start(KNIMEUIPlugin.java:174)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at org.knime.product.rcp.KNIMEApplicationActionBarAdvisor.makeActions(KNIMEApplicationActionBarAdvisor.java:202)
    at org.eclipse.ui.application.ActionBarAdvisor.fillActionBars(ActionBarAdvisor.java:147)
    at org.knime.product.rcp.KNIMEApplicationActionBarAdvisor.fillActionBars(KNIMEApplicationActionBarAdvisor.java:466)
    at org.eclipse.ui.internal.WorkbenchWindow.fillActionBars(WorkbenchWindow.java:3527)
    at org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:414)
    at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchWindow(Workbench3xImplementation.java:31)
    at org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:1881)
    at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:1879)
    at org.eclipse.ui.internal.Workbench$64.runWithException(Workbench.java:3599)
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3586)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3279)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3586)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3279)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.knime.product.rcp.KNIMEApplication.start(KNIMEApplication.java:95)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Caused by: org.eclipse.core.runtime.CoreException: Plug-in com.ggasoftware.indigo.knime.plugin was unable to load class com.ggasoftware.indigo.knime.convert.molloader.IndigoMoleculeLoaderNodeFactory.
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    at org.knime.workbench.repository.RepositoryFactory.createNode(RepositoryFactory.java:135)
    ... 79 more
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle com.ggasoftware.indigo.knime.plugin (2).
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:121)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
    at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
    ... 83 more
Caused by: org.osgi.framework.BundleException: The activator com.ggasoftware.indigo.knime.plugin.IndigoPlugin for bundle com.ggasoftware.indigo.knime.plugin is invalid
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:156)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:751)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
    ... 95 more

Simon, please also have a look at <workspace>/.metadata/.log. This contains core Eclipse messages and it seems something went wrong already during early initialization of the plugin.

Simon, another idea just came to my mind: your OS X installation may be missing the Cairo graphics library, which is needed for Indigo. Please install libcairo from http://www.macports.org/.

 

Best regards,

Dmitry

That would indeed be the problem. Not included in nodes themselves? It's not on my Win box either, but the nodes work fine there.

 

BTW, the first error (of many) in the .log file contains:

!ENTRY org.eclipse.osgi 4 0 2011-05-10 21:18:25.694
!MESSAGE An error occurred while automatically activating bundle com.ggasoftware.indigo.knime.plugin (2).
!STACK 0
org.osgi.framework.BundleException: The activator com.ggasoftware.indigo.knime.plugin.IndigoPlugin for bundle com.ggasoftware.indigo.knime.plugin is invalid
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:156)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:751)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
    at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    at org.knime.workbench.repository.RepositoryFactory.createNode(RepositoryFactory.java:135)
    at org.knime.workbench.repository.RepositoryManager.create(RepositoryManager.java:297)
    at org.knime.workbench.repository.KNIMERepositoryPlugin.start(KNIMERepositoryPlugin.java:105)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at org.knime.workbench.ui.KNIMEUIPlugin.start(KNIMEUIPlugin.java:174)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at org.knime.product.rcp.KNIMEApplicationActionBarAdvisor.makeActions(KNIMEApplicationActionBarAdvisor.java:202)
    at org.eclipse.ui.application.ActionBarAdvisor.fillActionBars(ActionBarAdvisor.java:147)
    at org.knime.product.rcp.KNIMEApplicationActionBarAdvisor.fillActionBars(KNIMEApplicationActionBarAdvisor.java:466)
    at org.eclipse.ui.internal.WorkbenchWindow.fillActionBars(WorkbenchWindow.java:3527)
    at org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:414)
    at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchWindow(Workbench3xImplementation.java:31)
    at org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:1881)
    at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:1879)
    at org.eclipse.ui.internal.Workbench$64.runWithException(Workbench.java:3599)
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3586)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3279)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3586)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3279)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.knime.product.rcp.KNIMEApplication.start(KNIMEApplication.java:95)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Caused by: java.lang.UnsatisfiedLinkError: Unable to load library '/private/tmp/indigo5342430921657903444.tmp.d/libindigo.dylib': dlopen(/private/tmp/indigo5342430921657903444.tmp.d/libindigo.dylib, 9): Library not loaded: /opt/local/lib/libcairo.2.dylib
  Referenced from: /private/tmp/indigo5342430921657903444.tmp.d/libindigo.dylib
  Reason: Incompatible library version: libindigo.dylib requires version 11003.0.0 or later, but libcairo.2.dylib provides version 10803.0.0
    at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:163)
    at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:236)
    at com.sun.jna.Library$Handler.<init>(Library.java:140)
    at com.sun.jna.Native.loadLibrary(Native.java:379)
    at com.sun.jna.Native.loadLibrary(Native.java:364)
    at com.ggasoftware.indigo.Indigo.loadIndigo(Indigo.java:597)
    at com.ggasoftware.indigo.Indigo.<init>(Indigo.java:609)
    at com.ggasoftware.indigo.Indigo.<init>(Indigo.java:616)
    at com.ggasoftware.indigo.knime.plugin.IndigoPlugin.<clinit>(IndigoPlugin.java:35)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:151)
    ... 101 more
 

Simon,

 

Yes, the absence of the libcairo is the problem. Your log message confirms that:

Caused by: java.lang.UnsatisfiedLinkError: Unable to load library '/private/tmp/indigo5342430921657903444.tmp.d/libindigo.dylib': dlopen(/private/tmp/indigo5342430921657903444.tmp.d/libindigo.dylib, 9): Library not loaded: /opt/local/lib/libcairo.2.dylib

 

Sorry, I should have figured it earlier. As for Windows builds of Indigo, they come with libcairo included into them, and so they do not require libcairo on the system.

Best regards,

Dmitry

Actually, I do have cairo libs installed - but in /usr/local/lib. Perhaps I'll wait until they're bundled in the final version(?).

 

Simon

Simon,

Indigo expects your libcairo installation to be in /opt/local/lib, not in /usr/local/lib. You can add a symbolic link:

sudo mkdir -p /opt/local/lib
sudo ln -s /usr/local/lib/libcairo.2.dylib /opt/local/lib/

I am not sure that we will bundle libcairo into our OS X builds. The files are too big; they also have dependencies that should be bundled as well.

 

Best regards,

Dmitry

Built latest version of cairo libs according to http://cairographics.org/end_to_end_build_for_mac_os_x/ giving relocatable libs.

Dropped them in /opt/local/lib and seems to be working now - the error messages have gone away.

Simon