SyntaxError: invalid syntax
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Confirmed
|
High
|
Unassigned |
Bug Description
I'm trying to use the Juju PPA on Raring, and got the following error in my juju debug-log:
LXCError: Fatal Python error: Py_Initialize: Unable to get the locale encoding
File "/usr/lib/
raise CodecRegistryEr
My locale is pretty standard:
$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
Here's the entire traceback:
~$ juju debug-log
2013-03-22 17:32:57,670 INFO Enabling distributed debug log.
2013-03-22 17:32:57,672 INFO Tailing logs - Ctrl-C to stop.
2013-03-22 17:33:08,679 Machine:0: twisted ERROR: Fatal Python error: Py_Initialize: Unable to get the locale encoding
2013-03-22 17:33:08,679 Machine:0: twisted ERROR: File "/usr/lib/
2013-03-22 17:33:08,680 Machine:0: twisted ERROR: raise CodecRegistryEr
2013-03-22 17:33:08,680 Machine:0: twisted ERROR: ^
2013-03-22 17:33:08,681 Machine:0: twisted ERROR: SyntaxError: invalid syntax
2013-03-22 17:33:08,681 Machine:0: twisted ERROR:
2013-03-22 17:33:08,683 Machine:0: juju.agents.machine ERROR: Error starting unit: wordpress/0
Traceback (most recent call last):
File "/usr/lib/
yield self.unit_
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
running = yield deployment.
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
prefix=
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
_, output = yield deferToThread(_cmd, ["lxc-ls"])
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
raise LXCError(
LXCError: Fatal Python error: Py_Initialize: Unable to get the locale encoding
File "/usr/lib/
raise CodecRegistryEr
SyntaxError: invalid syntax
Thanks
Changed in juju: | |
status: | New → Confirmed |
Changed in juju: | |
importance: | Undecided → High |
Same issue here. Running on raring 64-bit.
machine_agent.log @ http:// paste.ubuntu. com/5649810/