Public bug reported:

Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 103, in 
apport_excepthook
    pr.add_proc_info(extraenv=['PYTHONPATH', 'PYTHONHOME'])
  File "/usr/lib/python3/dist-packages/apport/report.py", line 546, in 
add_proc_info
    ret = self.get_logind_session(pid)
  File "/usr/lib/python3/dist-packages/apport/report.py", line 1593, in 
get_logind_session
    if len(my_cgroup) < 2:
UnboundLocalError: local variable 'my_cgroup' referenced before assignment


Well looking at the code, "if len(my_cgroup) <2" is never executed when 
my_cgroup is assigned....

** Affects: apport
     Importance: Undecided
         Status: New

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: apport (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1296026

Title:
  apport crashes at reading cgroup

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/1296026/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to