I have to admit that I cannot make any sense of this. In this code:
if desktop_entry:
name = desktop_entry.getName()
elif self.report.has_key('ExecutablePath'):
name = os.path.basename(self.report['ExecutablePath'])
else:
name = self.cur_package
# translators: first %s: application name, second %s: date, third %s:
time
heading = _('%s closed unexpectedly on %s at %s.') % (name,
date.date(), date.time())
it looks *impossible* to me that "name" does not get defined, since
there is an else: clause.
I also checked that this code hasn't changed in ages, so I don't think
it's fixed in a newer release.
** Changed in: apport (Ubuntu)
Status: New => Incomplete
--
apport-cli crashed with UnboundLocalError in ui_present_crash()
https://bugs.launchpad.net/bugs/221252
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