Insync not working with Ubuntu Jammy (FIXED)

Ubuntu will release “Jammy” or 22.04 on April 21st.

I’m currently using the beta but Insync will not start. I’ve tried using “focal” and “impish” repositories. The “jammy” one isn’t enabled yet. When I try to start it, either from the GUI or command line, I see the icon flash in the task bar but dissappears.

Thanks!

8 Likes

I am having the same issue using Jammy and the latest Insync.

Here is the traceback of out.txt when I try to click on the Insync icon and then on “Open app window”:

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) 

same problem, doesn’t work on ubuntu 22.04

Same problem. Insync doesn’t work on Ubuntu 22.04.

Yep, same here. It would be good to get this working ASAP.

that’s the output from: 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
INFO     2022-04-02 09:11:16,499 [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 0x00007f0b38bff640 (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 0x00007f0b3bfff640 (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 0x00007f0b58bfe640 (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 0x00007f0b593ff640 (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 0x00007f0b7afe8000 (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)

it looks like insync client is looking for shared libs like mesa and glibc in the wrong directories. This should be a simple fix.

3 Likes

Hey everyone!

I have alerted our Linux team regarding the urgency of the situation. I’ll update you what steps we’ll be taking in order to ensure that this is addressed as soon as possible.

5 Likes

Thanks for that Mia, I have used Insync on Different Distros, the only distro that it alwyas works perfectly is Ubunut. I am 100% Sure that we will have support for the Next LTS on Day 1.

1 Like

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