2013-04-05 10:20:07,815: juju.agents.machine@INFO: Machine agent started id:0 2013-04-05 10:20:11,047: juju.agents.machine@DEBUG: Units changed old:set([]) new:set(['mongodb/0']) 2013-04-05 10:20:11,048: juju.agents.machine@DEBUG: Starting service unit: mongodb/0 ... 2013-04-05 10:20:11,090: unit.deploy@DEBUG: Downloading charm local:raring/mongodb-26 to /home/freeflying/tmp/freeflying-lxc/charms 2013-04-05 10:20:11,114: unit.deploy@DEBUG: Using for mongodb/0 in /home/freeflying/tmp/freeflying-lxc 2013-04-05 10:20:11,231: twisted@ERROR: Fatal Python error: Py_Initialize: Unable to get the locale encoding 2013-04-05 10:20:11,232: twisted@ERROR: File "/usr/lib/python2.7/encodings/__init__.py", line 123 2013-04-05 10:20:11,232: twisted@ERROR: raise CodecRegistryError,\ 2013-04-05 10:20:11,232: twisted@ERROR: ^ 2013-04-05 10:20:11,233: twisted@ERROR: SyntaxError: invalid syntax 2013-04-05 10:20:11,233: twisted@ERROR: 2013-04-05 10:20:11,234: juju.agents.machine@ERROR: Error starting unit: mongodb/0 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/juju/agents/machine.py", line 97, in watch_service_units yield self.unit_deployer.start_service_unit(unit_name) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1069, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File "/usr/lib/python2.7/dist-packages/juju/unit/deploy.py", line 88, in start_service_unit running = yield deployment.is_running() File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1069, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File "/usr/lib/python2.7/dist-packages/juju/machine/unit.py", line 295, in is_running prefix=self.container.container_name) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1069, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File "/usr/lib/python2.7/dist-packages/juju/lib/lxc/__init__.py", line 147, in get_containers _, output = yield deferToThread(_cmd, ["lxc-ls"]) File "/usr/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 172, in _worker result = context.call(ctx, function, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib/python2.7/dist-packages/juju/lib/lxc/__init__.py", line 48, in _cmd raise LXCError(stdout_data) LXCError: Fatal Python error: Py_Initialize: Unable to get the locale encoding File "/usr/lib/python2.7/encodings/__init__.py", line 123 raise CodecRegistryError,\ ^ SyntaxError: invalid syntax