Insync not working with Ubuntu Jammy (FIXED)

Slightly different crashdump

$ insync start --no-daemon
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
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 265]: 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 265]: option 'application/xhtml+xml' in section 'Default Applications' already exists
INFO     2022-04-06 16:09:02,626 [mainlogs:_log_run:139] Core(app_version=3.7.3.50326, platform=Linux-x86_64-ubuntu/22.04) initialized
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
Fatal Python error: Aborted

Thread 0x00007f45537fe640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4553fff640 (most recent call first):
  File "ideskcore/mainlogs.py", line 219 in _prune_logs
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f4570bfe640 (most recent call first):
  File "threading.py", line 296 in wait
  File "concurrent/futures/_base.py", line 430 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 69 in show
  File "ideskui/appui.py", line 92 in __check_accounts
  File "asyncio/events.py", line 88 in _run
  File "asyncio/base_events.py", line 1786 in _run_once
  File "asyncio/base_events.py", line 541 in run_forever
  File "ideskasync/coreloop.py", line 274 in run_loop
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007f45713ff640 (most recent call first):
  File "threading.py", line 296 in wait
  File "concurrent/futures/_base.py", line 430 in result
  File "idesklinux/main.py", line 45 in start_core
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Current thread 0x00007f45923f1000 (most recent call first):
  File "idesklinux/htmlui_impl.py", line 67 in show
  File "idesklinux/qtutil.py", line 43 in wrapper
  File "idesklinux/qtutil.py", line 26 in event
  File "idesklinux/main.py", line 77 in start
  File "idesklinux/main.py", line 82 in main
  File "idesklinux/cli.py", line 90 in start
  File "click/core.py", line 610 in invoke
  File "click/core.py", line 1066 in invoke
  File "click/core.py", line 1259 in invoke
  File "click/core.py", line 782 in main
  File "click/core.py", line 829 in __call__
  File "insync.py", line 19 in <module>
Aborted (core dumped)

Will have this checked out @elzxr!

1 Like

I’ve got the same problem, do we have an update on the timeline for a fix?

1 Like

I can confirm the issue as well on a group of test machines, please advise.

I confirm the issue on Kubuntu 22.04 (beta).

1 Like

Thank you for reporting this and my apologies for the trouble!

Our Linux team has lined this up as a priority so that we can catch up with the official release. I will be updating this thread once the build is out. We appreciate your patience!

Same error - KUbuntu 22.04 + Dell XPS 9510
The workaround is to remove libstdc++.so.6:

sudo mv /usr/lib/insync/./libstdc++.so.6 /usr/lib/insync/./libstdc++.so.6.bak

Insync starts and seems to be working fine. @mia - I hope this helps

12 Likes

Thank you for sharing the workaround, @Andrei_Karneyenka! This is very much appreciated.

I have also forwarded this to our engineer for reference.

Confirming that this workaround works for me too

1 Like

After installation, it is not possible to choose the destination folder for the files, the software closes “bug”. It is still not possible to use it on Ubuntu 22.04, even with removing the lib libstdc++.so

How do I get the beta version for Jammy. Will test it also, and see if I have same issue.

Henry

@Andrei_Karneyenka this issue has plagued me for weeks, and your workaround worked perfectly. Thank you!

1 Like

@Andrei_Karneyenka @mia
I can also confirm this workaround allows the app to run on a few LG Gram test systems. Thank you.

1 Like

This same issue (and the workaround) applies to Fedora 36. It would be good if your Linux team was a little bit more proactive about this sort of thing. Generally both Fedora and Ubuntu put out releases in April and October. Betas typically go out a month in advance. Your Linux team should start testing as soon as the beta comes out.

2 Likes

Hi @reiscw,

Thank you for the feedback, I will send this to our Linux Team so we can line up improvements in our processes regarding updates and beta releases. :slight_smile:

Just piling on here in support for Ubuntu 22 support.

Perhaps when Ubuntu opens their betas, Insync could open the apt repos for that version, with the idea that its in beta and might not be stable yet. I think most users would be happy to try it out.

3 Likes

Thank you for the feedback and suggestion, @apockill :slight_smile: I will bring this up with our Linux Team.

Is there an ETA as to when my Insync will work on Ubuntu 22.04?

Hello, we are working on releasing the official build in an upcoming version release.

In the meantime, we suggest to use the workaround provided above. Thank you!

Also, I’m not sure if anyone else has this issue with trying to share from Nautilus, but when I use the “Share” option it causes the app to shut down (“View on the web” works fine).