bpozdena / OneDriveGUI

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

[AUR] git files not uploading #69

Closed badlydrawnface closed 1 year ago

badlydrawnface commented 1 year ago

I get an error in the notifications saying that files (mostly with git and IntelliJ) aren't able upload, "cannot upload file changes/creation:" becuase the file isn't found or doesn't exist, despite the fact that the files do in fact sync.

Screenshot from 2022-11-15 14-54-45-obfuscated

abraunegg commented 1 year ago

@badlydrawnface

I get an error in the notifications saying that files (mostly with git and IntelliJ) aren't able upload, "cannot upload file changes/creation:" becuase the file isn't found or doesn't exist, despite the fact that the files do in fact sync.

What does the application log | application actually say?

What application version are you using ? What is the output of onedrive --version ?

badlydrawnface commented 1 year ago

The version of the onedrive cli application is the latest 2.4.21 from the AUR onedrive-abraunegg package

when running the GUI through the terminal, editing a file that pertains to both git and IntelliJ leads to this log (redacted the real file name and directory path information), but I assure all necessary folders and files exist, despite the app saying otherwise

2022-11-15 20:22:21,156 [onedrivegui:2080][fn=read_stdout][INFO] - [REDACTED] [M] Local file changed: path/to/src/MyFile.java~
2022-11-15 20:22:21,167 [onedrivegui:2080][fn=read_stdout][INFO] - [REDACTED] Cannot upload file changes/creation: path/to/src/MyFile.java~: No such file or directory
2022-11-15 20:22:21,167 [onedrivegui:2080][fn=read_stdout][INFO] - [REDACTED] [M] Local file changed: path/to/src/MyFile.java
2022-11-15 20:22:21,167 [onedrivegui:2080][fn=read_stdout][INFO] - [REDACTED] Processing path/to/src/MyFile.java
2022-11-15 20:22:21,167 [onedrivegui:2080][fn=read_stdout][INFO] - [REDACTED] The file last modified time has changed
2022-11-15 20:22:21,168 [onedrivegui:2080][fn=read_stdout][INFO] - [REDACTED] The file content has changed
2022-11-15 20:22:21,168 [onedrivegui:2080][fn=read_stdout][INFO] - [REDACTED] Uploading modified file path/to/src/MyFile.java ...
2022-11-15 20:22:21,168 [onedrivegui:2158][fn=read_stdout][INFO] - {'file_operation': 'Uploading', 'file_path': 'path/to/src/MyFile.java', 'progress': '0', 'transfer_complete': False}
2022-11-15 20:22:21,168 [onedrivegui:2591][fn=event_update_progress_new][INFO] - {'file_operation': 'Uploading', 'file_path': 'path/to/src/MyFile.java', 'progress': '0', 'transfer_complete': False}
2022-11-15 20:22:21,169 [onedrivegui:2605][fn=event_update_progress_new][INFO] - absolute path /home/bdface/OneDrive_REDACTED/path/to/src
2022-11-15 20:22:21,169 [onedrivegui:2607][fn=event_update_progress_new][INFO] - parent dir src
2022-11-15 20:22:21,169 [onedrivegui:2608][fn=event_update_progress_new][INFO] - progress: 0
2022-11-15 20:22:21,169 [onedrivegui:2609][fn=event_update_progress_new][INFO] - progress data: 0.0B
2022-11-15 20:22:21,169 [onedrivegui:2610][fn=event_update_progress_new][INFO] - file path: /home/bdface/OneDrive_REDACTED/path/to/src/MyFile.java
2022-11-15 20:22:21,169 [onedrivegui:2611][fn=event_update_progress_new][INFO] - file size: 1.3KiB
2022-11-15 20:22:21,169 [onedrivegui:2612][fn=event_update_progress_new][INFO] - file name: MyFile.java
2022-11-15 20:22:21,169 [onedrivegui:2613][fn=event_update_progress_new][INFO] - file path2: /home/bdface/OneDrive_REDACTED/path/to/src/MyFile.java
abraunegg commented 1 year ago

@badlydrawnface What you are seeing here are 'GUI' logs. Not the 'onedrive' application logs.

What I am interested in is what the actual 'onedrive' application is doing.

Please generate a debug log following this process: https://github.com/abraunegg/onedrive/wiki/Generate-debug-log-for-support

Once the debug log is generated, please open a new issue|bug report and attach the debug log.

This will detail if this a 'bug' with the application or GUI.