-
Notifications
You must be signed in to change notification settings - Fork 203
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
RqMultipart.Base IOException with very large TXT files. #626
Comments
@yegor256 please do something about this issue |
@CarlosGines can you please show the code, which will allow us to reproduce this? |
@yegor256 sure, you can reproduce it with this class:
And this html:
|
@CarlosGines and then I have to upload a huge file? |
@CarlosGines is this even still an issue you can reproduce now that #634 is merged? In my opinion that PR should resolve this situation, since it fixes file descriptors not being released in the |
@original-brownbear yes, still there! |
@original-brownbear do you think it's a bug in Takes? |
@yegor256 there certainly was a bug that would show exactly like this, but it should have been resolved by #634, also it should not be reproducible this trivially ( see below ).
That being said, if this error is happening in 100% of the cases, even after a clean reboot I can't see how this is Takes fault. Even if it was leaking file descriptors like hell, creating one more temp file right after starting clean should always be possible. |
@CarlosGines please see above comment, can you reproduce this in 100% of cases on a clean reboot even? |
@original-brownbear yes, I still reproduce it. You can try it too using the code and the file I provide above. |
@original-brownbear when you say "clean reboot", is there something special I need to do apart from normal rebooting? Some files I need to delete or something? |
@CarlosGines nope just restarting your computer :) nothing special.
|
@original-brownbear thank you very much, I will take it into account! |
@yegor256 is this info already enough to raise the bug? |
@CarlosGines OK, let's call it a bug and see what we can do. thanks. |
@carlosgines since there is no milestone yet I set it to "1.0" |
@carlosgines thanks a lot for reporting, 15 mins added to your acc, pmt ID |
@dalifreire please proceed, it's yours |
@yegor256 @original-brownbear @CarlosGines this is supposed to be fixed in scope of #576 |
@davvd @exper0 @yegor256 @original-brownbear @CarlosGines Let me know if I must stop or go ahead in this issue, ok? |
@dalifreire you can test it yourself whether it is fixed or not. Follow the instructions I provide in my comments above. |
@CarlosGines I think I didn't understand the problem. Could you better explain exactly what must be done? @davvd @yegor256 @exper0 @original-brownbear 30 minutes to implement this task. I think I have not enough knowledge of 'takes' to fix that in this time. It is not enough because the problem is much bigger and requires more work than the slotted time allows. |
@dalifreire First thing is reproducing it. Get the class I provide above and run as explained in Takes README.md Then create the html I provide above and upload the file I provide. You must get that exception of "too many files". Then, before trying to solve it, try to catch it in a test. If you do that, it is probably just enough. Read here about PDD for more info. I have also mentioned above what I had found so far about the problem, something related to the while loops looping forever. If there are even more things that you think that you need to understand before doing this, create a new issue where you explain them and ask for a solution (try to be as precise as possible). Then say here that that issue is an impediment for you to solve this task. I hope this helps you! |
@CarlosGines Thanks for your explanation. @davvd Please, assign someone else. |
@davvd assign someone else |
@triberraar this task is for you, keep these principles in mind, and don't hesitate to ask any technical questions... Task's budget is 30 mins (see this for explanation) |
@triberraar check this "no obligations principle".. This task is on your name for at least 15 days. If you can't close it within the next 48 hours I will have to assign someone else to it. This article should help if you're stuck. added -30 to your rating, now it is equal to -30 |
@triberraar this task is taking too long, I have to change the performer, sorry. Please stop working with it right now. See our no obligations principle -60 added to your rating, at the moment it is: -150 |
@essobedo the task is yours, please go ahead |
@CarlosGines @yegor256 @exper0 @original-brownbear FYI the bug still exists, I've just proposed a PR to fix it |
@CarlosGines the PR has been merged, you can close the ticket, thx in advance |
@davvd the ticket is closed, it is ready for the QA, thx in advance. |
@ypshenychka please, let us know what do you think about this ticket, according to our QA rules |
@davvd Quality is good here. |
@ypshenychka thank you |
@essobedo I added 10 mins to @ypshenychka (for QA review) in transaction 84077467 30 mins sent to your balance (ID +30 added to your rating, at the moment it is: +465 |
When dealing with requests with very large TXT files like this one I get this stack trace (using takes 0.31.3):
There are at least a couple of issues that seeam to be similar: #254 #512.
The text was updated successfully, but these errors were encountered: