Insync stopped working, crashes with exception

Insync worked for years. After latest update (apt upgrade) stopped working.
roman@rxps:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy

roman@rxps:~$ insync start --no-daemon
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread
Exception in thread Thread-1:
Traceback (most recent call last):
File “threading.py”, line 980, in _bootstrap_inner
File “threading.py”, line 917, in run
File “idesklinux/app.py”, line 58, in start_core
File “idesklinux/platapp_impl.py”, line 28, in init
File “idesklinux/application_manager.py”, line 26, in init
File “idesklinux/application_manager.py”, line 82, in __index_apps_for_mimetypes
File “idesklinux/application_manager.py”, line 179, in __record_desktop_files
File “idesklinux/application_manager.py”, line 134, in __canonicalize_mimetype
File “xdg/Mime.py”, line 58, in lookup
File “xdg/Mime.py”, line 72, in new
AttributeError: ‘NoneType’ object has no attribute ‘lower’
Terminated

roman@rxps:~$ insync version
3.9.1.60010

It was installed through apt.
I tried to unuinstall and install it again with removing ~/.config/Insync between that.

Please help. Thanks,
Roman

@Roman_Gezikov My apologies! Kindly refer to my response here for more information: New Insync Version: 3.9.0

Thank you!

Hello! The fix is available when you update to 3.9.2.60014: https://www.insynchq.com/downloads/linux

Thank you!

1 Like

I confirm that version 3.9.2.60014 works. Thank you, insync team!

1 Like

Thank you for the update, @Roman_Gezikov! :slight_smile:

I am having the exact same problem (i.e., Exception being thrown in xdg/Mime.py). I have upgraded to insync_3.9.3.60019 and but this hasn’t solved the problem. Should I downgrade to 3.9.2.60014? If so, where can I find this version?
Thanks.

FYI: I had to downgrade all the way to 3.8.7 to get Insync to start working again, FWIW

Hi @tonyfalc! My apologies for the trouble! I’ve reported this to our engineers as it seems like a couple of other users are experiencing the same issue still.

I’ll keep you posted here and in the email thread. Thank you!

I’m having the same issue on Linux Mint 21.3 x86_64 running Gnome 42.9.

How do I downgrade to the 3.8.7 version?

Thanks.

Hi, any progress on this?

Thanks

Hi! I’m following it up with our engineers. Could you please run these 2 commands and send the output here?

lsb_release -a
apt-cache policy insync?

Afterwards, you may downgrade to 3.8.7 here while we wait for further instructions from our Linux engineer. Thank you!

Thanks Mia,

The first command returns:

  $ lsb_release -a
    No LSB modules are available.
    Distributor ID:	Linuxmint
    Description:	Linux Mint 21.3
    Release:	21.3
    Codename:	virginia

…and the second one is:

$ apt-cache policy insync?
insync-dolphin:
  Installed: (none)
  Candidate: 3.7.9.50368
  Version table:
     3.7.9.50368 500
        500 http://apt.insync.io/mint victoria/contrib amd64 Packages
        500 http://apt.insync.io/mint victoria/contrib i386 Packages
insync-nautilus:
  Installed: (none)
  Candidate: 3.8.2.50468
  Version table:
     3.8.2.50468 500
        500 http://apt.insync.io/mint victoria/contrib amd64 Packages
        500 http://apt.insync.io/mint victoria/contrib i386 Packages
insync:
  Installed: 3.9.3.60019-jammy
  Candidate: 3.9.3.60019-jammy
  Version table:
 *** 3.9.3.60019-jammy 500
        500 http://apt.insync.io/mint victoria/non-free amd64 Packages
        100 /var/lib/dpkg/status
insync-beta:
  Installed: (none)
  Candidate: (none)
  Version table:
insync-caja:
  Installed: (none)
  Candidate: 3.7.9.50368
  Version table:
     3.7.9.50368 500
        500 http://apt.insync.io/mint victoria/contrib amd64 Packages
        500 http://apt.insync.io/mint victoria/contrib i386 Packages
insync-nemo:
  Installed: (none)
  Candidate: 3.7.9.50368
  Version table:
     3.7.9.50368 500
        500 http://apt.insync.io/mint victoria/contrib amd64 Packages
        500 http://apt.insync.io/mint victoria/contrib i386 Packages
insync-beta-mate:
  Installed: (none)
  Candidate: (none)
  Version table:
insync-beta-xfce:
  Installed: (none)
  Candidate: (none)
  Version table:
insync-beta-kde:
  Installed: (none)
  Candidate: (none)
  Version table:
insync-beta-cinnamon:
  Installed: (none)
  Candidate: (none)
  Version table:
insync-beta-ubuntu:
  Installed: (none)
  Candidate: (none)
  Version table:
insync-emblem-icons:
  Installed: (none)
  Candidate: 3.4.2.40983
  Version table:
     3.4.2.40983 500
        500 http://apt.insync.io/mint victoria/contrib amd64 Packages
        500 http://apt.insync.io/mint victoria/contrib i386 Packages
insync-thunar:
  Installed: (none)
  Candidate: 3.7.9.50368
  Version table:
     3.7.9.50368 500
        500 http://apt.insync.io/mint victoria/contrib amd64 Packages
        500 http://apt.insync.io/mint victoria/contrib i386 Packages
insync-headless:
  Installed: (none)
  Candidate: 3.2.7.10758-buster
  Version table:
     3.2.7.10758-buster 500
        500 http://apt.insync.io/mint victoria/non-free amd64 Packages

Apologies for the late revert, @davidjackson-uk!

Please let me know if downgrading to 3.8.7 helped while we work this out.

Hello! Please upgrade your Insync version to the latest one from here: https://www.insynchq.com/downloads/linux

Please report any issue/s you might find on v3.9.4. Thank you!

All fixed - thanks! I am now in sync once more :grinning:

1 Like

Happy to hear this, @davidjackson-uk! Thank you for your feedback :slight_smile: