CypherpunkArmory / UserLAnd

Main UserLAnd Repository
Other
3.61k stars 401 forks source link

Feature Request - [Download Progress] #568

Open Pesoen opened 5 years ago

Pesoen commented 5 years ago

Describe the problem your feature request solves.

When downloading many will assume its stuck downloading stuff(in my case its at 26/27 now and have been for the last 25 minutes)

this annoys me because i cannot tell if its stuck or doing something.

Describe the solution you'd like

Some kind of download progress readout(percentages done of the current file or more stats for nerds like Y mb downloaded out of X mb)

Describe alternatives you've considered

nothing really since i cannot really get this kind of feature unless its requested.

Additional context

nothing really, i think the above should be descriptive enough for now.

MatthewTighe commented 5 years ago

I'm going to continue to look at making the download process more robust, and can potentially look into displaying a more detailed progress bar during downloads.

For now, you can check download progress in your notification tray, as we use the Android Download Manager to fetch assets.

lewisdonofrio commented 5 years ago

Mine is weird too, after two months of using this daily today I'm greeted with a "Fetching assets list" "downloading asset 0 of 1" I am stuck dead in the water and I need to get this working this morning somehow, I've already rebooted note8 three times....help!!

screenshot_20190130-092357_userland

lewisdonofrio commented 5 years ago

Well after two restarts and one power down, it seems it's progressing (what is it doing, I mean it's not upgrading the linux is it?? screenshot_20190130-105928_userland

lewisdonofrio commented 5 years ago

after it finished verifiing assets it's almost back to working....what was that process and why was it needed when it was working for two months and getting playstore updates as needed??? I mean what did it do for the last two hours?? screenshot_20190130-110318_userland and what is that first line in screenshot of bash prompt mean??

MatthewTighe commented 5 years ago

@lewisdonofrio We have several support files that we require to start sessions. We check for updates to those and download new versions every time sessions are started (in case we have implemented new fixes or functionality). That is what is happening in the first screen shot. It should not have taken more than a second. Was your network connection incredibly slow? Did you close the app while the download was progressing?

I'm working on improvements to the download process that will likely ship to beta today or tomorrow.

How long were you stuck on the second screenshot? That should also be a nearly instantaneous process. All we are doing is moving the files we just downloaded from the downloads directory to app local storage. Is your device almost out of storage space?

Finally, I'm not 100% sure what that line of bash is. @corbinlc could confirm, but I assume that's because we connect to the session using passwords instead of ssh keys.

corbinlc commented 5 years ago

About the warning from dbclient, dbclient normally checks if the key related to the machine you are connecting to matches the key it saw before and throws an error if things look different than expected. We use the same ip:port for all filesystems (why you can run only one at a time right now) and so, people can often get a key mismatch error. So, we have disabled checking for now. We have a plan for how we are going to handle this later.

lewisdonofrio commented 5 years ago

First screenshot was the bulk of the waiting, say 1 hour or more.....I'm on wifi on asus router, when I'm downloading addon's though kodi on the note8 I get 20 megs/sec so it's not the connection that the phone has, cause I was able to click on that link you provied and even though you "use the download queue system" it downloaded just snappy like 1 second, all while the asset show was stilll going. did it download a new repo or something (can you add "mb transfered" or something for feedback, cause I'm guessing that this will happen again.) I never knew how much I need this till it stopped working and I almost got my notebook out to keep working but I ssh'ed to another host on my network and just worked from there till this was finished. Yes I rebooted two time while it was in first screenshot, before second I powered the device off. once it came back it jumped to t he second screenshot. It working now just do not know what you downloaded in that hour of downloading assets, all while other files download just fine, so I don't think your usuing queue (unless the link somehow skips that queue?)

MatthewTighe commented 5 years ago

Did you close the app after starting the download process when it was hanging? Did you check the progress of the download in your notification tray?

lewisdonofrio commented 5 years ago

I didin't see any down arrow in the tray in the first hour.....I did see it when I clicked that link you posted as a test...hence why I'm like I do not quite think it's using the download queue that you suggested (I am probably incorrect but hey it's a guess)

On Wed, Jan 30, 2019, 1:20 PM Matthew Tighe <notifications@github.com wrote:

Did you close the app after starting the download process when it was hanging? Did you check the progress of the download in your notification tray?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CypherpunkArmory/UserLAnd/issues/568#issuecomment-459051906, or mute the thread https://github.com/notifications/unsubscribe-auth/ADA8HS2zb_0ktYAeAvSmjCkSiBLIqSLWks5vIeJTgaJpZM4aU097 .

MatthewTighe commented 5 years ago

Yeah, that sounds like a bug on our end. Again, I'm making some pretty sweeping changes to the code structure of the download process (though we'll still be using the download manager) that will be released to beta this week. If you experience the issue again after the update please let me know.

lewisdonofrio commented 5 years ago

please add backup this week....I cannot help test 18.10 or 19.04 without the ablity to backup my "Daily Setup" (just sayin if your making 'big change' this week...please) I mean thank you for all you do, without this project I'd not feel so confident about leaving my notebook home/work....

daizu05 commented 5 years ago

This also happen to me Im stuck in downloading resources 6/32 (kali linux) :((