Deployer raises wrong exception if charm path doesn't exist
Bug #1680556 reported by
Adam Israel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-deployer |
Confirmed
|
Low
|
Unassigned |
Bug Description
Version:
0.6.4-0ubuntu1
Use-case:
Juju-deployer is given an invalid path to a charm.
Experienced behavior:
"TypeError: coercing to Unicode: need string or buffer, NoneType found" is raised from os.path.exists.
This exception is misleading, suggesting a string encoding issue.
Traceback:
http://
Expected behavior:
An exception is raised, indicating that the path to the charm does not exist.
Steps to recreate:
Run juju-deployer against any bundle that has an invalid path for "charm"
Example bundle json:
http://
Changed in juju-deployer: | |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.