Closing by itself upon moving file to bookmarked folder

Bug #1913644 reported by Fifi Cek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Expired
Low
Unassigned

Bug Description

Problem encountered not before Ubuntu update 18.04.latest to 20.04.2.

Prerequisites:
Few folders are bookmarked to side bar.
Move a file from folder in Nautilus window to one of bookmarked folders, do it by drag and drop.
When dragging over bookmark of move destination directory hit Alt-key to get context menu.
Mouse cursor gets small question mark pictogram.
Select "Move Here" from menu.

Problem:
Open Nautilus window closes immediately.
If to reopen and check destination directory the move operation completed as desired.

Others:
Plain drag and drop without using context menu : window doesn't close - as expected.

Userspace log:
21:51:06 nautilus: Error reading events from display: Invalid argument
21:51:04 nautilus: gdk_window_get_window_type: assertion 'GDK_IS_WINDOW (window)' failed
21:51:01 nautilus: TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str'
21:51:01 nautilus: tip=_('Scan %s for threats...') % file.get_name(),
21:51:01 nautilus: File "/usr/share/nautilus-python/extensions/clamtk-gnome.py", line 64, in get_file_items
21:51:01 nautilus: Traceback (most recent call last):
21:51:01 nautilus: TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str'
21:51:01 nautilus: tip=_('Scan %s for threats...') % file.get_name(),
21:51:01 nautilus: File "/usr/share/nautilus-python/extensions/clamtk-gnome.py", line 64, in get_file_items
21:51:01 nautilus: Traceback (most recent call last):
21:50:47 nautilus: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
21:50:46 dbus-daemon: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.143' (uid=1000 pid=14160 comm="/usr/bin/nautilus --gapplication-service " label="unconfined")
21:50:46 dbus-daemon: [session uid=1000 pid=2151] Successfully activated service 'org.gnome.Nautilus'
21:50:46 dbus-daemon: [session uid=1000 pid=2151] Activating service name='org.gnome.Nautilus' requested by ':1.22' (uid=1000 pid=2285 comm="/usr/bin/gnome-shell " label="unconfined")

user45@node13a:~$ sudo ls /var/lib/samba/
private
user45@node13a:~$ sudo apt-cache policy nautilus
nautilus:
  Installed: 1:3.36.3-0ubuntu1
  Candidate: 1:3.36.3-0ubuntu1
  Version table:
 *** 1:3.36.3-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:3.36.1.1-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages

Fifi Cek (fifi-cek)
summary: - Closing upon moving file to bookmarked folder
+ Closing by itself upon moving file to bookmarked folder
description: updated
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, the error is in /usr/share/nautilus-python/extensions/clamtk-gnome.py which seems an extension you installed, could you try removing the corresponding binary and see if that resolves the issue?

Changed in nautilus (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Fifi Cek (fifi-cek) wrote :
Download full text (3.2 KiB)

Thanks for hint.
Indeed clamav + few its graphical packages are installed yet in use.
clamtk-gnome package was removed then Ubuntu restarted.

Subsequently all these below apply:
Problem still reproducible.
user45@node13a:~$ sudo ls -alh /usr/share/nautilus-python/extensions/
[sudo] password for biri:
total 8.0K
drwxr-xr-x 2 root root 4.0K Jan 29 23:54 .
drwxr-xr-x 3 root root 4.0K Aug 2 01:40 ..
user45@node13a:~$

Jan 29 23:57:27 nautilus: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

Jan 29 23:57:27 dbus-daemon: [session uid=1000 pid=1808] Successfully activated service 'org.gnome.Nautilus'
Jan 29 23:57:27 dbus-daemon: [session uid=1000 pid=1808] Successfully activated service 'org.gnome.Nautilus'
Jan 29 23:57:27 dbus-daemon: [session uid=1000 pid=1808] Activating service name='org.gnome.Nautilus' requested by ':1.29' (uid=1000 pid=1942 comm="/usr/bin/gnome-shell " label="unconfined")
Jan 29 23:57:24 nautilus: Error reading events from display: Invalid argument
Jan 29 23:57:24 nautilus: Error reading events from display: Invalid argument
Jan 29 23:57:22 nautilus: ../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window
Jan 29 23:57:22 nautilus: ../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window
Jan 29 23:57:22 nautilus: gdk_window_get_window_type: assertion 'GDK_IS_WINDOW (window)' failed
Jan 29 23:57:19 nautilus: ../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window
Jan 29 23:57:19 nautilus: ../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window
Jan 29 23:57:19 nautilus: ../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window
Jan 29 23:57:18 nautilus: ../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window
Jan 29 23:57:08 nautilus: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

Jan 29 23:57:08 dbus-daemon: [session uid=1000 pid=1808] Activating via systemd: service name='org.gtk.vfs.Metadata' unit='gvfs-metadata.service' requested by ':1.41' (uid=1000 pid=2028 comm="/usr/bin/nautilus --gapplication-service " label="unconfined")
Jan 29 23:57:08 nautilus: ../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window
Jan 29 23:57:08 nautilus: ../../../../../gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window
Jan 29 23:57:05 nautilus: Failed to load module "unity-gtk-module"
Jan 29 23:57:01 gnome-session-b: WARNING: Could not parse desktop file nautilus-autostart.desktop or it references a not found TryExec binary
Jan 29 23:57:01 gnome-session-b: WARNING: Could not parse desktop file nautilus-autostart.desktop or it references a not found TryExec binary
Jan 29 23:57:01 gnome-session-b: gnome-session-binary[1926]: WARNING: Could not parse desktop file nautilus-autostart...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for nautilus (Ubuntu) because there has been no activity for 60 days.]

Changed in nautilus (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.