Has this crash occurred before you've been asked any questions?

It looks like the source_linux.py hook crashed, but then apport crashed
itself when trying to call add_info in a different way.

Code in question (line 639 is marked):
            if os.path.exists(hook):
                try:
                    execfile(hook, symb)
                    try:
                        symb['add_info'](self, ui)
                    except TypeError:
                        # older versions of apport did not pass UI, and hooks 
that
                        # do not require it don't need to take it
>                        symb['add_info'](self)                                 
>                                                                      
                except StopIteration:
                    return True
                except:
                    print >> sys.stderr, 'hook %s crashed:' % hook
                    traceback.print_exc()
                    pass


** Changed in: apport (Ubuntu)
       Status: New => Incomplete

** Changed in: apport (Ubuntu)
   Importance: Undecided => Medium

** Changed in: apport (Ubuntu)
       Status: Incomplete => Triaged

-- 
package-hooks failed in add_hooks_info
https://bugs.launchpad.net/bugs/525211
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to