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

Application does not start throwing "Unable to get dbus proxy" #25

Closed
progaddicted opened this issue Feb 19, 2022 · 4 comments
Closed

Comments

@progaddicted
Copy link

Installed on Fedora 34 [5.16.9-100.fc34.x86_64 x86_64]

Here is what happens when trying to launch the application

[marco@asus-tovis src]$>python OneDriveGUI.py
2022-02-19 22:09:36,501 - INFO - mspina@tovisconsulenze.onmicrosoft.com
2022-02-19 22:10:01,589 - DEBUG - Unable to get dbus proxy: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
2022-02-19 22:10:26,615 - DEBUG - Unable to get dbus proxy: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
File "/home/marco/OneDriveGUI/src/OneDriveGUI.py", line 1690, in
settings_window = SettingsWindow()
File "/home/marco/OneDriveGUI/src/OneDriveGUI.py", line 507, in init
self.page = ProfileSettingsPage(profile)
File "/home/marco/OneDriveGUI/src/OneDriveGUI.py", line 753, in init
self.lineEdit_sync_dir.setText(self.temp_profile_config["sync_dir"].strip('"'))
KeyError: 'sync_dir'

Configuration and log files

(.txt extensions added since files with no extension are not accepted)
onedrivegui.log
profiles.txt
config.txt
sync_list.txt
Please note that the directory /var/log/onedrive/ is empty

@bpozdena
Copy link
Owner

bpozdena commented Feb 20, 2022

Thanks for the detailed issue description.

By the looks of it it seems to me as if the config file was not imported correctly via the GUI wizard. Not sure why, but I implemented better validation in the import wizard.

A theoretical fix for you should be:
1)Download/clone the latest code from main branch
2)Delete ~/.config/onedrive-gui/profiles
3)Open the GUI, and import the config again.

@progaddicted
Copy link
Author

Hello, re-installing from scratch solved the issue, but not definitely.
After the setup the GUI starts, but the version check fails, saying the OneDrive latest version is 2.4.15, which is actually not true for Fedora34 (see the pictures)

OneDriveGUI_version check

OneDrive releases

Moreover, in the GUI imported config file all the entries got uncommented, so that the OneDrive CLI fails throwing "Unknown key in config file: ......." where keys are: "operation_timeout", and the "webhook_..." ones.

After commenting the "unknown keys" in the config file the CLI works fine, but the GUI throws again "Unable to get dbus..."; looks like that altering in any way the config file causes the crash.

config.txt

@bpozdena
Copy link
Owner

All this is expected behavior. You're using an unsupported version of the OneDrive client. Install the latest version from source or ask the package maintainer to update it.

@progaddicted
Copy link
Author

Hi there, thanks a lot!
Building the CLI from source made the job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants