Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appliction fails to load Ubuntu Budgie 22.04 #47

Closed
coreydeli opened this issue Aug 2, 2022 · 5 comments
Closed

Appliction fails to load Ubuntu Budgie 22.04 #47

coreydeli opened this issue Aug 2, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@coreydeli
Copy link

I have attempted the app image as well as building from source and recieve the same error on both occassions. This is a very fresh install of Ubuntu 22.04 using a minmal install method.

2022-08-02 19:46:23,456 - DEBUG - [GUI] - loading default config {'onedrive': {'sync_dir': '"~/OneDrive"', 'skip_file': '"~*|.~*|*.tmp"', 'monitor_interval': '"300"', 'skip_dir': '""', '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': '"5"', 'monitor_fullscan_frequency': '"10"', '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_folders': '"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"'}}
2022-08-02 19:46:23,456 - DEBUG - [GUI]{}
2022-08-02 19:46:23,457 - DEBUG - [save_global_config]:[1]{}
2022-08-02 19:46:23,457 - DEBUG - [save_global_config]:[2]{}
2022-08-02 19:46:23,457 - DEBUG - [save_global_config]:[3]{}
2022-08-02 19:46:23,457 - INFO - All configs saved
2022-08-02 19:46:23,457 - DEBUG - {}
2022-08-02 19:46:23,457 - DEBUG - GUI SETTINGS: {'SETTINGS': {'start_minimized': 'False'}}
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Aborted (core dumped)
@bpozdena
Copy link
Owner

bpozdena commented Aug 3, 2022

I was able to reproduce it on Ubuntu Budgie as well. I'm not entirely sure why it fails to load just on Budgie, but based on the QT debug, there was one missing dependency. I was able to fix this particular case by installing the bellow library.

Please install the bellow dependency and then run OneDriveGUI from source.
sudo apt-get install libxcb-icccm4

Let me know if it fixes it for you.

@bpozdena bpozdena self-assigned this Aug 3, 2022
@bpozdena bpozdena added the bug Something isn't working label Aug 3, 2022
@coreydeli
Copy link
Author

Looks like the same thing after that install. Re-ran the install to be sure.

2022-08-03 20:00:14,230 - DEBUG - [GUI] - loading default config {'onedrive': {'sync_dir': '"~/OneDrive"', 'skip_file': '"~*|.~*|*.tmp"', 'monitor_interval': '"300"', 'skip_dir': '""', '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': '"5"', 'monitor_fullscan_frequency': '"10"', '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_folders': '"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"'}}
2022-08-03 20:00:14,230 - DEBUG - [GUI]{}
2022-08-03 20:00:14,230 - DEBUG - [save_global_config]:[1]{}
2022-08-03 20:00:14,230 - DEBUG - [save_global_config]:[2]{}
2022-08-03 20:00:14,230 - DEBUG - [save_global_config]:[3]{}
2022-08-03 20:00:14,230 - INFO - All configs saved
2022-08-03 20:00:14,230 - DEBUG - {}
2022-08-03 20:00:14,231 - DEBUG - GUI SETTINGS: {'SETTINGS': {'start_minimized': 'False'}}
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Aborted (core dumped)
Me@MyComputere:~/Downloads/OneDriveGUI-main/src$ sudo apt-get install libxcb-icccm4

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libxcb-icccm4 is already the newest version (0.4.1-1.1build2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

@bpozdena
Copy link
Owner

bpozdena commented Aug 4, 2022

Aha, so it seems I cheated a bit and used wildcard to install all xcb libraries.

The more accurate solution is to install just the bellow four missing libraries. These are missing only in Ubuntu Budgie and are included in standard Ubuntu 22.04 LTS minimal install.

sudo apt install libxcb-icccm4
sudo apt install libxcb-image0
sudo apt install libxcb-keysyms1
sudo apt install libxcb-render-util0

@coreydeli
Copy link
Author

That did it! I need to do some updates on my end being on Ubuntu but those worked just fine and the GUI began loading.

@bpozdena
Copy link
Owner

bpozdena commented Aug 5, 2022

Cool, thanks for testing. Since the libraries are tiny, I'll bundle them into future AppImage releases. I've just tested the updated AppImage on live image of Ubuntu Budgie, and it started just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants