tmpethick / campusnet-electron

Get all your DTU course files synced to your computer
http://pethick.dk/campusnet-electron/
2 stars 0 forks source link

Sync stopped - then folderchanging was blocked #8

Closed askf0123 closed 4 years ago

askf0123 commented 6 years ago

Hi, the app stopped syncing up about a week ago, so I tried changing the sync-to-folder. Then it started working again, but suddenly I wasn't able to change back to the old directory. I tried restarting the app, then pc and also reinstalled the app with no success. Apparently, it remembered the sync-to-folder when I reinstalled the app. Hope you can help me out, I really appreciate this sync-service!

Regards Ask

tmpethick commented 6 years ago

It is required that the directory is empty to ensure people don't by accident get files overwritten (even if unlikely..). You should be able to delete the folder and recreate an empty version that you then sync with.

Tell me if you still have troubles after having tried that.

askf0123 commented 6 years ago

Apparently the problem is that i can't sync to folders within my onedrive. I can sync to new folder on the desktop etc. but i tried within the onedrive with no succes.

2018-04-16 12:21 GMT+02:00 Thomas Pethick notifications@github.com:

It is required that the directory is empty to ensure people don't by accident get files overwritten (even if unlikely..). You should be able to delete the folder and recreate an empty version that you then sync with.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tmpethick/campusnet-electron/issues/8#issuecomment-381552260, or mute the thread https://github.com/notifications/unsubscribe-auth/AilemDmNnlh_Yw0KWhEafu7Gq1fbBrBAks5tpHCjgaJpZM4TVoZu .

tmpethick commented 6 years ago

Hmm it sounds like onedrive might add a hidden file within the folder that would prevent it. Do you get the warning saying that the folder is not empty?

Maybe we should consider removing the check. After all files would only be overwritten if a folder with a course name existed inside the folder already.

askf0123 commented 6 years ago

No error occures, and the directory just does'nt change.

Den 16. apr. 2018 2.58 PM skrev "Thomas Pethick" notifications@github.com:

Hmm it sounds like onedrive might add a hidden file within the folder that would prevent it. Do you get the warning saying that the folder is not empty?

Maybe we should consider removing the check. After all files would only be overwritten if a folder with a course name existed inside the folder already.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tmpethick/campusnet-electron/issues/8#issuecomment-381590085, or mute the thread https://github.com/notifications/unsubscribe-auth/AilemM2TzXXzE9S9QNp5Lq-s56aIOOfhks5tpJV6gaJpZM4TVoZu .

askf0123 commented 6 years ago

But previously it has been syncing to onedrive just fine

Den man. d. 16. apr. 2018 18.32 skrev Ask Finderup ask.finderup@gmail.com:

No error occures, and the directory just does'nt change.

Den 16. apr. 2018 2.58 PM skrev "Thomas Pethick" <notifications@github.com

:

Hmm it sounds like onedrive might add a hidden file within the folder that would prevent it. Do you get the warning saying that the folder is not empty?

Maybe we should consider removing the check. After all files would only be overwritten if a folder with a course name existed inside the folder already.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tmpethick/campusnet-electron/issues/8#issuecomment-381590085, or mute the thread https://github.com/notifications/unsubscribe-auth/AilemM2TzXXzE9S9QNp5Lq-s56aIOOfhks5tpJV6gaJpZM4TVoZu .

askf0123 commented 6 years ago

Do you have any suggestions?

Den man. d. 16. apr. 2018 18.33 skrev Ask Finderup ask.finderup@gmail.com:

But previously it has been syncing to onedrive just fine

Den man. d. 16. apr. 2018 18.32 skrev Ask Finderup <ask.finderup@gmail.com

:

No error occures, and the directory just does'nt change.

Den 16. apr. 2018 2.58 PM skrev "Thomas Pethick" < notifications@github.com>:

Hmm it sounds like onedrive might add a hidden file within the folder that would prevent it. Do you get the warning saying that the folder is not empty?

Maybe we should consider removing the check. After all files would only be overwritten if a folder with a course name existed inside the folder already.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tmpethick/campusnet-electron/issues/8#issuecomment-381590085, or mute the thread https://github.com/notifications/unsubscribe-auth/AilemM2TzXXzE9S9QNp5Lq-s56aIOOfhks5tpJV6gaJpZM4TVoZu .

tmpethick commented 6 years ago

And you have tried syncing to an empty folder within onedrive?

Right now I don't have any easy way to debug it, but I'll keep the issue open to when I have time to have a look at it. If you learn anything new, please do share!

Until then I suggest you simply sync to a folder outside onedrive.

askf0123 commented 6 years ago

Yeah, tried creating a new folder within onedrive, but it did'nt work. I'll tell if i find out something. Thank you

Den fre. d. 20. apr. 2018 11.40 skrev Thomas Pethick < notifications@github.com>:

And you have tried syncing to an empty folder within onedrive?

Right now I don't have any easy way to debug it, but I'll keep the issue open to when I have time to have a look at it. If you learn anything new, please do share!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tmpethick/campusnet-electron/issues/8#issuecomment-383043768, or mute the thread https://github.com/notifications/unsubscribe-auth/AilemOm8SxEMFRnj-xa0SJ4w_zQUFR4sks5tqa0XgaJpZM4TVoZu .

askf0123 commented 6 years ago

Hi, now it's working again.

Kind regards Ask FInderup

Den fre. 20. apr. 2018 kl. 11.44 skrev Ask Finderup <ask.finderup@gmail.com

:

Yeah, tried creating a new folder within onedrive, but it did'nt work. I'll tell if i find out something. Thank you

Den fre. d. 20. apr. 2018 11.40 skrev Thomas Pethick < notifications@github.com>:

And you have tried syncing to an empty folder within onedrive?

Right now I don't have any easy way to debug it, but I'll keep the issue open to when I have time to have a look at it. If you learn anything new, please do share!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tmpethick/campusnet-electron/issues/8#issuecomment-383043768, or mute the thread https://github.com/notifications/unsubscribe-auth/AilemOm8SxEMFRnj-xa0SJ4w_zQUFR4sks5tqa0XgaJpZM4TVoZu .