Git Product home page Git Product logo

onedrivegui's People

Contributors

andreztz avatar apokalyps1 avatar bpozdena avatar davidotek avatar jl102 avatar sschuberth avatar voodagod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

onedrivegui's Issues

Appliction fails to load Ubuntu Budgie 22.04

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)

AppImage crashes on startup

steps:

  • launch appimage from a terminal with ./OneDriveGUI-0.0.1-x86_64.appimage

expected behaviour: app main window shows up
actual behaviour: no window shows up. Following lines are printed on terminal:

$ ./OneDriveGUI-0.0.1-x86_64_d4c1c4105221778522ae9c78633cf062.AppImage 
/usr/bin/AppImageLauncher: /lib64/libcurl.so.4: no version information available (required by /usr/bin/../lib/x86_64-linux-gnu/appimagelauncher/libappimageupdate.so)
QApplication: invalid style override 'adwaita.' passed, ignoring it.
        Available styles: HighContrastInverse, HighContrast, Adwaita-HighContrastInverse, Adwaita-HighContrast, Adwaita-Dark, Adwaita, Breeze, Windows, Fusion
Traceback (most recent call last):
  File "/tmp/.mount_OneDri4396Vn//usr/src/OneDriveGUI.py", line 12, in <module>
    from PySide6.QtCore import QThread, QTimer, QUrl, Signal, QFileInfo, Qt, QDir
ImportError: /lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b

python version:

$ python --version
Python 3.10.4

my system:

$ neofetch
             .',;::::;,'.                daniele@T540p 
         .';:cccccccccccc:;,.            ------------- 
      .;cccccccccccccccccccccc;.         OS: Fedora release 35 (Thirty Five) x86_64 
    .:cccccccccccccccccccccccccc:.       Host: 20BE0087GE ThinkPad T540p 
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Kernel: 5.16.20-200.fc35.x86_64 
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Uptime: 55 mins 
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Packages: 6367 (rpm), 30 (flatpak), 19 (snap) 
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Shell: bash 5.1.8 
:cccccccccccccc;MMM.;cccccccccccccccc:   Resolution: 1920x1080 
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   DE: Plasma 5.24.4 
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   WM: KWin 
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   Theme: Gently [Plasma], Breeze [GTK2/3] 
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Icons: [Plasma], breeze-dark [GTK2/3] 
ccccc;0MNc.ccc.xMMd:ccccccccccccccc;     Terminal: konsole 
cccccc;dNMWXXXWM0::cccccccccccccc:,      CPU: Intel i7-4700MQ (8) @ 3.400GHz 
cccccccc;.:odl:.;cccccccccccccc:,.       GPU: Intel 4th Gen Core Processor 
:cccccccccccccccccccccccccccc:'.         GPU: NVIDIA GeForce GT 730M 
.:cccccccccccccccccccccc:;,..            Memory: 5011MiB / 15679MiB 
  '::cccccccccccccc::;,.
                                                                 
                                                                 



if more infos are needed please let me know

cannot access settings and tray menu

Linux distribution and version: AVL-MX (debian 10)
Desktop environment and version: XFCE 4
Display Server (X11/Wayland): X11
Are you using Appimage or running the GUI from source? source
Do you have "start minimized" feature enabled in the GUI?no

I cannot enter the settings tab. If the app is running and I click on the icon, I can see the grey menu with the settings option, however it disappears in less then a second. so I cannot access the settings.

I also saw in another post about the transparent settings window, this also happens the first time onedrive gui runs.

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

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 - [email protected]
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

Wrong file size shown during large file downloads.

Wrong file size shown during large file downloads.

Possible takes:
|| Hide the file size until it is downloaded
|| Estimate file size based on percentage and received bytes
|| Get the actual file size via Graph

Settings window starts transparent

On the first startup, the settings window opens but shows nothing, and you have to click the "Show/Hide" button to get the GUI working again. Why start this window together with the main application? This seems unnecessary.

Thanks.

Temporary GUI lockup on startup

The GUI can be unresponsive for a few seconds after startup when internet connection is slow.

Possible solutions:
Proper - process API request asynchronously in separate thread
Lazy - Lower request timeout to ~500ms

Check for duplicate profile name or sync directories.

Check for duplicate profile to prevent overwriting of configuration in different profile with the same name. This would reset all settings to def taut.

Implement check to prevent use of the same directory for multiple profiles. Warn user.

AppImage Crashes when login is required

Description

Start the AppImage, following the wizard to add profile.
After click the "start" button of profile, the app crash with below logs

2022-06-10 20:17:35,324 - INFO - [mengzyou] Authorize this app visiting:
2022-06-10 20:17:35,324 - INFO - [mengzyou] 
2022-06-10 20:17:35,324 - INFO - [mengzyou] https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=d50ca740-c83f-4d1b-b616-12c519384f0c&scope=Files.ReadWrite%20Files.ReadWrite.all%20Sites.Read.All%20Sites.ReadWrite.All%20offline_access&response_type=code&prompt=login&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient
2022-06-10 20:17:35,324 - INFO - [mengzyou] 
Qt WebEngine resources not found at /tmp/.mount_OneDrioI1kkV/resources. Trying parent directory...
Qt WebEngine resources not found at /tmp/.mount_OneDrioI1kkV. Trying application directory...
Qt WebEngine resources not found at /tmp/.mount_OneDrioI1kkV/usr/bin. Trying fallback directory... The application MAY NOT work.
Path override failed for key base::DIR_QT_LIBRARY_DATA and path '/home/mengz/.OneDriveGUI'
Installed Qt WebEngine locales directory not found at location /tmp/.mount_OneDrioI1kkV/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /tmp/.mount_OneDrioI1kkV/usr/bin/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Path override failed for key ui::DIR_LOCALES and path '/home/mengz/.OneDriveGUI'
[0610/201735.475630:ERROR:icu_util.cc(252)] Couldn't mmap icu data file

Other Info

  • App Version: OneDriveGUI-0.2.0-x86_64.AppImage
  • OneDrive Version: onedrive v2.4.18
  • OS: openSUSE Leap 15.4, KDE Plasma 5.24.4

Screenshoots

Issue-OneDriveGUI

Indicate which profile has unsaved changes

Indicate which profile has unsaved config changes. It's currently not obvious which changes are saved and which are not.

Also show a warning before closing profile setting window with unsaved changes.

Feature Request: Display warning notice if 'onedrive' is not current / current version

One aspect that I am trying to tackle is in the client itself, when it starts up, perform a check against the github releases and then display a warning note that the client is older than the current release.

It would be great, given that your code utilises the client underneath - if, somehow, in the GUI you present a warning flag | warning note that the client being used is older than the current released client.

This will help users keep their client version current - especially if they are running a package from a distribution that is not kept up-to-date.

No module named 'PySide6.QtWebEngineWidgets'

Running the AppImage, produce the following error:

$ ./onedrivegui.appimage 
Traceback (most recent call last):
  File "/tmp/.mount_onedrilFR41C//usr/src/OneDriveGUI.py", line 65, in <module>
    from ui.ui_login import Ui_LoginWindow
  File "/tmp/.mount_onedrilFR41C/usr/src/ui/ui_login.py", line 18, in <module>
    from PySide6.QtWebEngineWidgets import QWebEngineView
ModuleNotFoundError: No module named 'PySide6.QtWebEngineWidgets'

I've tried installing PySide6 with no luck (pip install PySide6)

OS: Lubuntu 22.04.1 LTS x86_64
Kernel: 5.15.0-48-generic
Shell: bash 5.1.16
Python: 3.10.6

GUI freezes on Ubuntu after successful login

-This only seems to affect Ubuntu/Gnome right after successful login. The login window should close automatically but seems to freeze on Ubuntu without any reported errors.

Workarounds:
-press Enter key in the terminal (if not detached)
-of force close the GUI and start it again

Missing Tray Icon in Gnome 41

Hello, this is the onedrive app I've been waiting for a long time. So far I see no issues with it. Thank you for making it.

Would it be possible to make it have an icon in the tray so that clicking the icon would open the GUI? Currently I'm using GNOME and it shows as a "settings" icon so I cannot favorite it and save it onto my dock and doesn't have a tray icon, meaning i'd need to launch it with a terminal command. It would be convenient if these desktop elements were implemented.

Screenshot from 2022-02-10 17-43-26-2

Apologies if you were already planning to implement this. This is my one request for this already amazing program.

Can't start GUI after upgrade to OneDrive Client 2.4.20

2022-07-20 18:35:24,717 - INFO - Account gddrx has been created
2022-07-20 18:35:29,121 - INFO - [GUI] Starting worker for profile gddrx
2022-07-20 18:35:29,121 - DEBUG - [GUI] OneDrive config file: /home/gddrx/.config/onedrive/accounts/gddrx/config
2022-07-20 18:35:29,121 - DEBUG - [GUI] OneDrive config dir: <re.Match object; span=(0, 50), match='/home/gddrx/.config/onedrive/accounts/gddrx/confi>
2022-07-20 18:35:29,121 - DEBUG - [GUI] Monitoring command: 'onedrive --confdir='/home/gddrx/.config/onedrive/accounts/gddrx' --monitor -v '
2022-07-20 18:35:29,135 - INFO - [gddrx] Using 'user' Config Dir: /home/gddrx/.config/onedrive/accounts/gddrx
**2022-07-20 18:35:29,136 - INFO - [gddrx] Unknown key in config file: force_http_2**
2022-07-20 18:35:29,136 - INFO - [gddrx] Configuration file has errors - please check your configuration
2022-07-20 18:35:29,138 - INFO - finished worker gddrx

Version of onedrive package:
onedrive v2.4.20 (released five hours ago)

In changelog:
Added 'force_http_11' configuration option to allow forcing HTTP/1.1 operations (abraunegg/onedrive#2026)
Removed 'force_http_2' configuration option (abraunegg/onedrive#2026)

In new version of onedrive - i don't see key "--force-http-2", but have "--force-http-11"

Installation from source instructions need updating

By default on Ubuntu 22.04.01 python3 is installed but python-is-python3 is not and nor is python3-pip so the commands as written in the instructions do not work. Suggest either change the instructions to say python3 -m pip3 install -r requirements.txt or add a note that on some systems the symlinks to get the python and pip commands working with python3 may need adding (which can be done with sudo apt install python-is-python3 python-pip3 )

Problem getting appimage working on Ubuntu 22.04.01

Ubuntu freshly upgraded from 20.04. By default on this machine appimage would not run. Since no other appimages had been installed it turned out that libfuse2 was not installed.

Perhaps worth including a note to run sudo apt install libfuse2 if the appimage will not run even with permissions set correctly. Wasted a while tracking down the problem.

OneDrive won't login with OAuth2

Hello,
I cannot run the GUI. It asks for Oauth, saves it - but when I click to start the sync it asks for oauth again.

Sync via onedrive cli/systemd works

Operating System: Debian GNU/Linux 11 (MX 21.2)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.18.0-4mx-amd64
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 15,5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
2022-09-01 07:29:45,992 [OneDriveGUI.py:2824][fn=save_global_config][INFO] - <my_profile_name> config saved
2022-09-01 07:29:45,992 [OneDriveGUI.py:2826][fn=save_global_config][INFO] - All configs saved
2022-09-01 07:29:46,650 [OneDriveGUI.py:2845][fn=main_window_start_state][INFO] - [GUI] Starting OneDriveGUI maximized
2022-09-01 07:29:46,653 [OneDriveGUI.py:1054][fn=__init__][INFO] - <my_profile_name>
2022-09-01 07:29:50,521 [OneDriveGUI.py:1940][fn=__init__][INFO] - [GUI] Starting worker for profile <my_profile_name>
2022-09-01 07:29:50,522 [OneDriveGUI.py:2467][fn=start_onedrive_monitor][INFO] - [GUI] Opening external login window
2022-09-01 07:29:50,559 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Using 'user' Config Dir: /home/venthe/.config/onedrive/accounts/<my_profile_name>
2022-09-01 07:29:50,561 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Using config option for Global Azure AD Endpoints
2022-09-01 07:29:50,561 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Configuration file successfully loaded
2022-09-01 07:29:51,335 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Checking Application Version ...
2022-09-01 07:29:51,980 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Initializing the OneDrive API ...
2022-09-01 07:29:51,981 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Configuring Global Azure AD Endpoints
2022-09-01 07:29:51,982 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Using Curl defaults for all HTTP operations
2022-09-01 07:29:51,982 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] User Configured Rate Limit: 125000000
2022-09-01 07:29:51,983 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Authorize this app visiting:
2022-09-01 07:29:51,984 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=<client_id>scope=Files.ReadWrite%20Files.ReadWrite.all%20Sites.Read.All%20Sites.ReadWrite.All%20offline_access&response_type=code&prompt=login&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient
2022-09-01 07:29:52,003 [OneDriveGUI.py:2013][fn=read_stdout][INFO] - [<my_profile_name>] Enter the response uri:
2022-09-01 07:29:53,006 [OneDriveGUI.py:2478][fn=<lambda>][INFO] - finished worker <my_profile_name>
2022-09-01 07:29:53,006 [OneDriveGUI.py:1951][fn=stop_worker][INFO] - [<my_profile_name>] Waiting for worker to finish...
2022-09-01 07:29:53,006 [OneDriveGUI.py:1955][fn=stop_worker][INFO] - [<my_profile_name>] Quitting thread
2022-09-01 07:29:53,006 [OneDriveGUI.py:1958][fn=stop_worker][INFO] - [<my_profile_name>] Removing thread info
2022-09-01 07:29:53,006 [OneDriveGUI.py:1961][fn=stop_worker][INFO] - [GUI] Remaining running workers: {}
2022-09-01 07:29:59,453 [OneDriveGUI.py:2643][fn=get_response_url][INFO] - exec onedrive --confdir="/home/venthe/.config/onedrive/accounts/<my_profile_name>" --auth-response "https://login.microsoftonline.com/common/oauth2/nativeclient?code=<client_id>"
2022-09-01 07:29:59,467 [OneDriveGUI.py:2645][fn=get_response_url][INFO] - Login performed
Traceback (most recent call last):
  File "/tmp/.mount_OneDriVgJRVf//usr/src/OneDriveGUI.py", line 2629, in <lambda>
    self.lw2.pushButton_save.clicked.connect(lambda: self.get_response_url(self.lw2.lineEdit_response_url.text(), self.config_dir, profile))
  File "/tmp/.mount_OneDriVgJRVf//usr/src/OneDriveGUI.py", line 2650, in get_response_url
    main_window.workers[profile].stop_worker()
KeyError: '<my_profile_name>'

Error when importing profile

File "/home/curse/Devel/OneDriveGUI-main/src/OneDriveGUI.py", line 1333, in <lambda> self.refresh_process_status.timeout.connect(lambda: self.onedrive_process_status()) File "/home/curse/Devel/OneDriveGUI-main/src/OneDriveGUI.py", line 1360, in onedrive_process_status self.profile_status_pages[profile_name].label_status.setText("stopped") KeyError:'[email protected]'

I've tried both with and without my email address in the "Profile Name" field, but same result.
It does write a config though, but the "next" button is unavailable. Only "back" and "cancel".

[[email protected]] config_file = /home/curse/.config/onedrive/config enable_debug = False mode = monitor

So I close down the gui and try again this error comes up.

$ python OneDriveGUI.py Traceback (most recent call last): File "/home/curse/Devel/OneDriveGUI-main/src/OneDriveGUI.py", line 1615, in <module> settings_window = SettingsWindow() File "/home/curse/Devel/OneDriveGUI-main/src/OneDriveGUI.py", line 476, in __init__ self.page = ProfileSettingsPage(profile) File "/home/curse/Devel/OneDriveGUI-main/src/OneDriveGUI.py", line 725, in __init__ self.checkBox_sync_root_files.setChecked(self.get_check_box_state("sync_root_files")) File "/home/curse/Devel/OneDriveGUI-main/src/OneDriveGUI.py", line 972, in get_check_box_state return self.temp_profile_config[f"{property}"].strip('"') in "true" KeyError: 'sync_root_files'

I'm not sure if the error is at my end or...

Armhf

Can there be a armhf version?

Onedrive client v2.4.16 sync stops working in the GUI when resync is required

Issue:
Onedrive client v2.4.16 sync stops working in the GUI when resync is required.
This is due to new prompt Are you sure you wish to proceed with --resync? [Y/N]
Ref.: abraunegg/onedrive#1816

Proposed solution:
Implement pop-up dialog for user to confirm the use of --resync-auth switch.

Workaround:

  1. Manually start OneDriveGUI AppImage or the Python file from the terminal
  2. Start sync for the affected profile in the GUI
  3. Press y key followed by Enter key while focused on the terminal window. The GUI will then monitor the sync progress as usual.

Implement selective sync via 'sync_list' file

Implement selective sync via 'sync_list' file.

Option 1:
-Provide simple link to 'sync_list' file so that it can be edited in text editor.

Option 2:
-Provide a simple text field in the GUI.

Option 3:
-See if file system browser could be implemented. This is likely a lot of work to implement rule ordering, negation, filters, etc.

v1.0. RC1 Need to show warning if onedrive is already running when starting the GUI

By default onedrive runs automatically in monitor mode on system login. When the GUI starts it doesn't detect that onedrive is already running and reports "Onedrive is sync not running" (which is also bad English - should be "Onedrive sync is not running") which of course is not true.
If you press the play button it hangs with the message Initializing the Onedrive API"
In the log you find the following lines:

2022-08-22 22:32:24,479 [OneDriveGUI.py:1995][fn=run][INFO] - [Roger] Opening the item database ...
2022-08-22 22:32:24,479 [OneDriveGUI.py:1995][fn=run][INFO] - [Roger] - Use 'sudo ps aufxw | grep onedrive' to potentially determine acive running process
2022-08-22 22:32:24,479 [OneDriveGUI.py:1995][fn=run][INFO] - [Roger] 
2022-08-22 22:32:24,753 [OneDriveGUI.py:2130][fn=run][INFO] - @ERROR 

So it looks like it is detecting that onedrive is already running when you manually try to start it from the GUI.
Shouldn't it also run this check when the GUI is initialised so it can report that onedrive --monitor is running?

Tray Icon not shown under Gnome 42.2 (Manjaro)

I installed the AUR version onedrivegui-git (0.2.0.r0.g1cb36f..) and it works well but the tray icon is not displayed under Gnome 42.2 (Manjaro, Wayland). If I use the AppImage, then it is displayed.

Does anyone have an idea why this might happen?

(Also, when I swelect tzhe option to launch as a minimized window, then I cannot access the window at all but I assume that this is because only the tray icon is loaded, which is not displayed as described above. )

Best regards,

Sven

Incompatibility with onedrive version < 2.4.14 or 2.4.16

Older version of onedrive available on Ubuntu repo (also 22.04) isn't compatible because of new config entry like: "operation_timeout".
Is it possibile to add a flag to write a config file compatible with older version?
Unfortunatelly if onedrive found entry not recognized in config file can't start.

Thanks

Add setup wizard for profile creation/import

-Add setup wizard for account creation/import instead of having separate windows for login, profile creation, profile import.
-include check for installed OneDrive with install instructions.
-include basic configuration options

Error when using onedrivegui v0.2.0 with onedrive v2.4.20

After updating to the new onedrive v2.4.20, I noticed that the sync is failing with onedrive v2.4.20 giving the following error:

Unknown key in config file: force_http_2
Configuration file has errors - please check your configuration

I can remove the force_http_2 line in the config file and in that case onedrive runs fine but if I do so then onedrivegui does not start anymore, meaning that onedrivegui 0.2.0 and onedrive v2.4.20 seem to be incompatible at the moment

Implement input validation in profile settings.

Implement input validation in profile settings.

Examples:
-Prevent enabling of incompatible features (upload only + download only, etc.)
-Disable logging configuration when logging is disabled

Unknown key in config file: force_http_11

I am trying this out for the first time. I have the most recent version of abraunegg/onedrive installed:

$ onedrive --version
onedrive v2.4.17

When I click on the play button, I see this error in the logs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.