Extension Installation Error Codes

From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
(INVALID_HASH -261)
Line 97: Line 97:
=== INVALID_HASH -261 ===
=== INVALID_HASH -261 ===
-
Comment says:
+
A numeric code called a 'hash' for downloaded extension file did not match the expected value.
 +
 
 +
This can mean:
 +
*The hash value was incorrectly given to the downloading code.
 +
**Contact the person who specified the hash value.
 +
*The download file have been modified since the hash was computed.
 +
**Contact the download site maintainer.
 +
**The linked file got updated but the hash did not. (likely)
 +
**A malicious person has inserted bad code in the file. (unlikely but very bad)
 +
*The downloaded has bad bits in it.
 +
**Just try again.
 +
**Networks and disk drives are very reliable, but sometimes...
 +
 
 +
 
 +
Mozilla source comment says:
  Don't install if we can't verify the hash (if specified)
  Don't install if we can't verify the hash (if specified)

Revision as of 17:44, 2 April 2010

Source for Error Codes

NOTE: The majority of these codes relate to the old install.js mechanism for installing extensions. They should not appear in practice.

Contents

BAD_PACKAGE_NAME -200

Mozilla Source uses of BAD_PACKAGE_NAME, error code -200

UNEXPECTED_ERROR -201

Mozilla Source uses of UNEXPECTED_ERROR, error code -201

ACCESS_DENIED -202

Mozilla Source uses of ACCESS_DENIED, error code -202

EXECUTION_ERROR -203

Mozilla Source uses of EXECUTION_ERROR, error code -203

NO_INSTALL_SCRIPT -204

Mozilla Source uses of NO_INSTALL_SCRIPT, error code -204

NO_CERTIFICATE -205

Mozilla Source uses of NO_CERTIFICATE, error code -205

NO_MATCHING_CERTIFICATE -206

Mozilla Source uses of NO_MATCHING_CERTIFICATE, error code -206

CANT_READ_ARCHIVE -207

Mozilla Source uses of CANT_READ_ARCHIVE, error code -207

INVALID_ARGUMENTS -208

Mozilla Source uses of INVALID_ARGUMENTS, error code -208

ILLEGAL_RELATIVE_PATH -209

Mozilla Source uses of ILLEGAL_RELATIVE_PATH, error code -209

USER_CANCELLED -210

Mozilla Source uses of USER_CANCELLED, error code -210

INSTALL_NOT_STARTED -211

Mozilla Source uses of INSTALL_NOT_STARTED, error code -211

SILENT_MODE_DENIED -212

Mozilla Source uses of SILENT_MODE_DENIED, error code -212

NO_SUCH_COMPONENT -213

Mozilla Source uses of NO_SUCH_COMPONENT, error code -213

DOES_NOT_EXIST -214

Mozilla Source uses of DOES_NOT_EXIST, error code -214

READ_ONLY -215

Mozilla Source uses of READ_ONLY, error code -215

IS_DIRECTORY -216

Mozilla Source uses of IS_DIRECTORY, error code -216

NETWORK_FILE_IS_IN_USE -217

Mozilla Source uses of NETWORK_FILE_IS_IN_USE, error code -217

APPLE_SINGLE_ERR -218

Mozilla Source uses of APPLE_SINGLE_ERR, error code -218

INVALID_PATH_ERR -219

Mozilla Source uses of INVALID_PATH_ERR, error code -219

PATCH_BAD_DIFF -220

Mozilla Source uses of PATCH_BAD_DIFF, error code -220

PATCH_BAD_CHECKSUM_TARGET -221

Mozilla Source uses of PATCH_BAD_CHECKSUM_TARGET, error code -221

PATCH_BAD_CHECKSUM_RESULT -222

Mozilla Source uses of PATCH_BAD_CHECKSUM_RESULT, error code -222

UNINSTALL_FAILED -223

Mozilla Source uses of UNINSTALL_FAILED, error code -223

PACKAGE_FOLDER_NOT_SET -224

Mozilla Source uses of PACKAGE_FOLDER_NOT_SET, error code -224

EXTRACTION_FAILED -225

Mozilla Source uses of EXTRACTION_FAILED, error code -225

FILENAME_ALREADY_USED -226

Mozilla Source uses of FILENAME_ALREADY_USED, error code -226

INSTALL_CANCELLED -227

Mozilla Source uses of INSTALL_CANCELLED, error code -227

DOWNLOAD_ERROR -228

Mozilla Source uses of DOWNLOAD_ERROR, error code -228

SCRIPT_ERROR -229

Mozilla Source uses of SCRIPT_ERROR, error code -229

ALREADY_EXISTS -230

Mozilla Source uses of ALREADY_EXISTS, error code -230

IS_FILE -231

Mozilla Source uses of IS_FILE, error code -231

SOURCE_DOES_NOT_EXIST -232

Mozilla Source uses of SOURCE_DOES_NOT_EXIST, error code -232

SOURCE_IS_DIRECTORY -233

Mozilla Source uses of SOURCE_IS_DIRECTORY, error code -233

SOURCE_IS_FILE -234

Mozilla Source uses of SOURCE_IS_FILE, error code -234

INSUFFICIENT_DISK_SPACE -235

Mozilla Source uses of INSUFFICIENT_DISK_SPACE, error code -235

FILENAME_TOO_LONG -236

Mozilla Source uses of FILENAME_TOO_LONG, error code -236

UNABLE_TO_LOCATE_LIB_FUNCTION -237

Mozilla Source uses of UNABLE_TO_LOCATE_LIB_FUNCTION, error code -237

UNABLE_TO_LOAD_LIBRARY -238

Mozilla Source uses of UNABLE_TO_LOAD_LIBRARY, error code -238

CHROME_REGISTRY_ERROR -239

Mozilla Source uses of CHROME_REGISTRY_ERROR, error code -239

MALFORMED_INSTALL -240

Mozilla Source uses of MALFORMED_INSTALL, error code -240

KEY_ACCESS_DENIED -241

Mozilla Source uses of KEY_ACCESS_DENIED, error code -241

KEY_DOES_NOT_EXIST -242

Mozilla Source uses of KEY_DOES_NOT_EXIST, error code -242

VALUE_DOES_NOT_EXIST -243

Mozilla Source uses of VALUE_DOES_NOT_EXIST, error code -243

UNSUPPORTED_TYPE -244

Mozilla Source uses of UNSUPPORTED_TYPE, error code -244

INVALID_SIGNATURE -260

Mozilla Source uses of INVALID_SIGNATURE, error code -260

INVALID_HASH -261

A numeric code called a 'hash' for downloaded extension file did not match the expected value.

This can mean:

  • The hash value was incorrectly given to the downloading code.
    • Contact the person who specified the hash value.
  • The download file have been modified since the hash was computed.
    • Contact the download site maintainer.
    • The linked file got updated but the hash did not. (likely)
    • A malicious person has inserted bad code in the file. (unlikely but very bad)
  • The downloaded has bad bits in it.
    • Just try again.
    • Networks and disk drives are very reliable, but sometimes...


Mozilla source comment says:

Don't install if we can't verify the hash (if specified)

Mozilla Source uses of INVALID_HASH, error code -261

INVALID_HASH_TYPE -262

Mozilla Source uses of INVALID_HASH_TYPE, error code -262

OUT_OF_MEMORY -299

Mozilla Source uses of OUT_OF_MEMORY, error code -299

GESTALT_UNKNOWN_ERR -5550

Mozilla Source uses of GESTALT_UNKNOWN_ERR, error code -5550

GESTALT_INVALID_ARGUMENT -5551

Mozilla Source uses of GESTALT_INVALID_ARGUMENT, error code -5551

SUCCESS 0

Mozilla Source uses of SUCCESS, error code 0

REBOOT_NEEDED 999

Mozilla Source uses of REBOOT_NEEDED, error code 999

Personal tools