InSync fails to launch on Fedora 39

Hi there,

Today I realize that InSync fails to launch on my Fedora 39 workstation. It was working fine before, so perhaps an update broke something.

If I go in terminal and type insync I get:

Traceback (most recent call last):
  File "insynclinux/gui/insync.py", line 6, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "PyInstaller/loader/pyimod03_importers.py", line 540, in exec_module
  File "insynclinux/gui/cli.py", line 13, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "PyInstaller/loader/pyimod03_importers.py", line 540, in exec_module
  File "insynclinux/headless/cli.py", line 14, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "PyInstaller/loader/pyimod03_importers.py", line 540, in exec_module
  File "ideskheadless/app.py", line 9, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "PyInstaller/loader/pyimod03_importers.py", line 540, in exec_module
  File "ideskheadless/fsimpl.py", line 6, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "PyInstaller/loader/pyimod03_importers.py", line 540, in exec_module
  File "psutil/__init__.py", line 102, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "PyInstaller/loader/pyimod03_importers.py", line 540, in exec_module
  File "psutil/_pslinux.py", line 87, in <module>
AttributeError: module 'psutil_posix' has no attribute 'getpagesize'
[5803] Failed to execute script insync

Update

I can confirm that it’s just the GUI that’s not working. The incync service seems to be running fine.

Hi @pizzoimpressive

Can you send us the output of uname -a and ldd --version?

Hi, exactly the same thing with me at fedora 39.

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’
[25501] Failed to execute script insync

Linux laptop 6.6.7-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 13 21:43:37 UTC 2023 x86_64 GNU/Linux>

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.

I’ve already tried pip install --upgrade psutil

Linux fedora 6.6.7-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 13 21:43:37 UTC 2023 x86_64 GNU/Linux

ldd (GNU libc) 2.38
Copyright (C) 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.

Hi,

I ran into the same problem. While trying to reinstall Insync, I’ve found that for whatever reason I had 2 versions (3.8.6 & 3.8.7) installed at the same time (seen dnf output below). I removed (uninstalled) both versions and reinstalled the latest (3.8.7) and now everything seems to work (including the gui).

Here’s the dnf output:

ml@ml-asus-fedora ~]$ sudo dnf remove insync
Dépendances résolues.
================================================================================
 Paquet         Architecture   Version                    Dépôt           Taille
================================================================================
Suppression:
 insync         x86_64         3.8.6.50504-fc39           @insync         354 M
 insync         x86_64         3.8.7.50507-fc39           @insync         354 M

Résumé de la transaction
================================================================================
Supprimer  2 Paquets

Espace libéré : 709 M
Voulez-vous continuer ? [o/N] : o
Test de la transaction
La vérification de la transaction a réussi.
Lancement de la transaction de test
Transaction de test réussie.
Exécution de la transaction
  Préparation           :                                                   1/1 
  Exécution du scriptlet: insync-3.8.7.50507-fc39.x86_64                    1/2 
  Suppression de        : insync-3.8.7.50507-fc39.x86_64                    1/2 
  Exécution du scriptlet: insync-3.8.6.50504-fc39.x86_64                    2/2 
  Suppression de        : insync-3.8.6.50504-fc39.x86_64                    2/2 
  Exécution du scriptlet: insync-3.8.6.50504-fc39.x86_64                    2/2 
  Vérification de       : insync-3.8.6.50504-fc39.x86_64                    1/2 
  Vérification de       : insync-3.8.7.50507-fc39.x86_64                    2/2 

Supprimé:
  insync-3.8.6.50504-fc39.x86_64         insync-3.8.7.50507-fc39.x86_64        

Terminé !
1 Like

Thanks, that solved my problem! Actually, I just removed the old version and kept the latest one.

That is indeed the case for me as well. The problem was introduced when updating Fedora from 6.6.6 to 6.6.7

Thank you, mlaverdiere
that solved the problem!

FYI, same issue for me.

It seemed I had two versions somehow in Fedora 39. I removed both and installed the Fedora 39 RPM version of Insync and now it seems to be scanning. Hopefully, it will be fine.

1 Like