Which line do I fix — top or bottom of the traceback? LULucasVDOP 17 Oct, 07:41 The traceback has several File lines.
MAMateoG17 Oct, 10:43replies: 2Read from the bottom up. The last line tells you the error type and message. The lowest File entry is where it actually crashed. The ones above show how you got there (the call chain).
HEHenryWrites18 Oct, 13:15Stage 2: the bug might be in a different function than where you'd expect. Trust the traceback, not your intuition.
Comments 4
Join the discussion CommentAlready have an account? Log in
Read from the bottom up. The last line tells you the error type and message. The lowest File entry is where it actually crashed. The ones above show how you got there (the call chain).
Bottom-up. Found the crash in average_kelvin.
And text temperatures must be accepted — float() conversion somewhere.
Stage 2: the bug might be in a different function than where you'd expect. Trust the traceback, not your intuition.