-
Notifications
You must be signed in to change notification settings - Fork 37
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
KeyError: 'force_http_11' after distro and software upgrade #112
Comments
In your 'config' file - you should remove:
Do not have any of these entries .... unsure why you are even setting them - as you only need to play around with those if you are having issues connecting to OneDrive. Remove them from your 'config' file if present and see how you go. |
Apologies for the slow reply. I had the force_http_2 config entry, but I didn't set it, and it's now been removed. Apart from the initial installation last October, I haven't touched the config file. I've been letting onedrive update with the rest of my system, but the only manual change was when I did the distro upgrade a few weeks ago. I don't have the force_http_11 entry at all. I just tried running onedrive --synchronize --dry-run from the terminal and it seemed to work as it should, telling me that it would have downloaded a file I edited earlier today. Running OneDriveGUI gave me the same error as in my initial post. In my /home/tippon/.config/onedrive folder, I have an accounts folder that contains two folders, one named my username and one named my email address. Both of these folders have config files that include the force_http_11 = "false" line, so I've tried removing those separately and running OneDriveGUI each time, but it hasn't changed anything. This is my current config file: sync_dir = "/mnt/Storage/OneDrive" |
I just deleted my ~/tippon/.config/onedrive-gui folder and running the same AppImage as before, and it worked. Obviously something in there was causing the issue. I held off doing it before now in case it helped with troubleshooting, but I couldn't wait any longer. I've kept the folder and the original AppImages for the time being. |
Fixed in AppImage v1.0.3 |
It was a little tricky but I got this problem using two accounts. force_http_11 = "false" Just add this line to your config file and and GUI is started to work. ps - using it with Fedora 38 and so on. Errors: 2023-11-02 02:30:55,812 [OneDriveGUI.py:3008][fn=main_window_start_state][INFO] - [GUI] Starting OneDriveGUI maximized |
I upgraded Mint from 20.3 to 21.1 today, and followed Abraunegg's directions here:
abraunegg/onedrive#2445
This let me install the latest OneDrive version - 2.4.25 on the updated distro. Initially, OneDriveGUI would run, but OneDrive wouldn't. I followed the instructions here and removed the 'force_http_2' option from the config:
abraunegg/onedrive#2063
Since doing this, OneDriveGUI has stopped running. I've downloaded the latest version - OneDriveGUI-1.0.2-x86_64.AppImage but have had no luck. I get a long error message containing 'Gtk-Message: 20:28:18.827: Failed to load module "xapp-gtk3-module"' and ending with 'KeyError: 'force_http_11'. I'll put the full message in a pastebin at the end.
It appears that having that line in the config stops OneDrive from running, but removing it stops OneDriveGUI from running.
Can you help me please?
Pastebin - https://pastebin.com/cjindmM2
EDIT: Sorry, the links were hidden. They should be visible now.
The text was updated successfully, but these errors were encountered: