exceptions.UnboundLocalError: local variable 'settings' referenced before assignment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
High
|
Kapil Thangavelu |
Bug Description
I'm running into the following with the latest version of juju (0.6.0.
2013-01-16 10:33:40,927: twisted@ERROR: Unhandled error in Deferred:
2013-01-16 10:33:40,939: twisted@ERROR: Unhandled Error
Traceback (most recent call last):
File /usr/lib/
return _inlineCallback
File /usr/lib/
result = g.send(result)
File /usr/lib/
yield unit_deployer.
File /usr/lib/
return _inlineCallback
--- <exception caught here> ---
File /usr/lib/
result = g.send(result)
File /usr/lib/
self.env_id = yield settings.
exceptions.
Related branches
- Juju Engineering: Pending requested
-
Diff: 32 lines (+9/-1)2 files modifiedjuju/unit/deploy.py (+1/-1)
juju/unit/tests/test_deploy.py (+8/-0)
Looks to be a regression from r607, changes from the following merge proposal:
https:/ /code.launchpad .net/~hazmat/ juju/env- id/+merge/ 143188