uncaught TypeError triggers ValueError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
Fix Released
|
High
|
Unassigned | ||
apport (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
nautilus (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
$ ubuntu-bug nautilus
ERROR: hook /usr/share/
Traceback (most recent call last):
File "/usr/lib/
symb[
TypeError: add_info() takes 1 positional argument but 2 were given
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/
symb[
File "/usr/share/
report[
File "/usr/lib/
map(max, [map(len, t) for t in zip(*versions)])
ValueError: not enough values to unpack (expected 2, got 0)
This tool has been deprecated, use 'gio open' instead.
See 'gio help open' for more info.
$ Created new window in existing browser session.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: apport 2.20.7-0ubuntu3
ProcVersionSign
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CrashReports:
640:121:
640:0:
640:1000:
664:1000:
600:112:
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 15 17:52:08 2017
InstallationDate: Installed on 2017-10-03 (12 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170926)
PackageArchitec
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
CVE References
Changed in apport (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in apport (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Medium → High |
Changed in apport: | |
status: | New → Fix Released |
importance: | Undecided → High |
Changed in nautilus (Ubuntu): | |
assignee: | nobody → Canonical Desktop Team (canonical-desktop-team) |
Changed in nautilus (Ubuntu): | |
status: | Triaged → Fix Committed |
There are two issues here, one with apport and another with nautilus. The nautilus package ships an apport-package hook and it is looking for information about plugins in /usr/lib/nautilus which is not where they are stored anymore.
12 # collect informations on the /usr/lib/nautilus components "/usr/lib/ nautilus" ): join(dirpath, filename) packaging. get_file_ package( path)
13 plugin_packages = set()
14 for dirpath, dirnames, filenames in os.walk(
15 for filename in filenames:
16 path = os.path.
17 package = apport.
18 if package == 'nautilus':
19 continue
$ ls /usr/lib/nautilus/ nautilus/ ': No such file or directory
ls: cannot access '/usr/lib/
I think they've moved to /usr/lib/ x86_64- linux-gnu/ nautilus/ extensions- 3.0. Regardless, the apport package hook from nautilus needs updating.