Can anybody help me fix this bug? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Can anybody help me fix this bug?

The bug is most of tries it will return zlib.error : Error code -3 invalid block type and sometimes zlib.error : Error code -3 invalid code lengths set I had spent a week to fix this but still no result 'till now :( https://code.sololearn.com/cp1w8CZJTnZ3/?ref=app

19th Jul 2017, 3:35 PM
Alvin Ardiansyah
Alvin Ardiansyah - avatar
2 Answers
+ 7
oh i see :) thankyou now i'm working on it Thanks so much @Kuba
20th Jul 2017, 10:25 AM
Alvin Ardiansyah
Alvin Ardiansyah - avatar
+ 4
This is why I prefer gzip, a wrapper to zlib :) It is most likely a question of improper headers. Take a look at this thread here: https://stackoverflow.com/questions/3122145/zlib-error-error-3-while-decompressing-incorrect-header-check/22310760#22310760
19th Jul 2017, 5:38 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar