bpozdena / OneDriveGUI

A simple GUI for OneDrive Linux client with multi-account support.
GNU General Public License v3.0
756 stars 34 forks source link

libreadline.so.8 no version information available (required by sh) #205

Open jdonadob opened 1 day ago

jdonadob commented 1 day ago

OneDriveGUI-1.1.1-x86_64.AppImage don't start sync. Show this error message:

sh: /tmp/.mount_OneDriHa61iy/lib/x86_64-linux-gnu/libreadline.so.8: no version information available (required by sh) sh: /tmp/.mount_OneDriHa61iy/lib/x86_64-linux-gnu/libreadline.so.8: no version information available (required by sh) sh: /tmp/.mount_OneDriHa61iy/lib/x86_64-linux-gnu/libreadline.so.8: no version information available (required by sh) sh: /tmp/.mount_OneDriHa61iy/lib/x86_64-linux-gnu/libreadline.so.8: no version information available (required by sh) sh: symbol lookup error: sh: undefined symbol: rl_set_timeout, version READLINE_8.2

OS: openSUSE Tumbleweed x86_64 Host: Victus by HP Gaming Laptop 15-fb0xxx Kernel: 6.11.5-2-default Uptime: 14 mins Packages: 211 (pip), 3393 (rpm), 2 (steam), 27 (flatpak-system) Shell: bash 5.2.37 Resolution: 1920x1080 DE: Plasma 6.2.2 [KF 6.7.0] [Qt 6.8.0] (wayland) WM: kwin_wayland_wr Theme: Breeze-Dark [GTK2/3] Icons: breeze-dark [GTK2/3] Terminal: konsole Terminal Font: Hack 11 CPU: AMD Ryzen 5 5600H (12) @ 4.280GHz GPU: NVIDIA GeForce RTX 3050 Mobile GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series Memory: 4799.70 MiB / 15318.64 MiB

zypper se READLINE Cargando datos del repositorio... Leyendo los paquetes instalados...

S | Name | Summary | Type ---+--------------------------+----------------------------------------------------------------+-------- | libguilereadline-v-17-17 | GUILE (GNU's Ubiquitous Intelligent Language for Extension). | paquete | libreadline-java | Java Wrapper for the EditLine Library | paquete | libreadline-java-javadoc | Javadoc for libreadline-java | paquete | libreadline5 | Biblioteca Readline | paquete | libreadline6 | Biblioteca Readline | paquete i+ | libreadline8 | Biblioteca Readline | paquete | libreadline8-32bit | Biblioteca Readline | paquete | lua51-readline | a simple interface to the readline and history libraries | paquete | lua53-readline | a simple interface to the readline and history libraries | paquete | lua54-readline | a simple interface to the readline and history libraries | paquete | perl-Term-ReadLine-Gnu | Perl extension for the GNU Readline/History Library | paquete | php8-readline | PHP readline extension | paquete | python310-urwid-readline | Text input widget for urwid that supports readline shortcuts | paquete | python311-urwid-readline | Text input widget for urwid that supports readline shortcuts | paquete | python312-urwid-readline | Text input widget for urwid that supports readline shortcuts | paquete | readline-devel | Development files for readline | paquete | readline-devel-32bit | Development files for readline | paquete | readline-devel-static | Static library for development with readline | paquete i+ | readline-doc | Documentation how to Use and Program with the Readline Library | paquete | readline5-devel | Development files for the readline library version 5 | paquete | readline6-devel | Development files for the readline library version 6 | paquete

zypper se libreadline Cargando datos del repositorio... Leyendo los paquetes instalados...

S | Name | Summary | Type ---+--------------------------+---------------------------------------+-------- | libreadline-java | Java Wrapper for the EditLine Library | paquete | libreadline-java-javadoc | Javadoc for libreadline-java | paquete | libreadline5 | Biblioteca Readline | paquete | libreadline6 | Biblioteca Readline | paquete i+ | libreadline8 | Biblioteca Readline | paquete | libreadline8-32bit | Biblioteca Readline | paquete

bpozdena commented 1 day ago

I'm not sure how to best resolve the dependency for you without braking the AppImage for everyone else. I'll need to install and test on tumbleweed. I'm just not sure when I'll get time for it though.

You can run the GUI from source as a workaround in the meantime.

jdonadob commented 1 day ago

I followed the steps described in the INSTALL.md file. Then I run "python3 OneDriveGUI.py", but even though the application starts, it does not start the synchronization.

bpozdena commented 1 day ago

Please share the logs.

jdonadob commented 21 hours ago

I'm not sure where the logs are.

bpozdena commented 21 hours ago

In the terminal where you launch the GUI from?

jdonadob commented 20 hours ago

Terminal didn't show any error. So I set Log level to Info and show this now:

python3 ./OneDriveGUI.py 2024-11-07 08:02:11,974 [OneDriveGUI.py:3234][fn=][INFO] - Starting OneDriveGUI v1.1.1 2024-11-07 08:02:11,975 [OneDriveGUI.py:3151][fn=config_client_bin_path][INFO] - Onedrive client location: 'onedrive' 2024-11-07 08:02:11,990 [OneDriveGUI.py:3055][fn=save_global_config][INFO] - johan config saved 2024-11-07 08:02:11,990 [OneDriveGUI.py:3057][fn=save_global_config][INFO] - All configs saved 2024-11-07 08:02:12,122 [OneDriveGUI.py:3069][fn=main_window_start_state][INFO] - [GUI] Starting OneDriveGUI minimized to system tray 2024-11-07 08:02:12,123 [OneDriveGUI.py:1108][fn=init][INFO] - johan 2024-11-07 08:02:13,073 [OneDriveGUI.py:1945][fn=init][INFO] - [GUI] Starting worker for profile johan 2024-11-07 08:02:13,074 [OneDriveGUI.py:2548][fn=start_onedrive_monitor][INFO] - [GUI] Opening external login window 2024-11-07 08:02:13,085 [OneDriveGUI.py:2022][fn=read_stdout][INFO] - [johan] Reading configuration file: /home/johan/.config/onedrive/accounts/johan/config 2024-11-07 08:02:13,086 [OneDriveGUI.py:2022][fn=read_stdout][INFO] - [johan] Invalid value for key in config file - using default value: monitor_interval 2024-11-07 08:02:13,086 [OneDriveGUI.py:2022][fn=read_stdout][INFO] - [johan] Invalid value for key in config file - using default value: monitor_fullscan_frequency 2024-11-07 08:02:13,086 [OneDriveGUI.py:2022][fn=read_stdout][INFO] - [johan] The option 'sync_business_shared_folders' has been deprecated and the process for synchronising Microsoft OneDrive Business Shared Folders has changed. 2024-11-07 08:02:13,086 [OneDriveGUI.py:2022][fn=read_stdout][INFO] - [johan] Please review the revised documentation on how to correctly configure this application feature. 2024-11-07 08:02:13,086 [OneDriveGUI.py:2022][fn=read_stdout][INFO] - [johan] You must update your client configuration and make changes to your local filesystem and online data to use this capability. 2024-11-07 08:02:13,086 [OneDriveGUI.py:2022][fn=read_stdout][INFO] - [johan] Configuration file has errors - please check your configuration 2024-11-07 08:02:14,688 [OneDriveGUI.py:2560][fn=][INFO] - finished worker johan 2024-11-07 08:02:14,688 [OneDriveGUI.py:1956][fn=stop_worker][INFO] - [johan] Waiting for worker to finish... 2024-11-07 08:02:14,688 [OneDriveGUI.py:1960][fn=stop_worker][INFO] - [johan] Quitting thread 2024-11-07 08:02:14,688 [OneDriveGUI.py:1963][fn=stop_worker][INFO] - [johan] Removing thread info 2024-11-07 08:02:14,689 [OneDriveGUI.py:1966][fn=stop_worker][INFO] - [GUI] Remaining running workers: {}

bpozdena commented 20 hours ago

Great. All works as expected.

Now you just need to read the error message in the GUI, or in the messages in logs. Or you can read the readme file. You can also search in closed issues, you can search on Google, or you can also search on the onedrive documentation. I'm sure you can.

If you cannot search, you can read this exact document .

jdonadob commented 20 hours ago

The problem was the sync_business_shared_folders option in the configuration file. I removed it and it worked.

bpozdena commented 20 hours ago

Great. I will keep the issue open and try to fix the AppImage later. There will likely be more users with similar issues on Tumbleweed.

jdonadob commented 20 hours ago

Even though the AppImage shows messages about libreadline.so.8, it now syncs.