** Description changed: - Pode modificar e o sistema trava e não redirecionar para esse bug tracker, abre o navegador em uma nova aba. - Lembrando que antes, sem minhas modificações estava a funcionar normalmente. + Can modify and the system hangs and does not redirect to this bug tracker, the browser opens in a new tab. + Remember that before without my modifications was working normally. I can not add details here because of this. - Leandro Cunha - Student em Sistemas de Informação + Leandro Cunha + Student in Information Systems https://wiki.ubuntu.com/Apport + + # map crash database names to CrashDatabase implementations and URLs + + default = 'ubuntu' + + def get_oem_project(): + '''Determine OEM project name from Distribution Channel Descriptor + + Return None if it cannot be determined or does not exist. + ''' + try: + dcd = open('/var/lib/ubuntu_dist_channel').read() + if dcd.startswith('canonical-oem-'): + return dcd.split('-')[2] + except IOError: + return None + + databases = { + 'ubuntu': { + 'impl': 'launchpad', + 'bug_pattern_url': 'http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml', + 'dupdb_url': 'http://people.canonical.com/~ubuntu-archive/apport-duplicates', + 'distro': 'ubuntu', + #'problem_types': ['Bug', 'Package'], + 'escalation_tag': 'bugpattern-needed', + 'escalated_tag': 'bugpattern-written', + }, + 'canonical-oem': { + 'impl': 'launchpad', + 'bug_pattern_url': 'http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml', + 'project': get_oem_project(), + }, + 'debug': { + # for debugging + 'impl': 'memory', + 'bug_pattern_url': '/tmp/bugpatterns.xml', + 'distro': 'debug' + }, + }
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1590038 Title: Apport-bug Status in apport package in Ubuntu: New Bug description: Can modify and the system hangs and does not redirect to this bug tracker, the browser opens in a new tab. Remember that before without my modifications was working normally. I can not add details here because of this. Leandro Cunha Student in Information Systems https://wiki.ubuntu.com/Apport # map crash database names to CrashDatabase implementations and URLs default = 'ubuntu' def get_oem_project(): '''Determine OEM project name from Distribution Channel Descriptor Return None if it cannot be determined or does not exist. ''' try: dcd = open('/var/lib/ubuntu_dist_channel').read() if dcd.startswith('canonical-oem-'): return dcd.split('-')[2] except IOError: return None databases = { 'ubuntu': { 'impl': 'launchpad', 'bug_pattern_url': 'http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml', 'dupdb_url': 'http://people.canonical.com/~ubuntu-archive/apport-duplicates', 'distro': 'ubuntu', #'problem_types': ['Bug', 'Package'], 'escalation_tag': 'bugpattern-needed', 'escalated_tag': 'bugpattern-written', }, 'canonical-oem': { 'impl': 'launchpad', 'bug_pattern_url': 'http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml', 'project': get_oem_project(), }, 'debug': { # for debugging 'impl': 'memory', 'bug_pattern_url': '/tmp/bugpatterns.xml', 'distro': 'debug' }, } To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1590038/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp