Difference between revisions of "Extension Installation Error Codes"

From FirebugWiki
Jump to: navigation, search
(DOWNLOAD_ERROR -228)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[http://mxr.mozilla.org/mozilla1.9.2/source/xpinstall/src/nsInstall.h Source for Error Codes]
 
[http://mxr.mozilla.org/mozilla1.9.2/source/xpinstall/src/nsInstall.h 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.
  
 
=== BAD_PACKAGE_NAME -200 ===
 
=== BAD_PACKAGE_NAME -200 ===
Line 58: Line 60:
 
[http://mxr.mozilla.org/mozilla1.9.2/ident?i=INSTALL_CANCELLED Mozilla Source uses of INSTALL_CANCELLED, error code -227]
 
[http://mxr.mozilla.org/mozilla1.9.2/ident?i=INSTALL_CANCELLED Mozilla Source uses of INSTALL_CANCELLED, error code -227]
 
=== DOWNLOAD_ERROR -228 ===
 
=== DOWNLOAD_ERROR -228 ===
 +
 +
*Download error occurs if there is no valid reply for the URL.
 +
** Try once more and if the error repeats, try pasting the URL in to the browser location bar and shortening it a directory at at time so see what part of the path may be wrong.
 +
 
[http://mxr.mozilla.org/mozilla1.9.2/ident?i=DOWNLOAD_ERROR Mozilla Source uses of DOWNLOAD_ERROR, error code -228]
 
[http://mxr.mozilla.org/mozilla1.9.2/ident?i=DOWNLOAD_ERROR Mozilla Source uses of DOWNLOAD_ERROR, error code -228]
 +
 
=== SCRIPT_ERROR -229 ===
 
=== SCRIPT_ERROR -229 ===
 
[http://mxr.mozilla.org/mozilla1.9.2/ident?i=SCRIPT_ERROR Mozilla Source uses of SCRIPT_ERROR, error code -229]
 
[http://mxr.mozilla.org/mozilla1.9.2/ident?i=SCRIPT_ERROR Mozilla Source uses of SCRIPT_ERROR, error code -229]
Line 94: Line 101:
 
[http://mxr.mozilla.org/mozilla1.9.2/ident?i=INVALID_SIGNATURE Mozilla Source uses of INVALID_SIGNATURE, error code -260]
 
[http://mxr.mozilla.org/mozilla1.9.2/ident?i=INVALID_SIGNATURE Mozilla Source uses of INVALID_SIGNATURE, error code -260]
 
=== INVALID_HASH -261 ===
 
=== 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)
 +
 
[http://mxr.mozilla.org/mozilla1.9.2/ident?i=INVALID_HASH Mozilla Source uses of INVALID_HASH, error code -261]
 
[http://mxr.mozilla.org/mozilla1.9.2/ident?i=INVALID_HASH Mozilla Source uses of INVALID_HASH, error code -261]
 +
 
=== INVALID_HASH_TYPE -262 ===
 
=== INVALID_HASH_TYPE -262 ===
 
[http://mxr.mozilla.org/mozilla1.9.2/ident?i=INVALID_HASH_TYPE Mozilla Source uses of INVALID_HASH_TYPE, error code -262]
 
[http://mxr.mozilla.org/mozilla1.9.2/ident?i=INVALID_HASH_TYPE Mozilla Source uses of INVALID_HASH_TYPE, error code -262]

Latest revision as of 16:57, 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.

BAD_PACKAGE_NAME -200[edit]

Mozilla Source uses of BAD_PACKAGE_NAME, error code -200

UNEXPECTED_ERROR -201[edit]

Mozilla Source uses of UNEXPECTED_ERROR, error code -201

ACCESS_DENIED -202[edit]

Mozilla Source uses of ACCESS_DENIED, error code -202

EXECUTION_ERROR -203[edit]

Mozilla Source uses of EXECUTION_ERROR, error code -203

NO_INSTALL_SCRIPT -204[edit]

Mozilla Source uses of NO_INSTALL_SCRIPT, error code -204

NO_CERTIFICATE -205[edit]

Mozilla Source uses of NO_CERTIFICATE, error code -205

NO_MATCHING_CERTIFICATE -206[edit]

Mozilla Source uses of NO_MATCHING_CERTIFICATE, error code -206

CANT_READ_ARCHIVE -207[edit]

Mozilla Source uses of CANT_READ_ARCHIVE, error code -207

INVALID_ARGUMENTS -208[edit]

Mozilla Source uses of INVALID_ARGUMENTS, error code -208

ILLEGAL_RELATIVE_PATH -209[edit]

Mozilla Source uses of ILLEGAL_RELATIVE_PATH, error code -209

USER_CANCELLED -210[edit]

Mozilla Source uses of USER_CANCELLED, error code -210

INSTALL_NOT_STARTED -211[edit]

Mozilla Source uses of INSTALL_NOT_STARTED, error code -211

SILENT_MODE_DENIED -212[edit]

Mozilla Source uses of SILENT_MODE_DENIED, error code -212

NO_SUCH_COMPONENT -213[edit]

Mozilla Source uses of NO_SUCH_COMPONENT, error code -213

DOES_NOT_EXIST -214[edit]

Mozilla Source uses of DOES_NOT_EXIST, error code -214

READ_ONLY -215[edit]

Mozilla Source uses of READ_ONLY, error code -215

IS_DIRECTORY -216[edit]

Mozilla Source uses of IS_DIRECTORY, error code -216

NETWORK_FILE_IS_IN_USE -217[edit]

Mozilla Source uses of NETWORK_FILE_IS_IN_USE, error code -217

APPLE_SINGLE_ERR -218[edit]

Mozilla Source uses of APPLE_SINGLE_ERR, error code -218

INVALID_PATH_ERR -219[edit]

Mozilla Source uses of INVALID_PATH_ERR, error code -219

PATCH_BAD_DIFF -220[edit]

Mozilla Source uses of PATCH_BAD_DIFF, error code -220

PATCH_BAD_CHECKSUM_TARGET -221[edit]

Mozilla Source uses of PATCH_BAD_CHECKSUM_TARGET, error code -221

PATCH_BAD_CHECKSUM_RESULT -222[edit]

Mozilla Source uses of PATCH_BAD_CHECKSUM_RESULT, error code -222

UNINSTALL_FAILED -223[edit]

Mozilla Source uses of UNINSTALL_FAILED, error code -223

PACKAGE_FOLDER_NOT_SET -224[edit]

Mozilla Source uses of PACKAGE_FOLDER_NOT_SET, error code -224

EXTRACTION_FAILED -225[edit]

Mozilla Source uses of EXTRACTION_FAILED, error code -225

FILENAME_ALREADY_USED -226[edit]

Mozilla Source uses of FILENAME_ALREADY_USED, error code -226

INSTALL_CANCELLED -227[edit]

Mozilla Source uses of INSTALL_CANCELLED, error code -227

DOWNLOAD_ERROR -228[edit]

  • Download error occurs if there is no valid reply for the URL.
    • Try once more and if the error repeats, try pasting the URL in to the browser location bar and shortening it a directory at at time so see what part of the path may be wrong.

Mozilla Source uses of DOWNLOAD_ERROR, error code -228

SCRIPT_ERROR -229[edit]

Mozilla Source uses of SCRIPT_ERROR, error code -229

ALREADY_EXISTS -230[edit]

Mozilla Source uses of ALREADY_EXISTS, error code -230

IS_FILE -231[edit]

Mozilla Source uses of IS_FILE, error code -231

SOURCE_DOES_NOT_EXIST -232[edit]

Mozilla Source uses of SOURCE_DOES_NOT_EXIST, error code -232

SOURCE_IS_DIRECTORY -233[edit]

Mozilla Source uses of SOURCE_IS_DIRECTORY, error code -233

SOURCE_IS_FILE -234[edit]

Mozilla Source uses of SOURCE_IS_FILE, error code -234

INSUFFICIENT_DISK_SPACE -235[edit]

Mozilla Source uses of INSUFFICIENT_DISK_SPACE, error code -235

FILENAME_TOO_LONG -236[edit]

Mozilla Source uses of FILENAME_TOO_LONG, error code -236

UNABLE_TO_LOCATE_LIB_FUNCTION -237[edit]

Mozilla Source uses of UNABLE_TO_LOCATE_LIB_FUNCTION, error code -237

UNABLE_TO_LOAD_LIBRARY -238[edit]

Mozilla Source uses of UNABLE_TO_LOAD_LIBRARY, error code -238

CHROME_REGISTRY_ERROR -239[edit]

Mozilla Source uses of CHROME_REGISTRY_ERROR, error code -239

MALFORMED_INSTALL -240[edit]

Mozilla Source uses of MALFORMED_INSTALL, error code -240

KEY_ACCESS_DENIED -241[edit]

Mozilla Source uses of KEY_ACCESS_DENIED, error code -241

KEY_DOES_NOT_EXIST -242[edit]

Mozilla Source uses of KEY_DOES_NOT_EXIST, error code -242

VALUE_DOES_NOT_EXIST -243[edit]

Mozilla Source uses of VALUE_DOES_NOT_EXIST, error code -243

UNSUPPORTED_TYPE -244[edit]

Mozilla Source uses of UNSUPPORTED_TYPE, error code -244

INVALID_SIGNATURE -260[edit]

Mozilla Source uses of INVALID_SIGNATURE, error code -260

INVALID_HASH -261[edit]

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[edit]

Mozilla Source uses of INVALID_HASH_TYPE, error code -262

OUT_OF_MEMORY -299[edit]

Mozilla Source uses of OUT_OF_MEMORY, error code -299

GESTALT_UNKNOWN_ERR -5550[edit]

Mozilla Source uses of GESTALT_UNKNOWN_ERR, error code -5550

GESTALT_INVALID_ARGUMENT -5551[edit]

Mozilla Source uses of GESTALT_INVALID_ARGUMENT, error code -5551

SUCCESS 0[edit]

Mozilla Source uses of SUCCESS, error code 0

REBOOT_NEEDED 999[edit]

Mozilla Source uses of REBOOT_NEEDED, error code 999