Comments (9)
It's also failing for me, but I'm getting a different error:
2016-01-17 09:18:07.156 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/home/rob/oh2/addons/org.openhab.binding.netatmo-1.9.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.netatmo [10]
Unresolved requirement: Import-Package: com.google.common.base
at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1245)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1217)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:509)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)[8:org.apache.felix.fileinstall:3.5.0]
from openhab-distro.
@robnielsen : you are using a 1.8 snapshot while I am using the official 1.8 version of the binding. Maybe it can explain the difference ?
from openhab-distro.
https://openhab.ci.cloudbees.com/job/openHAB-Distribution/88/
from openhab-distro.
@kaikreuzer, I just tried 88 and got the same error
from openhab-distro.
Are you sure?
I get
openhab> bundle:list -s |grep netatmo
167 | Active | 80 | 1.9.0.201601170211 | org.openhab.binding.netatmo
and
23:59:31.353 [DEBUG] [org.openhab.binding.netatmo ] - BundleEvent STARTING - org.openhab.binding.netatmo
23:59:31.354 [DEBUG] [ng.netatmo.internal.NetatmoActivator] - Netatmo binding has been started.
23:59:31.358 [DEBUG] [org.openhab.binding.netatmo ] - ServiceEvent REGISTERED - {org.osgi.service.cm.ManagedService}={service.pid=org.openhab.netatmo, component.name=org.openhab.binding.netatmo.binding, component.id=217, service.id=343, service.bundleid=167, service.scope=bundle} - org.openhab.binding.netatmo
23:59:31.363 [DEBUG] [org.openhab.binding.netatmo ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.netatmo.NetatmoBindingProvider}={component.name=org.openhab.binding.netatmo.genericbindingprovider, component.id=218, service.id=341, service.bundleid=167, service.scope=bundle} - org.openhab.binding.netatmo
23:59:31.363 [DEBUG] [org.openhab.binding.netatmo ] - BundleEvent STARTED - org.openhab.binding.netatmo
from openhab-distro.
I'm using the zip file: https://openhab.ci.cloudbees.com/job/openHAB-Distribution/88/artifact/distributions/openhab-offline/target/openhab-offline-2.0.0-SNAPSHOT.zip.
I'm seeing different things in the log file. The first time I see:
2016-01-17 17:26:04.185 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/home/rob/oh2/addons/org.openhab.binding.netatmo-1.9.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.netatmo [29]
Unresolved requirement: Import-Package: org.codehaus.jackson
at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1245)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1217)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:509)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)[8:org.apache.felix.fileinstall:3.5.0]
2016-01-17 17:26:07.111 [INFO ] [.openhab.core.internal.CoreActivator] - openHAB runtime has been started (v2.0.0, build 201601150204).
2016-01-17 17:26:23.302 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/home/rob/oh2/addons/org.openhab.binding.netatmo-1.9.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.netatmo [29]
Unresolved requirement: Import-Package: org.codehaus.jackson
at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1245)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1217)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1207)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:504)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)[8:org.apache.felix.fileinstall:3.5.0]
2016-01-17 17:26:23.306 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/home/rob/oh2/addons/org.openhab.binding.netatmo-1.9.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.netatmo [29]
Unresolved requirement: Import-Package: org.codehaus.jackson
at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1245)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1217)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:509)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)[8:org.apache.felix.fileinstall:3.5.0]
2016-01-17 17:26:23.591 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.items'
Then I'm pressing ctrl-d, deleting the log files and starting again. This time I get:
2016-01-17 17:28:56.559 [INFO ] [b.core.service.AbstractActiveService] - Netatmo Refresh Service has been started
2016-01-17 17:28:56.564 [INFO ] [b.core.service.AbstractActiveService] - Netatmo Refresh Service has been shut down
I'm not seeing any indication of why it starts and immediately is shutting down.
from openhab-distro.
Have you installed the bundles using by using the feature installation?
from openhab-distro.
@maggu2810: There is no feature defined for Netatmo yet.
I also simply put the jar in the addons folder - but maybe I have another feature already installed, which brings the jackson libs (afair, they aren't part of the runtime anymore...)
from openhab-distro.
Ok, the problem is that you are lacking the 1.x compatibility layer on your runtime. I have just amended the documentation with #95.
Please run feature:install openhab-runtime-compat1x
and all should be fine!
from openhab-distro.
Related Issues (20)
- mention Java 17 requirement HOT 15
- Configuration files not picked up by OpenHAB HOT 1
- Exclude log format settings file from update HOT 4
- Clean up addons folder on upgrade HOT 9
- Unclear sentence in 4.0.0 release notes HOT 3
- Update to 4.X.X from 3.X.X failed on Windows (and non-working backup)
- update.ps1 Backup not created correctly during update on Windows
- Add support for running openHAB with Java 21 HOT 14
- Miele Cloud Binding on OpenHab Docker cannot authorize due to too many threads required HOT 7
- Error downloading mvn:org.json/json/20231013 HOT 5
- 4.0.3->4.0.4: No ProfileFactory found which supports profile 'transform:JS' HOT 2
- [luxtronikheatpump] upgrade documentation
- OH4.1M5: Very very slow first startup and initial exception (HTTP 404) HOT 37
- OH4.1 M5 Failed to process script HOT 13
- openHAB 4.0.4: Changing loglevel via Binding Settings empties org.ops4j.pax.logging.cfg HOT 3
- openHAB 4.1.0 Milestone 5 - Docker - Slow + 100% CPU load HOT 20
- Add ZigBee, ZWave addon.xml data to /runtime/etc/addons.xml HOT 4
- Firefox not working HOT 1
- config.properties not writable in tar.gz HOT 1
- version used for launch/app/pom.xml on tags HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhab-distro.