Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport/report.py", line 205, in _run_hook symb['add_info'](report, ui) File "/usr/share/apport/package-hooks/source_firefox.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_firefox.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.7/re.py", line 192, in sub return _compile(pattern, flags).sub(repl, string, count) TypeError: expected string or bytes-like object