NOTE: I am using the Debian Testing distribution (12.0 as of the time of writing).
Insync crashes when I try to switch the default local sync folder for OneDrive or Google Drive.
The relevant error log running with insync start --no-daemon --debug 1
and performing the sync directory switch operation throws the following:
DEBUG 2021-10-30 06:23:11,751 [unix_socket_server:__handler:162] b'{"command": "show"}'
DEBUG 2021-10-30 06:23:11,755 [base_events:_run_once:1733] poll 776.347 ms took 617.304 ms: 1 events
DEBUG 2021-10-30 06:23:11,758 [base_events:_run_once:1733] poll 157.363 ms took 2.148 ms: 1 events
DEBUG 2021-10-30 06:23:11,772 [base_events:_run_once:1733] poll 151.757 ms took 10.610 ms: 1 events
DEBUG 2021-10-30 06:23:14,316 [base_events:_run_once:1733] poll 786.946 ms took 181.867 ms: 1 events
DEBUG 2021-10-30 06:23:20,302 [base_events:_run_once:1733] poll 391.737 ms took 360.468 ms: 1 events
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
(insync:203049): Gtk-WARNING **: 06:23:20.329: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Fatal Python error: Aborted
Thread 0x00007fc05ffff640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc07cff9640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc07d7fa640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc07e7fc640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc07effd640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc13ecc5640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc07f7fe640 (most recent call first):
File "threading.py", line 296 in wait
File "concurrent/futures/_base.py", line 427 in result
File "idesksync/shellwork.py", line 154 in get_update
File "idesklinux/unix_socket_server.py", line 188 in _handle_shell_updates
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc07ffff640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc0acff9640 (most recent call first):
File "selectors.py", line 415 in select
File "socketserver.py", line 232 in serve_forever
File "idesklinux/unix_socket_server.py", line 130 in __serve
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc0ad7fa640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc0e77fe640 (most recent call first):
File "ideskheadless/fswatcher.py", line 54 in _poll_devices
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc0e7fff640 (most recent call first):
File "threading.py", line 296 in wait
File "queue.py", line 170 in get
File "ideskheadless/fswatcher.py", line 195 in sync
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc104ff9640 (most recent call first):
File "ideskheadless/inotify_manager.py", line 330 in _pull_loop
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc1057fa640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc105ffb640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc1067fc640 (most recent call first):
File "threading.py", line 296 in wait
File "concurrent/futures/_base.py", line 427 in result
File "idesklinux/qtutil.py", line 48 in invoke_in_qt_thread
File "idesklinux/qtutil.py", line 57 in wrapper
File "ideskui/htmlui.py", line 97 in choose_dir_with_dialog
File "concurrent/futures/thread.py", line 57 in run
File "concurrent/futures/thread.py", line 80 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc1077fe640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc107fff640 (most recent call first):
File "ideskheadless/fswatcher.py", line 54 in _poll_devices
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc124ff9640 (most recent call first):
File "threading.py", line 296 in wait
File "queue.py", line 170 in get
File "ideskheadless/fswatcher.py", line 195 in sync
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc1257fa640 (most recent call first):
File "ideskheadless/inotify_manager.py", line 330 in _pull_loop
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc125ffb640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc1267fc640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc126ffd640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc1277fe640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc127fff640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc13d282640 (most recent call first):
File "concurrent/futures/thread.py", line 78 in _worker
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc13db03640 (most recent call first):
File "ideskcore/mainlogs.py", line 219 in _prune_logs
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Thread 0x00007fc13e4c4640 (most recent call first):
File "selectors.py", line 468 in select
File "asyncio/base_events.py", line 1720 in _run_once
File "asyncio/base_events.py", line 539 in run_forever
File "ideskasync/coreloop.py", line 274 in run_loop
File "threading.py", line 865 in run
File "threading.py", line 917 in _bootstrap_inner
File "threading.py", line 885 in _bootstrap
Current thread 0x00007fc15cf31740 (most recent call first):
File "idesklinux/htmlui_impl.py", line 118 in _get_choose_dir_dialog
File "idesklinux/htmlui_impl.py", line 111 in choose_dir_with_dialog
File "idesklinux/qtutil.py", line 43 in wrapper
File "idesklinux/qtutil.py", line 26 in event
File "idesklinux/main.py", line 74 in start
File "idesklinux/main.py", line 79 in main
File "idesklinux/cli.py", line 90 in start
File "site-packages/click/core.py", line 610 in invoke
File "site-packages/click/core.py", line 1066 in invoke
File "site-packages/click/core.py", line 1259 in invoke
File "site-packages/click/core.py", line 782 in main
File "site-packages/click/core.py", line 829 in __call__
File "insync.py", line 19 in <module>
[1] 203048 abort insync start --no-daemon --debug 2
In short, it looks like gvfs
is missing some gio
library dependencies, which is sort of expected in a Testing environment this early. And GTK is throwing an error that it doesn’t find a certain image file, but I think the former may be the real problem. Plus, a lot of applications usually are packaged for Ubuntu rather than targeting Debian itself.
So, I’m not expecting that Insync works perfectly on Debian 12; that’s anticipated. However, can someone like myself get Insync packaged for Debian 11 and Debian 12? Right now I see that Debian 10 (Buster) is targeted, but a lot of core GUI app dependencies have breaking changes in Debian 11 and 12.
UPDATE: insync-headless is a good workaround to this problem if you don’t care that much about using the GUI.