-
Notifications
You must be signed in to change notification settings - Fork 83
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
There may be an error in data transmission #37
Comments
Were you able to save the file from the initial decode? Or did something else happen? I'm not 100% sure I understand the scenario you're describing, but I can say that successive attempts (after initial decode) to on the same "file" will be treated as no-ops. That is, since the file is marked as done, progress is automatically ignored (the progress bar still updates though...). Closing+restarting the app will reset things into a clean state. |
I meet the same problem too. |
Some questions:
|
It looks like it's random, at least I haven't found a pattern yet, and it works for all the files, which are 15MB in size |
Although I did not find the exact error, I did not transfer 0MB files after the following operations:
|
I'd recommend against this, just because you might hurt your eyes. Software is much easier to fix than eyes... But I appreciate the troubleshooting! I'm not sure if any of those stand out as the most likely culprit -- (1) shouldn't make any difference in theory, and (3) and (6) mostly will effect the speed of the transfer. (4) does decrease the fountain chunk size, but not to an extent that I'd expect anything to break. Maybe it's incidental though -- perhaps a file will fail with mode 4C, but succeed with B, or vice versa? (2) probably isn't anything, but (5) is interesting. I'd say I suspect either something with the app saving code, or an interaction with the fountain codes (reassembling the file). I'll see what I can discover. |
Ok, so I've been beating on the fountain code reassembly logic and haven't been able to reproduce any issue there. Which is good, but does point the finger at the way the final file save works. That is, the failure might be as simple as: decode completes in the temp directory, but the final (local) copy step fails. A very simple change would be to add some indication to the UI as to when the copy step completes. (that way at least we can tell -- by omission -- if something is going wrong before then when this happens) (5) above might be a relevant piece of advice, if the failure trigger is "quit in the middle of the copy step" |
Just now I encountered the 0MB BUG again, but this time I seem to have located the problem, if you switch encoding mode after selecting the file, the file will become 0MB at last. |
I haven't been able to reproduce this via switching encoding mode. 🤔 I'm still suspicious of a "heisenbug" in the app-side java save code. I'm hoping to get a new CFC patch release out soon with some minor tweaks, we can see if it helps. |
I tried to find that I transferred a 6M file, but there may be a phenomenon that the data saved after the completion of the scan progress bar is 0K or 16/32K, and no error was reported during the scanning process, but it is still considered to be an effective transmission and cannot be used stably.
The text was updated successfully, but these errors were encountered: