Lines Matching refs:ZipImportError
43 static PyObject *ZipImportError; variable
75 PyErr_SetString(ZipImportError, "archive path is empty"); in zipimporter_init()
79 PyErr_SetString(ZipImportError, in zipimporter_init()
141 PyErr_SetString(ZipImportError, "not a Zip file"); in zipimporter_init()
234 PyErr_SetString(ZipImportError, "path too long"); in make_filename()
411 PyErr_Format(ZipImportError, "can't find module '%.200s'", in zipimporter_is_package()
434 PyErr_SetString(ZipImportError, "path too long"); in zipimporter_get_data()
487 PyErr_Format(ZipImportError, "can't find module '%.200s'", in zipimporter_get_source()
730 PyErr_Format(ZipImportError, "can't open Zip file: " in read_directory()
867 PyErr_Format(ZipImportError, "can't read Zip file: %.200s", archive); in read_directory()
872 PyErr_Format(ZipImportError, "%s: %.200s", errmsg, archive); in read_directory()
935 PyErr_Format(ZipImportError, "negative data size"); in get_data()
1005 PyErr_SetString(ZipImportError, in get_data()
1020 PyErr_Format(ZipImportError, "can't read Zip file: %.200s", archive); in get_data()
1025 PyErr_Format(ZipImportError, "%s: %.200s", errmsg, archive); in get_data()
1062 PyErr_SetString(ZipImportError, in unmarshal_code()
1278 PyErr_Format(ZipImportError, "can't find module '%.200s'", fullname); in get_module_code()
1327 ZipImportError = PyErr_NewException("zipimport.ZipImportError", in initzipimport()
1329 if (ZipImportError == NULL) in initzipimport()
1332 Py_INCREF(ZipImportError); in initzipimport()
1334 ZipImportError) < 0) in initzipimport()