bpozdena / OneDriveGUI

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

Ubuntu 24 reports incorrect version #174

Closed ElOxle closed 3 months ago

ElOxle commented 3 months ago

Describe the bug OneDriveGUI won't start on fresh install of Ubuntu 24 after initial profile creation.

To Reproduce Fresh install of Ubuntu 24 Configure OneDrive Run OneDriveGUI Create profile Sync works fine Log off and on Open OneDriveGUI Error shows up saying that version of onedrive needs upgrading, despite it being fully upgraded

Expected behavior OneDriveGui to load and run

Screenshots image

Log

2024-06-09 16:01:34,898 [OneDriveGUI.py:1960][fn=stop_worker][INFO] - [Daniel] Quitting thread
2024-06-09 16:01:35,899 [OneDriveGUI.py:1963][fn=stop_worker][INFO] - [Daniel] Removing thread info
2024-06-09 16:01:35,899 [OneDriveGUI.py:1966][fn=stop_worker][INFO] - [GUI] Remaining running workers: {}
2024-06-09 16:02:03,481 [OneDriveGUI.py:3122][fn=config_client_bin_path][INFO] - Onedrive client location: 'onedrive'
2024-06-09 16:02:03,501 [OneDriveGUI.py:2883][fn=get_installed_client_version][DEBUG] - [GUI] Installed client version is 2425
2024-06-09 16:02:03,504 [OneDriveGUI.py:2918][fn=create_global_config][DEBUG] - [GUI] - loading default config {'onedrive': {'sync_dir': '"~/OneDrive"', 'monitor_interval': '"300"', 'log_dir': '"/var/log/onedrive/"', 'drive_id': '""', 'upload_only': '"false"', 'check_nomount': '"false"', 'check_nosync': '"false"', 'download_only': '"false"', 'disable_notifications': '"false"', 'disable_upload_validation': '"false"', 'enable_logging': '"false"', 'force_http_11': '"false"', 'local_first': '"false"', 'no_remote_delete': '"false"', 'skip_symlinks': '"false"', 'debug_https': '"false"', 'skip_dotfiles': '"false"', 'dry_run': '"false"', 'min_notify_changes': '"5"', 'monitor_log_frequency': '"12"', 'monitor_fullscan_frequency': '"12"', 'sync_root_files': '"false"', 'classify_as_big_delete': '"1000"', 'user_agent': '""', 'remove_source_files': '"false"', 'skip_dir_strict_match': '"false"', 'application_id': '""', 'resync': '"false"', 'bypass_data_preservation': '"false"', 'azure_ad_endpoint': '""', 'azure_tenant_id': '"common"', 'sync_business_shared_items': '"false"', 'sync_dir_permissions': '"700"', 'sync_file_permissions': '"600"', 'rate_limit': '"125000000"', 'operation_timeout': '"3600"', 'webhook_enabled': '"false"', 'webhook_public_url': '""', 'webhook_listening_host': '""', 'webhook_listening_port': '"8888"', 'webhook_expiration_interval': '"86400"', 'webhook_renewal_interval': '"43200"', 'disable_download_validation': '"false"', 'connect_timeout': '"30"', 'data_timeout': '"240"', 'display_running_config': '"false"', 'ip_protocol_version': '"1"', 'threads': '"8"', 'skip_file': '"~*|.~*|*.tmp|*.swp|*.partial"', 'skip_dir': '""'}}
2024-06-09 16:02:03,504 [OneDriveGUI.py:2948][fn=create_global_config][DEBUG] - [GUI]{'Daniel': {'config_file': '/home/daniel/.config/onedrive/accounts/Daniel/config', 'auto_sync': 'False', 'account_type': 'Business', 'free_space': 'Not Available', 'onedrive': {'sync_dir': '"/home/daniel/OneDrive"', 'monitor_interval': '"300"', 'log_dir': '"/var/log/onedrive/"', 'drive_id': '""', 'upload_only': '"false"', 'check_nomount': '"false"', 'check_nosync': '"false"', 'download_only': '"false"', 'disable_notifications': '"false"', 'disable_upload_validation': '"false"', 'enable_logging': '"false"', 'force_http_11': '"false"', 'local_first': '"false"', 'no_remote_delete': '"false"', 'skip_symlinks': '"false"', 'debug_https': '"false"', 'skip_dotfiles': '"false"', 'dry_run': '"false"', 'min_notify_changes': '"5"', 'monitor_log_frequency': '"12"', 'monitor_fullscan_frequency': '"12"', 'sync_root_files': '"false"', 'classify_as_big_delete': '"1000"', 'user_agent': '""', 'remove_source_files': '"false"', 'skip_dir_strict_match': '"false"', 'application_id': '""', 'resync': '"false"', 'bypass_data_preservation': '"false"', 'azure_ad_endpoint': '""', 'azure_tenant_id': '"common"', 'sync_business_shared_items': '"false"', 'sync_dir_permissions': '"700"', 'sync_file_permissions': '"600"', 'rate_limit': '"125000000"', 'operation_timeout': '"3600"', 'webhook_enabled': '"false"', 'webhook_public_url': '""', 'webhook_listening_host': '""', 'webhook_listening_port': '"8888"', 'webhook_expiration_interval': '"86400"', 'webhook_renewal_interval': '"43200"', 'disable_download_validation': '"false"', 'connect_timeout': '"30"', 'data_timeout': '"240"', 'display_running_config': '"false"', 'ip_protocol_version': '"1"', 'threads': '"8"', 'skip_file': '"~*|.~*|*.tmp|*.swp|*.partial"', 'skip_dir': '""'}}}
2024-06-09 16:02:03,505 [OneDriveGUI.py:2960][fn=save_global_config][DEBUG] - [save_global_config]:[1]{'Daniel': {'config_file': '/home/daniel/.config/onedrive/accounts/Daniel/config', 'auto_sync': 'False', 'account_type': 'Business', 'free_space': 'Not Available', 'onedrive': {'sync_dir': '"/home/daniel/OneDrive"', 'monitor_interval': '"300"', 'log_dir': '"/var/log/onedrive/"', 'drive_id': '""', 'upload_only': '"false"', 'check_nomount': '"false"', 'check_nosync': '"false"', 'download_only': '"false"', 'disable_notifications': '"false"', 'disable_upload_validation': '"false"', 'enable_logging': '"false"', 'force_http_11': '"false"', 'local_first': '"false"', 'no_remote_delete': '"false"', 'skip_symlinks': '"false"', 'debug_https': '"false"', 'skip_dotfiles': '"false"', 'dry_run': '"false"', 'min_notify_changes': '"5"', 'monitor_log_frequency': '"12"', 'monitor_fullscan_frequency': '"12"', 'sync_root_files': '"false"', 'classify_as_big_delete': '"1000"', 'user_agent': '""', 'remove_source_files': '"false"', 'skip_dir_strict_match': '"false"', 'application_id': '""', 'resync': '"false"', 'bypass_data_preservation': '"false"', 'azure_ad_endpoint': '""', 'azure_tenant_id': '"common"', 'sync_business_shared_items': '"false"', 'sync_dir_permissions': '"700"', 'sync_file_permissions': '"600"', 'rate_limit': '"125000000"', 'operation_timeout': '"3600"', 'webhook_enabled': '"false"', 'webhook_public_url': '""', 'webhook_listening_host': '""', 'webhook_listening_port': '"8888"', 'webhook_expiration_interval': '"86400"', 'webhook_renewal_interval': '"43200"', 'disable_download_validation': '"false"', 'connect_timeout': '"30"', 'data_timeout': '"240"', 'display_running_config': '"false"', 'ip_protocol_version': '"1"', 'threads': '"8"', 'skip_file': '"~*|.~*|*.tmp|*.swp|*.partial"', 'skip_dir': '""'}}}
2024-06-09 16:02:03,533 [OneDriveGUI.py:3026][fn=save_global_config][INFO] - Daniel config saved
2024-06-09 16:02:03,533 [OneDriveGUI.py:3028][fn=save_global_config][INFO] - All configs saved
2024-06-09 16:02:03,533 [OneDriveGUI.py:3029][fn=save_global_config][DEBUG] - {'Daniel': {'config_file': '/home/daniel/.config/onedrive/accounts/Daniel/config', 'auto_sync': 'False', 'account_type': 'Business', 'free_space': 'Not Available', 'onedrive': {'sync_dir': '"/home/daniel/OneDrive"', 'monitor_interval': '"300"', 'log_dir': '"/var/log/onedrive/"', 'drive_id': '""', 'upload_only': '"false"', 'check_nomount': '"false"', 'check_nosync': '"false"', 'download_only': '"false"', 'disable_notifications': '"false"', 'disable_upload_validation': '"false"', 'enable_logging': '"false"', 'force_http_11': '"false"', 'local_first': '"false"', 'no_remote_delete': '"false"', 'skip_symlinks': '"false"', 'debug_https': '"false"', 'skip_dotfiles': '"false"', 'dry_run': '"false"', 'min_notify_changes': '"5"', 'monitor_log_frequency': '"12"', 'monitor_fullscan_frequency': '"12"', 'sync_root_files': '"false"', 'classify_as_big_delete': '"1000"', 'user_agent': '""', 'remove_source_files': '"false"', 'skip_dir_strict_match': '"false"', 'application_id': '""', 'resync': '"false"', 'bypass_data_preservation': '"false"', 'azure_ad_endpoint': '""', 'azure_tenant_id': '"common"', 'sync_business_shared_items': '"false"', 'sync_dir_permissions': '"700"', 'sync_file_permissions': '"600"', 'rate_limit': '"125000000"', 'operation_timeout': '"3600"', 'webhook_enabled': '"false"', 'webhook_public_url': '""', 'webhook_listening_host': '""', 'webhook_listening_port': '"8888"', 'webhook_expiration_interval': '"86400"', 'webhook_renewal_interval': '"43200"', 'disable_download_validation': '"false"', 'connect_timeout': '"30"', 'data_timeout': '"240"', 'display_running_config': '"false"', 'ip_protocol_version': '"1"', 'threads': '"8"', 'skip_file': '"~*|.~*|*.tmp|*.swp|*.partial"', 'skip_dir': '""'}}}
2024-06-09 16:02:04,752 [OneDriveGUI.py:3047][fn=main_window_start_state][INFO] - [GUI] Starting OneDriveGUI maximized
2024-06-09 16:02:04,753 [OneDriveGUI.py:1108][fn=__init__][INFO] - Daniel
2024-06-09 16:02:05,257 [connectionpool.py:1055][fn=_new_conn][DEBUG] - Starting new HTTPS connection (1): api.github.com:443
2024-06-09 16:02:05,435 [connectionpool.py:549][fn=_make_request][DEBUG] - https://api.github.com:443 "GET /repos/abraunegg/onedrive/releases/latest HTTP/1.1" 200 1243
2024-06-09 16:02:05,452 [OneDriveGUI.py:2424][fn=client_version_check][DEBUG] - [GUI] Client version check: {'latest_client_version': 'v2.4.25', 'installed_client_version': 'v2.4.25'}
2024-06-09 16:02:05,703 [OneDriveGUI.py:2498][fn=autostart_monitor][DEBUG] - [Daniel Oxley] Compatible client version found: False
2024-06-09 16:02:05,703 [OneDriveGUI.py:2501][fn=autostart_monitor][DEBUG] - [Daniel Oxley] Auto-sync enabled for profile: False
2024-06-09 16:02:18,012 [OneDriveGUI.py:2375][fn=closeEvent][INFO] - [GUI] Minimizing main window to tray

System Info

OneDriveGUI info How did you install OneDriveGUI?: AppImage What is the name of the AppImage file (if applicable)? : OneDriveGUI-1.1.0rc1-x86_64.AppImage

bpozdena commented 3 months ago

Works as expected. You should read description of files you are downloading. Also search before opening any issues.

ElOxle commented 3 months ago

i did search.

and how is it working as expected? the documentation does not say to downgrade the version of onedrive that ships with Ubuntu 24. Is this what you are saying?

ElOxle commented 3 months ago

OK, i understand now. the releases page was not clear enough, it works as expected now. thank you