def __init__(self, file_or_filename):
        try:
            self.workbook = WorkbookJSONReader(file_or_filename)
        except __HOLE__:
            raise FixtureUploadError(_("Error processing your Excel (.xlsx) file"))
        except InvalidFileException:
            raise FixtureUploadError(_("Invalid file-format. Please upload a valid xlsx file."))
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/fixtures/upload.py/FixtureWorkbook.__init__