charm promulgate fails with lazr.restfulclient (0.13.4)
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Juju Charm Tools |
Won't Fix
|
Undecided
|
Unassigned | |
| | lazr.restfulclient |
Undecided
|
Unassigned | ||
Bug Description
I ran into the following on a Vivid vagrant image:
$ juju charm promulgate -s trusty -v
INFO:Running charm proof ...
Traceback (most recent call last):
File "/usr/lib/
from charms import Charm
File "/usr/lib/
from launchpadlib.
File "/usr/lib/
from lazr.restfulcli
ImportError: No module named restfulclient.
Relevant packages:
ii charm-tools 1.6.1-0ubuntu2~
ii python-
To work around this, I downgraded lazr.restfulclient as follows:
$ sudo pip install --upgrade lazr.restfulcli
After this, I was able to successfully run charm promulgate.
| Marco Ceppi (marcoceppi) wrote : | #1 |
| Changed in charm-tools: | |
| status: | New → Won't Fix |
| Changed in lazr.restfulclient: | |
| status: | New → Confirmed |
| Kevin W Monroe (kwmonroe) wrote : | #2 |
I found that a rogue pip installed lazr.authentication was causing my problem:
http://
With that installed, "from launchpadlib.
| Kevin W Monroe (kwmonroe) wrote : | #3 |
I've also got an strace of the failed charm promulgate.. i'll leave it here for posterity:
| Changed in lazr.restfulclient: | |
| status: | Confirmed → Invalid |

This is bubbling up from charm-tools calling
launchpadlib. launchpad import Launchpad
Which seems to indicate an issue with the Launchpad library/ lazr.restfulcli ent