Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

ProtocolError: Expected 15 values but got 16 values, in row 0 [poll]

A
Akubuof (420 points)
1 2 3
in Programming in Python by (420 points)
closed by
I tried working on the replit mario on programming unit1, after adjusting the matrix and i turn all red colours to green and try to save it as luigi.png i get this error "ProtocolError: Expected 15 values but got 16 values, in row 0". Ok that doesnt work, then i try saving the original mario into luigi.png without doing any adjustment to mario it still pops the same error" ProtocolError: Expected 15 values but got 16 values, in row 0". why?

###############

i just found out why i was getting the error right now, it was because i downloaded a module called pypng on anoconda thinking it was the same png module which was on replit. So i deleted the module i installed on anaconda and used the one on replit
### no choices found for poll!
390 views
closed with the note: resolved

2 Answers

rokshana03 (16750 points)
1 4 35
by (16.8k points)
Are you sure you adjusted the matrix correctly?  I'm no expert in this matrix topic as I'm still trying to learn myself but that type of error makes me think something may still be wrong in the matrix or you assigned one more value than needed on row 0?

I know this wasn't very helpful sigh
A
Akubuof (420 points)
1 2 3
by (420 points)
i just found out why i was getting the error right now, it was because i downloaded a module called pypng on anoconda thinking it was the same png module which was on replit. So i deleted the module i installed on anaconda and used the one on replit.
rokshana03 (16750 points)
1 4 35
by (16.8k points)
ohh alright then, glad the issue u had is solved now!
A
Akubuof (420 points)
1 2 3
by (420 points)
yes thank you for your contribution
gianluca5539 (9820 points)
4 6 44
by (9.8k points)
Try to print the matrix and check visually for inconsistencies in the matrix
A
Akubuof (420 points)
1 2 3
by (420 points)
The error was caused by using a different module.