Insync 3.8.7.50507-1 won't start on Arch (AUR) [fixed via version update]

Hi there,

I get the following error on calling ‘insync start’:

Traceback (most recent call last):
File “insynclinux/gui/insync.py”, line 6, in
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “PyInstaller/loader/pyimod03_importers.py”, line 540, in exec_module
File “insynclinux/gui/cli.py”, line 13, in
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “PyInstaller/loader/pyimod03_importers.py”, line 540, in exec_module
File “insynclinux/headless/cli.py”, line 14, in
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “PyInstaller/loader/pyimod03_importers.py”, line 540, in exec_module
File “ideskheadless/app.py”, line 9, in
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “PyInstaller/loader/pyimod03_importers.py”, line 540, in exec_module
File “ideskheadless/fsimpl.py”, line 6, in
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “PyInstaller/loader/pyimod03_importers.py”, line 540, in exec_module
File “psutil/init.py”, line 102, in
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “PyInstaller/loader/pyimod03_importers.py”, line 540, in exec_module
File “psutil/_pslinux.py”, line 87, in
AttributeError: module ‘psutil_posix’ has no attribute ‘getpagesize’

Am at my wit’s end at the moment, so have resorted to looking for help here …

Thank you.

Hi @yusseri

Can you send us the output of uname -a and ldd --version?
And which Linux distro/version are you using?

Hi. Sorry for the late reply. Didn’t get notified, for some reason. Anyway, I’m using Arch Linux.

uname -a output:

Linux delboy 6.6.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:01:01 +0000 x86_64 GNU/Linux

ldd --version output:

ldd (GNU libc) 2.38
Copyright © 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

Thank you.

Seeing the same issue with the latest version of Insync.

Linux Zeus 6.6.8-AMD #1 SMP PREEMPT_DYNAMIC Thu Dec 21 06:42:31 CET 2023 x86_64 GNU/Linux

Same ldd version 2.38

Can also confirm with latest version of insync (3.8.7.50507):

Linux PC-T 6.6.8-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:00:41 +0000 x86_64 GNU/Linux

There is also a systemd-coredump:

Dez 29 16:23:39 PC-T systemd[1]: Started Process Core Dump (PID 139396/UID 0).
Dez 29 16:23:39 PC-T systemd-coredump[139397]: [🡕] Process 139392 (insync) of user 1000 dumped core.

Stack trace of thread 139392:
#0  0x00007fca7bccf944 _PyObject_New (libpython3.7m.so.1.0 + 0xcf944)
#1  0x00007fca7562563d _ZN6PySide6Signal15registerSignalsEP13SbkObjectTypePK11QMetaObject (libpyside2.abi3.so.5.12 + 0x2563d)
#2  0x00007fca6f7c0ed2 n/a (QtCore.abi3.so + 0x1c0ed2)
#3  0x00007fca6f8bd2bf PyInit_QtCore (QtCore.abi3.so + 0x2bd2bf)
#4  0x00007fca7bd7aa2b _PyImport_LoadDynamicModuleWithSpec (libpython3.7m.so.1.0 + 0x17aa2b)
#5  0x00007fca7bd78963 n/a (libpython3.7m.so.1.0 + 0x178963)
#6  0x00007fca7bc937b8 _PyMethodDef_RawFastCallDict (libpython3.7m.so.1.0 + 0x937b8)
#7  0x00007fca7bc938a5 _PyCFunction_FastCallDict (libpython3.7m.so.1.0 + 0x938a5)
#8  0x00007fca7bc6fcf0 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x6fcf0)
#9  0x00007fca7bd5dfc8 _PyEval_EvalCodeWithName (libpython3.7m.so.1.0 + 0x15dfc8)
#10 0x00007fca7bc92bf8 _PyFunction_FastCallKeywords (libpython3.7m.so.1.0 + 0x92bf8)
#11 0x00007fca7bc68775 n/a (libpython3.7m.so.1.0 + 0x68775)
#12 0x00007fca7bc6f35e _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x6f35e)
#13 0x00007fca7bc67553 n/a (libpython3.7m.so.1.0 + 0x67553)
#14 0x00007fca7bc68775 n/a (libpython3.7m.so.1.0 + 0x68775)
#15 0x00007fca7bc6bc15 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x6bc15)
#16 0x00007fca7bc67553 n/a (libpython3.7m.so.1.0 + 0x67553)
#17 0x00007fca7bc68775 n/a (libpython3.7m.so.1.0 + 0x68775)
#18 0x00007fca7bc6a849 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x6a849)
#19 0x00007fca7bc67553 n/a (libpython3.7m.so.1.0 + 0x67553)
#20 0x00007fca7bc68775 n/a (libpython3.7m.so.1.0 + 0x68775)
#21 0x00007fca7bc6a849 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x6a849)
#22 0x00007fca7bc67553 n/a (libpython3.7m.so.1.0 + 0x67553)
#23 0x00007fca7bc68775 n/a (libpython3.7m.so.1.0 + 0x68775)
#24 0x00007fca7bc6a849 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x6a849)
#25 0x00007fca7bc67553 n/a (libpython3.7m.so.1.0 + 0x67553)
#26 0x00007fca7bc94760 n/a (libpython3.7m.so.1.0 + 0x94760)
#27 0x00007fca7bc94a07 _PyObject_CallMethodIdObjArgs (libpython3.7m.so.1.0 + 0x94a07)
#28 0x00007fca7bd79a7f PyImport_ImportModuleLevelObject (libpython3.7m.so.1.0 + 0x179a7f)
#29 0x00007fca7bd59ce8 n/a (libpython3.7m.so.1.0 + 0x159ce8)
#30 0x00007fca7bc936ae _PyMethodDef_RawFastCallDict (libpython3.7m.so.1.0 + 0x936ae)
#31 0x00007fca7bc938a5 _PyCFunction_FastCallDict (libpython3.7m.so.1.0 + 0x938a5)
#32 0x00007fca7bc93cb6 n/a (libpython3.7m.so.1.0 + 0x93cb6)
#33 0x00007fca7bc93e19 PyObject_CallFunction (libpython3.7m.so.1.0 + 0x93e19)
#34 0x00007fca7bd7a21a PyImport_Import (libpython3.7m.so.1.0 + 0x17a21a)
#35 0x00007fca7bd7a3db PyImport_ImportModule (libpython3.7m.so.1.0 + 0x17a3db)
#36 0x00007fca76a20138 _ZN8Shiboken6Module6importEPKc (libshiboken2.abi3.so.5.12 + 0x20138)
#37 0x00007fca70119206 PyInit_QtGui (QtGui.abi3.so + 0x319206)
#38 0x00007fca7bd7aa2b _PyImport_LoadDynamicModuleWithSpec (libpython3.7m.so.1.0 + 0x17aa2b)
#39 0x00007fca7bd78963 n/a (libpython3.7m.so.1.0 + 0x178963)
#40 0x00007fca7bc937b8 _PyMethodDef_RawFastCallDict (libpython3.7m.so.1.0 + 0x937b8)
#41 0x00007fca7bc938a5 _PyCFunction_FastCallDict (libpython3.7m.so.1.0 + 0x938a5)
#42 0x00007fca7bc6fcf0 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x6fcf0)
#43 0x00007fca7bd5dfc8 _PyEval_EvalCodeWithName (libpython3.7m.so.1.0 + 0x15dfc8)
#44 0x00007fca7bc92bf8 _PyFunction_FastCallKeywords (libpython3.7m.so.1.0 + 0x92bf8)
#45 0x00007fca7bc68775 n/a (libpython3.7m.so.1.0 + 0x68775)
#46 0x00007fca7bc6f35e _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x6f35e)
#47 0x00007fca7bc67553 n/a (libpython3.7m.so.1.0 + 0x67553)
#48 0x00007fca7bc68775 n/a (libpython3.7m.so.1.0 + 0x68775)
#49 0x00007fca7bc6bc15 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x6bc15)
#50 0x00007fca7bc67553 n/a (libpython3.7m.so.1.0 + 0x67553)
#51 0x00007fca7bc68775 n/a (libpython3.7m.so.1.0 + 0x68775)
#52 0x00007fca7bc6a849 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x6a849)
#53 0x00007fca7bc67553 n/a (libpython3.7m.so.1.0 + 0x67553)
#54 0x00007fca7bc68775 n/a (libpython3.7m.so.1.0 + 0x68775)
#55 0x00007fca7bc6a849 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x6a849)
#56 0x00007fca7bc67553 n/a (libpython3.7m.so.1.0 + 0x67553)
#57 0x00007fca7bc68775 n/a (libpython3.7m.so.1.0 + 0x68775)
#58 0x00007fca7bc6a849 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x6a849)
#59 0x00007fca7bc67553 n/a (libpython3.7m.so.1.0 + 0x67553)
#60 0x00007fca7bc94760 n/a (libpython3.7m.so.1.0 + 0x94760)
#61 0x00007fca7bc94a07 _PyObject_CallMethodIdObjArgs (libpython3.7m.so.1.0 + 0x94a07)
#62 0x00007fca7bd79a7f PyImport_ImportModuleLevelObject (libpython3.7m.so.1.0 + 0x179a7f)
#63 0x00007fca7bd59ce8 n/a (libpython3.7m.so.1.0 + 0x159ce8)
ELF object binary architecture: AMD x86-64
Dez 29 16:23:39 PC-T systemd[1]: systemd-coredump@7-139396-0.service: Deactivated successfully.
Dez 29 16:23:39 PC-T systemd[1]: Started Process Core Dump (PID 139402/UID 0).
Dez 29 16:23:39 PC-T systemd-coredump[139406]: [🡕] Process 139391 (insync) of user 1000 dumped core.

Stack trace of thread 139391:
#0  0x00007f148285883c n/a (libc.so.6 + 0x8e83c)
#1  0x00007f1482808668 raise (libc.so.6 + 0x3e668)
#2  0x0000559986061213 n/a (insync + 0x6213)
#3  0x000055998605f15d n/a (insync + 0x415d)
#4  0x00007f14827f1cd0 n/a (libc.so.6 + 0x27cd0)
#5  0x00007f14827f1d8a __libc_start_main (libc.so.6 + 0x27d8a)
#6  0x000055998605d50a n/a (insync + 0x250a)
ELF object binary architecture: AMD x86-64
Dez 29 16:23:39 PC-T systemd[1]: systemd-coredump@8-139402-0.service: Deactivated successfully.

~/.config/Insync/out.txt:

** (process:5991): WARNING **: 18:33:46.157: Failed to load shared library 'libnotify.so.4' referenced by the
typelib: /usr/lib/libgdk_pixbuf-2.0.so.0: undefined symbol: g_task_set_name
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "res
et-dirs"

Downgrade to version 3.8.6.50504 fixes this issue:

sudo pacman -U /var/cache/pacman/pkg/insync-3.8.6.50504-1-x86_64.pkg.tar.zst               1291ms  Fr 16:24
Pakete werden geladen …
Warnung: Downgrade des Paketes insync (3.8.7.50507-1 => 3.8.6.50504-1)
Abhängigkeiten werden aufgelöst …
Nach in Konflikt stehenden Paketen wird gesucht …

Pakete (1) insync-3.8.6.50504-1

Gesamtgröße der installierten Pakete:  344,18 MiB
Größendifferenz der Aktualisierung:     21,38 MiB

:: Installation fortsetzen? [J/n] J
(1/1) Schlüssel im Schlüsselbund werden geprüft                    [------------------------------------] 100%
(1/1) Paket-Integrität wird überprüft                              [------------------------------------] 100%
(1/1) Paket-Dateien werden geladen                                 [------------------------------------] 100%
(1/1) Auf Dateikonflikte wird geprüft                              [------------------------------------] 100%
(1/1) Verfügbarer Festplattenspeicher wird ermittelt               [------------------------------------] 100%
:: Pre-transaction-Hooks werden gestartet …
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 301
:: Paketänderungen werden verarbeitet …
(1/1) Herunterstufung läuft insync                                 [------------------------------------] 100%
:: Post-transaction-Hooks werden gestartet …
( 1/12) Reloading system manager configuration...
( 2/12) Reloading user manager configuration...
( 3/12) Arming ConditionNeedsUpdate...
( 4/12) Updating the MIME type database...
( 5/12) Refreshing PackageKit...
( 6/12) Foreign/AUR package notification
disneyplus 1.0.4-1
enpass-bin 6.9.0.1467-1
icq-bin 10.0.13286-1
libelectron 1.0.17-1
pcsc-cyberjack 3.99.5_SP15-1
youtube 1.1.1-1
( 7/12) Orphaned package notification...
gptfdisk 1.0.9-2
kdsoap-ws-discovery-client 0.3.0-2
kjs 5.113.0-1
linux-zen 6.6.8.zen1-1
nlohmann-json 3.11.2-2
openfortivpn 1.21.0-1
perl-mozilla-ca 20231213-1
python-backcall 0.2.0-8
python-rx 3.2.0-4
spdlog 1.12.0-2
wayland-protocols 1.32-1
( 8/12) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/shells.pacnew
/etc/pacman.conf.pacnew
/etc/pacman.d/mirrorlist.pacnew
Please check and merge
( 9/12) Updating icon theme caches...
(10/12) Updating the desktop file MIME type cache...
(11/12) Performing snapper post snapshots for the following configurations...
==> root: 302
(12/12) Syncing all file systems...

Hello! Could you please let us know if this issue persists on 3.8.7-50508?

Hi there!

Yes, it does, unfortunately.

@yusseri Hello! My apologies for the trouble. I have escalated this to our Linux Team.

I can confirm that this also occurs on Fedora 38 with the latest version

$ uname -a
Linux usersystem 6.6.2-101.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 22 21:31:13 UTC 2023 x86_64 GNU/Linux

$ ldd --version
ldd (GNU libc) 2.37
Copyright © 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

Same errors for me
$ insync
Traceback (most recent call last):
File “insynclinux/gui/insync.py”, line 6, in
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “PyInstaller/loader/pyimod03_importers.py”, line 540, in exec_module
File “insynclinux/gui/cli.py”, line 13, in

AttributeError: module ‘psutil_posix’ has no attribute ‘getpagesize’
[22240] Failed to execute script insync

I’ve also tried downgrading to the previous version of python3-psutil (5.9.5-1.fc38 to 5.9.2-2.fc38) but this does not resolve the issue.

Try this - it just worked for me - simple uninstall of insync, reinstall, and then a manual start worked. Very strange, but it did:

1 Like

Many thanks for linking the thread here and confirming it worked, @9strands!

1 Like

How can i downgrade to 3.8.6? Unfortunately, dont have the .zst file cached and already deleted the package on my cloned insync directory

Hi @trebllaw, may I know the issues on 3.8.7.50516 that prompted you to try downgrading?