-
Notifications
You must be signed in to change notification settings - Fork 79
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
Minimum Free Disk Space setting not working/respected? #277
Comments
Setup test case:
Bug confirmed. |
Thank you for confirming the bug! Glad it isn't isolated to me... |
Hmmm... tried to adjust the model so it doesn't loose the MinDiskFree contents but yet found no way of a correct implementation. I guess the text node causes trouble here as the value is not in its own tag. I reached out to the core devs as this is not an issue of the android wrapper. |
You're on top of it! Thanks for the update! |
Can you please try this APK and let me know if the problem is fixed? |
Sure, I will be glad to!
…On Sat, Jan 26, 2019 at 12:53 PM Catfriend1 ***@***.***> wrote:
Can you please try this APK and let me know if the problem is fixed?
Link: https://drive.google.com/open?id=1yCfYAz0KFR6lGjVXAfb0GcArdGh1ye1U
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#277 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AeZQp6h5Q5zOJLnVj8TiD8CklmyebVD_ks5vHKQggaJpZM4aRslR>
.
|
Initial test looks promising...I set a 2GB limit and files seem to stop
syncing right around 2.77GB on my Pixel 2 XL. Looking in the phone's Web
GUI and touching the blue link under the sync'd folder for item errors it
shows those items failed to sync due to insufficient space. I am about to
test again and up the minimum to 5GB and see if it files stop syncing
around that limit.
On Sat, Jan 26, 2019 at 3:49 PM Christopher Cooper <cmcooper1980@gmail.com>
wrote:
… Sure, I will be glad to!
On Sat, Jan 26, 2019 at 12:53 PM Catfriend1 ***@***.***>
wrote:
> Can you please try this APK and let me know if the problem is fixed?
> Link: https://drive.google.com/open?id=1yCfYAz0KFR6lGjVXAfb0GcArdGh1ye1U
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#277 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AeZQp6h5Q5zOJLnVj8TiD8CklmyebVD_ks5vHKQggaJpZM4aRslR>
> .
>
|
There are still some glitches due to the gson() parser the wrapper users for handling the config when inputting high values, so that's what I already know. minHomeDiskFree also didn't work. I fixed that by my most recent commit. |
The fix will be part of the next release. |
Awesome and thank you!
…On Sun, Jan 27, 2019 at 1:27 PM Catfriend1 ***@***.***> wrote:
The fix will be part of the next release.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#277 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AeZQp6R9_tIDpWBKu5QGTXan4wG1gMYAks5vHf2mgaJpZM4aRslR>
.
|
* WIP * Revert "WIP" This reverts commit 98b34c4. * WIP * Revert "WIP" This reverts commit 3b9fc96. * Add de/serializer for MinDiskFree * Move MinDiskFree out of Folder * Move MinDiskFree out of Folder (2) * Revert "Move MinDiskFree out of Folder (2)" This reverts commit 65f87db. * Revert "Move MinDiskFree out of Folder" This reverts commit b71350b. * Revert "Add de/serializer for MinDiskFree" This reverts commit 5827426. * RestApi: Add MinDiskFreeSerializer, MinDiskFreeDeserializer * Revert "RestApi: Add MinDiskFreeSerializer, MinDiskFreeDeserializer" This reverts commit 3922f24. * Test * Revert "Test" This reverts commit 3550095. * FolderActivity/DeviceActivity: Fix restApi unavailable in onCreate() * Model/Folder#MinDiskFree: Initialize members (fixes #277) * ConfigXml#getFolders: Add MinDiskFree (fixes #277) * ConfigXml: Write back minDiskFree (fixes #277) * Ignore notices about updating gradle dependencies * ConfigXml: Make number parsing more safe * FolderActivity#initFolder: Add new Folder.MinDiskFree * Handle minDiskFree.value as String instead of float * Revert "Handle minDiskFree.value as String instead of float" This reverts commit 0552cfc. * WIP * Revert "WIP" This reverts commit 0a3df91. * RestApi: Avoid creating duplicate Gson() instances * Model/Folder: Use Integer instead of Float See gson glitch: google/gson#1290 google/gson#968 * Try MinDiskFree.value as Long instead of Integer * Revert "Try MinDiskFree.value as Long instead of Integer" This reverts commit d358862. * Revert "Model/Folder: Use Integer instead of Float" This reverts commit ca3931b. * Update model/Options: MinHomeDiskFree (fixes #277)
Release is there on GitHub, GPlay will follow soon. |
OK great...thank you again!
…On Sun, Jan 27, 2019 at 1:56 PM Catfriend1 ***@***.***> wrote:
Release is there on GitHub, GPlay will follow soon.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#277 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AeZQp7rlXBSFZu1yjE-mFQRpAlnb46w5ks5vHgRlgaJpZM4aRslR>
.
|
Hi again,
Is there anything that would make the app revert back to not respecting the
minimum free disk space? Would adjusting the large block settings affect
the sync? I am currently on the Play Store version and notice it has eaten
my space down to 516MB when I had a setting of 2GB set. Seem to work on
the test APK you linked me...which by the way can you give me an updated
link so I can switch back? The previous link no longer works.
On Sun, Jan 27, 2019 at 2:34 PM Christopher Cooper <cmcooper1980@gmail.com>
wrote:
… OK great...thank you again!
On Sun, Jan 27, 2019 at 1:56 PM Catfriend1 ***@***.***>
wrote:
> Release is there on GitHub, GPlay will follow soon.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#277 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AeZQp7rlXBSFZu1yjE-mFQRpAlnb46w5ks5vHgRlgaJpZM4aRslR>
> .
>
|
It's not that easy. I've deleted the debug version as the code changes went in the release so there's no difference from technical view. What may cause the inaccurate free space evaluation is the parser as gson glitches and returns for example 4.5gb as 4.6 gb due to the internal scientific representation of the float value fields in the config which are like 4.5e+8 in that case. We need to transition to a different parser, for example, Jackson to fix this as In didn't found a reliable way to workaround this in gson. Doing this may introduce a lot of bugs in the initial transition step as Jackson handles the whole deserialization of config values differently... We'll do this later. Try experimenting with values then, e.g. write 2 gb instead of 2000 mb and be sure to exit the app after you changed something like this from the native web ui. This will lower parsing glitches' impact. |
OK thanks, I will try these suggestions.
…On Sat, Feb 2, 2019 at 5:30 PM Catfriend1 ***@***.***> wrote:
It's not that easy. I've deleted the debug version as the code changes
went in the release so there's no difference from technical view. What may
cause the inaccurate free space evaluation is the parser as gson glitches
and returns for example 4.5gb as 4.6 gb due to the internal scientific
representation of the float value fields in the config which are like
4.5e+8 in that case. We need to transition to a different parser, for
example, Jackson to fix this as In didn't found a reliable way to
workaround this in gson. Doing this may introduce a lot of bugs in the
initial transition step as Jackson handles the whole deserialization of
config values differently... We'll do this later. Try experimenting with
values then, e.g. write 2 gb instead of 2000 mb and be sure to exit the app
after you changed something like this from the native web ui. This will
lower parsing glitches' impact.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#277 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AeZQp9kysjLoub3aj1B_GJYHKy0yrGmiks5vJh-IgaJpZM4aRslR>
.
|
Got a ticket:
Description of the issue
Version Information
Android Log
The text was updated successfully, but these errors were encountered: