Bug #13174
Nautilus complains a lot about failed assertion, spamming the logs
0%
Description
Other log spam we could get rid of for the sake of debugging, in Tails or at least in WhisperBack, is:
amnesia nautilus[23505]: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed
(sometimes instead of amnesia nautilus it says amnesia nautilus-deskto or other services)
Subtasks
Related issues
Related to Tails - |
Resolved | 2016-08-18 | |
Related to Tails - |
Resolved | 2016-08-18 |
History
#1 Updated by emmapeel 2017-06-27 08:17:29
- related to
Bug #11661: gnome-settings-daemon warns (a lot) about missing PackageKit added
#2 Updated by emmapeel 2017-06-27 08:17:53
- related to
Bug #11662: XkbComp complains (warning) and spams the logs added
#3 Updated by intrigeri 2017-06-27 12:08:17
- Assignee set to emmapeel
- Type of work changed from Code to Communicate
Thanks. I did the technical part of the investigation, I’ll let you handle the next step of the bug reporting process.
The corresponding code is: https://sources.debian.net/src/nautilus/3.22.1-2/libnautilus-extension/nautilus-menu-provider.c/?hl=127#L127
This was reported in Ubuntu (https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1429535), where someone suggests the culprit might be python-nautilus
. I don’t see this error on a sid system without anything installed in /usr/share/nautilus-python/extensions/
. Installing a single package that ships something in there (e.g. mat
or nautilus-image-manipulator
) and restarting Nautilus is enough to make these errors appears in the logs. So this indeed seems like a bug in python-nautilus
. It might be that thinks like PyObject_IsSubclass(type, (PyObject*)&PyNautilusMenuProvider_Type
(in src/nautilus-python-object.c
) need to be adjusted wrt. Python Nautilus extensions using GObject introspection, and not some older technology.
So next step is to report this to nautilus-python
upstream: https://bugzilla.gnome.org/.
#4 Updated by emmapeel 2017-06-28 08:17:21
- Status changed from Confirmed to In Progress
- Assignee deleted (
emmapeel)
intrigeri wrote:
>
> So next step is to report this to nautilus-python
upstream: https://bugzilla.gnome.org/.
That is now
#5 Updated by intrigeri 2017-06-28 08:41:26
- Status changed from In Progress to Rejected
> https://bugzilla.gnome.org/show_bug.cgi?id=784278
Thanks! I’ll follow up there. I don’t think we’re going to work on this ourselves so I’m closing this ticket.
#6 Updated by intrigeri 2017-12-07 05:51:23
Upstream documented a trivial workaround (that each affected extension can apply) and closed the bug for now. They’ll discuss whether they want to change Nautilus to fix the problem without patching extensions, but in the meantime I’m going to submit merge requests to the two affected extensions we ship (MAT and OnionShare) with the workaround.
#7 Updated by intrigeri 2017-12-07 06:08:10
- MAT: https://0xacab.org/mat/mat/merge_requests/4
- OnionShare: https://github.com/micahflee/onionshare/pull/487
=> calling this done on our side.