[Bug 1908011] [NEW] Apport crashes during handling package-hooks and re compile

Launchpad Bug Tracker 1908011 at bugs.launchpad.net
Mon Dec 11 21:25:21 UTC 2023


You have been subscribed to a public bug:

Below console output should be self-explaining, don't hesitate to ask
for any further info

nusch at xps13:/tmp$ ubuntu-bug thunderbird
ERROR: hook /usr/share/apport/package-hooks/source_thunderbird.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 218, in _run_hook
    symb['add_info'](report, ui)
  File "/usr/share/apport/package-hooks/source_thunderbird.py", line 1386, in add_info
    if (profile.current or profile.default) and profile.addon_compat_check_disabled:
  File "/usr/share/apport/package-hooks/source_thunderbird.py", line 1227, in addon_compat_check_disabled
    is_nightly = re.sub(r'^[^\.]+\.[0-9]+([a-z0-9]*).*', r'\1', self.last_version) == 'a1'
  File "/usr/lib/python3.6/re.py", line 191, in sub
    return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: apport 2.20.9-0ubuntu7.20
Uname: Linux 5.10.0-051000rc6-generic x86_64
ApportLog:
 
ApportVersion: 2.20.9-0ubuntu7.20
Architecture: amd64
CrashReports: 644:0:118:316:2020-12-09 17:54:46.572232715 +0100:2020-11-25 03:58:44.990978419 +0100:/var/crash/kexec_cmd
CurrentDesktop: ubuntu:GNOME
Date: Mon Dec 14 02:27:16 2020
InstallationDate: Installed on 2015-05-08 (2046 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus: Upgraded to bionic on 2018-08-26 (840 days ago)

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


** Tags: amd64 apport-bug bionic third-party-packages
-- 
Apport crashes during handling package-hooks and re compile
https://bugs.launchpad.net/bugs/1908011
You received this bug notification because you are a member of Mozilla Bugs, which is subscribed to thunderbird in Ubuntu.



More information about the Ubuntu-mozillateam-bugs mailing list