Insync stopped working on Linux. Does not start correctly (Fixed. Corrupted settings.db)

Insync stopped working on Ubuntu.

insync start --no-daemon

WARNING:root:While reading /usr/share/applications/defaults.list
Traceback (most recent call last):
  File "idesklinux/application_manager.py", line 53, in __index_default_apps
  File "configparser.py", line 696, in read
  File "configparser.py", line 1091, in _read
configparser.DuplicateOptionError: While reading from '/usr/share/applications/defaults.list' [line 285]: option 'application/xhtml+xml' in section 'Default Applications' already exists
WARNING:root:While reading /usr/share/applications/defaults.list
Traceback (most recent call last):
  File "idesklinux/application_manager.py", line 53, in __index_default_apps
  File "configparser.py", line 696, in read
  File "configparser.py", line 1091, in _read
configparser.DuplicateOptionError: While reading from '/usr/share/applications/defaults.list' [line 285]: option 'application/xhtml+xml' in section 'Default Applications' already exists
WARNING:root:While reading /usr/share/applications/defaults.list
Traceback (most recent call last):
  File "idesklinux/application_manager.py", line 70, in __index_apps_for_mimetypes
  File "configparser.py", line 696, in read
  File "configparser.py", line 1091, in _read
configparser.DuplicateOptionError: While reading from '/usr/share/applications/defaults.list' [line 285]: option 'application/xhtml+xml' in section 'Default Applications' already exists
WARNING:root:While reading /usr/share/applications/defaults.list
Traceback (most recent call last):
  File "idesklinux/application_manager.py", line 70, in __index_apps_for_mimetypes
  File "configparser.py", line 696, in read
  File "configparser.py", line 1091, in _read
configparser.DuplicateOptionError: While reading from '/usr/share/applications/defaults.list' [line 285]: option 'application/xhtml+xml' in section 'Default Applications' already exists
INFO     2022-03-18 15:09:36,270 [mainlogs:_log_run:139] Core(app_version=3.7.3.50326, platform=Linux-x86_64-ubuntu/21.10) initialized
WARNING  2022-03-18 15:09:36,434 [base_events:_run_once:1782] Executing <Task pending coro=<init() running at ideskcore/core.py:148> wait_for=<Task pending coro=<SettingsMain._load_settings() running at ideskcore/mainsettings.py:179> cb=[_log_tb_after_delay() at ideskasync/coreloop.py:303, <TaskWakeupMethWrapper object at 0x7f2724e3d050>()] created at ideskcore/mainsettings.py:157> cb=[_log_tb_after_delay() at ideskasync/coreloop.py:303, _chain_future.<locals>._call_set_state() at asyncio/futures.py:358] created at asyncio/events.py:88> took 22.967 seconds
WARNING  2022-03-18 15:09:37,269 [base_events:_run_once:1782] Executing <Task finished coro=<SettingsMain._load_settings() done, defined at ideskcore/mainsettings.py:179> result=None created at ideskcore/mainsettings.py:157> took 0.834 seconds
Traceback (most recent call last):
  File "idesklinux/statusmenu_impl.py", line 102, in <lambda>
  File "ideskui/statusmenu.py", line 9, in do_action
  File "idesklinux/platui_impl.py", line 57, in do_action
AttributeError: 'NoneType' object has no attribute 'show_app_dialog'
INFO     2022-03-18 15:11:18,940 [inotify_manager:__init__:132] INotifyManager FS_ENCODING: utf-8
INFO     2022-03-18 15:11:18,940 [fswatcher:_start:57] LinuxFSWatcher._start
INFO     2022-03-18 15:11:18,941 [inotify_manager:_pull_loop:319] Inotify loop enter
INFO     2022-03-18 15:11:23,092 [fswatcher:watch:77] watch origin: /home/krod/Insync/drive/Google Drive
INFO     2022-03-18 15:11:23,143 [inotify_manager:__init__:132] INotifyManager FS_ENCODING: utf-8
INFO     2022-03-18 15:11:23,144 [fswatcher:_start:57] LinuxFSWatcher._start
INFO     2022-03-18 15:11:23,145 [inotify_manager:_pull_loop:319] Inotify loop enter

Seems like the settings.db was corrupted causing Insync to not start. I deleted settings.db and again added the accounts. Now it works fine.

location: ~/.config/Insync/settings.db

Hi @krod16!! :slight_smile:

Thank you for posting it here as well as for updating me via email :slight_smile: I appreciate it!