UnboundLocalError: local variable 'my_cgroup' referenced before assignment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Click appears to have broken on my phone running #269 on mako.
phablet@
Traceback (most recent call last):
File "/usr/bin/click", line 86, in <module>
sys.
File "/usr/bin/click", line 82, in main
return mod.run(args)
File "/usr/lib/
json_output = list_packages(
File "/usr/lib/
return json_array_
gi._glib.GError: Failed to parse manifest in /opt/click.
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
pr.
File "/usr/lib/
ret = self.get_
File "/usr/lib/
if len(my_cgroup) < 2:
UnboundLocalError: local variable 'my_cgroup' referenced before assignment
Original exception was:
Traceback (most recent call last):
File "/usr/bin/click", line 86, in <module>
sys.
File "/usr/bin/click", line 82, in main
return mod.run(args)
File "/usr/lib/
json_output = list_packages(
File "/usr/lib/
return json_array_
gi._glib.GError: Failed to parse manifest in /opt/click.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: click 0.4.20
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.13.3-0ubuntu1
Architecture: armhf
Date: Mon Mar 31 11:10:16 2014
InstallationDate: Installed on 2014-03-31 (0 days ago)
InstallationMedia: Ubuntu Trusty Tahr (development branch) - armhf (20140331)
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_
SHELL=/bin/bash
SourcePackage: click
UpgradeStatus: No upgrade log present (probably fresh install)
The error you report in the bug title is from apport, not click. The click crash itself is basically the same kind of problem as bug 1297519.