Page 1 of 1

Stalled download in py3

Posted: May 23rd, 2019, 11:40 am
by Puzzled
The nzb was at 100% in the admin. Unfortunately I only had info level logging, but the log said

[.. .] some decoding
2019-05-23 14:38:35,088::INFO::[decoder:141] CRC Error in z
[.. .] some more decoding
2019-05-23 14:44:29,982::INFO::[assembler:87] Decoding \\?\E:\incomplete\y\x.part24.rar yenc
2019-05-23 15:24:36,236::INFO::[nzbqueue:824] Resetting bad trylist for file x.part78.rar in job y
2019-05-23 15:24:38,636::INFO::[nzbqueue:727] [N/A] Ending job y
2019-05-23 15:27:34,463::INFO::[downloader:804] Thread [email protected]: server closed connection

And then nothing until I pressed ctrl-c some hours later, which made it unpack the file and continued instead of stopping the server. All the decoding log entries for part25 and higher came very quickly after I pressed ctrl-c, together with some more "Resetting bad trylist for file" messages. Is this something that's fixed in develop? If not I can try debugging some more.

Re: Stalled download in py3

Posted: May 24th, 2019, 1:14 am
by safihre
Is this with your CPU-usage patch applied?
Could you send me the NZB at [email protected]? I'd be interested in those CRC errors.

Re: Stalled download in py3

Posted: May 24th, 2019, 6:16 am
by Puzzled
It was with my patch and yappi, but the most likely trigger was network problems. The ping time could be up to several seconds. Sorry, I forgot about that because it didn't affect transfer rate much. I have tried the same nzb several time since with no problems. I got the CRC error every time so it was probably irrelevant.

Re: Stalled download in py3

Posted: May 29th, 2019, 3:59 am
by safihre
If you see more CRC errors, let me know, could be a problem in sabyenc :)