Libraries, speed & errors

Errors & fixes

The exceptions and broken outputs that stop a job, with the cause explained.

Common Python Excel errors mapped to their real causes: BadZipFile means the file is not really xlsx, a KeyError means the sheet name differs, IllegalCharacterError means control characters in text.Common Python Excel errors mapped to their real causes: BadZipFile means the file is not really xlsx, a KeyError means the sheet name differs, IllegalCharacterError means control characters in text.the error names the symptom, not the causeAB1ErrorUsual cause2BadZipFilenot really .xlsx3KeyError: sheetname differs4IllegalCharactercontrol chars5PermissionErrorfile open in Excel

Start with the full guides

The long-form treatment of errors & fixes, with the reasoning the shorter pages assume.

Step-by-step how-tos

One task each, with code you can copy, run and adapt.

When it breaks

The errors this topic produces, with the cause explained rather than just the fix.

Follow it through a track

Prefer an ordered route? These tracks cover errors & fixes along the way, in the order that builds on itself.

Related topics

Subjects that keep turning up on the same pages as this one, most overlap first.

Errors & fixes is part of Libraries, speed & errors.