Public bug reported:

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

nusch@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: apport (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic third-party-packages

-- 
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/1908011

Title:
  Apport crashes during handling package-hooks and re compile

Status in apport package in Ubuntu:
  New

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

  nusch@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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1908011/+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

Reply via email to