Dependencies: globals fails with Unresolved dependencies

If I remove the “dependencies: globals” from my appdaemon.yaml it works fine, this was from the examples.yaml. Can’t find any references but want to make sure it’s working correctly.

2017-07-17 21:34:36.009793 ERROR The following modules have unresolved dependencies:
2017-07-17 21:34:36.009837 ERROR motion_lights
2017-07-17 21:34:37.005963 ERROR Unable to resolve dependencies due to incorrect or circular references
2017-07-17 21:34:37.006063 ERROR The following modules have unresolved dependencies:
2017-07-17 21:34:37.006142 ERROR motion_lights
2017-07-17 21:34:37.006922 INFO /conf/appdaemon.yaml modified
Future exception was never retrieved
future: <Future finished exception=ValueError('Unresolved dependencies',)>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/appdaemon/appdaemon.py", line 1090, in read_apps
    raise ValueError("Unresolved dependencies")
ValueError: Unresolved dependencies```

that’s used as an example of how you can add dependencies should they be needed. You should be good to go.

1 Like