debug-hooks-ext object 'Environment' has no attribute 'connect'
deftdawg opened this issue · comments
deftdawg commented
When I run juju dhx I get the following error, environment was set-up created by juju-quickstart
juju dhx -r openam/0
Traceback (most recent call last):
File "/home/user/juju/plugins/juju-dhx", line 289, in <module>
unit_name, unit = choose_unit(args, opts)
File "/home/user/juju/plugins/juju-dhx", line 255, in choose_unit
status = get_env(opts).status()
File "/home/user/juju/plugins/juju-dhx", line 156, in get_env
get_env._env = jujuclient.Environment.connect(opts.env)
AttributeError: type object 'Environment' has no attribute 'connect'
ERROR subprocess encountered error code 1
Cory Johns commented
What version of python-jujuclient do you have installed? That error seems like you have a version older than 0.18.0 installed. The current version is 0.18.4. Hrm, I need to add that dependency to the README.
Cory Johns commented
README updated in PR #40