Reviewers: mp+194398_code.launchpad.net, Message: Please take a look. Description: Improve bundle deployment error handling. Workaround for http://bugs.python.org/issue1692335. Include a customized jujuclient tarball in the charm, The diff with the original is here: http://pastebin.ubuntu.com/6377430/ Add a first fix to the testing environment creation so that the local dependencies are installed when available. Also fixed the headers sent by the info handler. Tests: make unittest QA: I used this bundle: http://pastebin.ubuntu.com/6377441/ to live test the branch. Bootstrap a juju environment, run `make deploy` and then switch the gui source to lp:juju-gui. When everything is ready, try to deploy the bundle above: it will fail because it includes local charms, but the server will not explode, and it will be possible to deploy other valid bundles after the first one. The GUI user does not receive notifications, and that's normal since deployments are not yet watched by the GUI. Go to https://[GUI URL]/gui-server-info and you should find the deployment status to be completed with the expected error. https://code.launchpad.net/~frankban/charms/precise/juju-gui/improve-error-handling/+merge/194398 (do not edit description out of merge proposal) Please review this at https://codereview.appspot.com/23000043/ Affected files (+44, -4 lines): A [revision details] M deps/jujuclient-0.13.tar.gz M hooks/utils.py M revision M server/guiserver/handlers.py M server/guiserver/tests/bundles/test_base.py M server/guiserver/tests/test_handlers.py M tests/requirements.pip Index: [revision details] === added file '[revision details]' --- [revision details] 2012-01-01 00:00:00 +0000 +++ [revision details] 2012-01-01 00:00:00 +0000 @@ -0,0 +1,2 @@ +Old revision: