Extension Installation Error Codes

From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
(DOWNLOAD_ERROR -228)
 
(3 intermediate revisions 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 00:57, 3 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

[edit] BAD_PACKAGE_NAME -200

Mozilla Source uses of BAD_PACKAGE_NAME, error code -200

[edit] UNEXPECTED_ERROR -201

Mozilla Source uses of UNEXPECTED_ERROR, error code -201

[edit] ACCESS_DENIED -202

Mozilla Source uses of ACCESS_DENIED, error code -202

[edit] EXECUTION_ERROR -203

Mozilla Source uses of EXECUTION_ERROR, error code -203

[edit] NO_INSTALL_SCRIPT -204

Mozilla Source uses of NO_INSTALL_SCRIPT, error code -204

[edit] NO_CERTIFICATE -205

Mozilla Source uses of NO_CERTIFICATE, error code -205

[edit] NO_MATCHING_CERTIFICATE -206

Mozilla Source uses of NO_MATCHING_CERTIFICATE, error code -206

[edit] CANT_READ_ARCHIVE -207

Mozilla Source uses of CANT_READ_ARCHIVE, error code -207

[edit] INVALID_ARGUMENTS -208

Mozilla Source uses of INVALID_ARGUMENTS, error code -208

[edit] ILLEGAL_RELATIVE_PATH -209

Mozilla Source uses of ILLEGAL_RELATIVE_PATH, error code -209

[edit] USER_CANCELLED -210

Mozilla Source uses of USER_CANCELLED, error code -210

[edit] INSTALL_NOT_STARTED -211

Mozilla Source uses of INSTALL_NOT_STARTED, error code -211

[edit] SILENT_MODE_DENIED -212

Mozilla Source uses of SILENT_MODE_DENIED, error code -212

[edit] NO_SUCH_COMPONENT -213

Mozilla Source uses of NO_SUCH_COMPONENT, error code -213

[edit] DOES_NOT_EXIST -214

Mozilla Source uses of DOES_NOT_EXIST, error code -214

[edit] READ_ONLY -215

Mozilla Source uses of READ_ONLY, error code -215

[edit] IS_DIRECTORY -216

Mozilla Source uses of IS_DIRECTORY, error code -216

[edit] NETWORK_FILE_IS_IN_USE -217

Mozilla Source uses of NETWORK_FILE_IS_IN_USE, error code -217

[edit] APPLE_SINGLE_ERR -218

Mozilla Source uses of APPLE_SINGLE_ERR, error code -218

[edit] INVALID_PATH_ERR -219

Mozilla Source uses of INVALID_PATH_ERR, error code -219

[edit] PATCH_BAD_DIFF -220

Mozilla Source uses of PATCH_BAD_DIFF, error code -220

[edit] PATCH_BAD_CHECKSUM_TARGET -221

Mozilla Source uses of PATCH_BAD_CHECKSUM_TARGET, error code -221

[edit] PATCH_BAD_CHECKSUM_RESULT -222

Mozilla Source uses of PATCH_BAD_CHECKSUM_RESULT, error code -222

[edit] UNINSTALL_FAILED -223

Mozilla Source uses of UNINSTALL_FAILED, error code -223

[edit] PACKAGE_FOLDER_NOT_SET -224

Mozilla Source uses of PACKAGE_FOLDER_NOT_SET, error code -224

[edit] EXTRACTION_FAILED -225

Mozilla Source uses of EXTRACTION_FAILED, error code -225

[edit] FILENAME_ALREADY_USED -226

Mozilla Source uses of FILENAME_ALREADY_USED, error code -226

[edit] INSTALL_CANCELLED -227

Mozilla Source uses of INSTALL_CANCELLED, error code -227

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

Mozilla Source uses of DOWNLOAD_ERROR, error code -228

[edit] SCRIPT_ERROR -229

Mozilla Source uses of SCRIPT_ERROR, error code -229

[edit] ALREADY_EXISTS -230

Mozilla Source uses of ALREADY_EXISTS, error code -230

[edit] IS_FILE -231

Mozilla Source uses of IS_FILE, error code -231

[edit] SOURCE_DOES_NOT_EXIST -232

Mozilla Source uses of SOURCE_DOES_NOT_EXIST, error code -232

[edit] SOURCE_IS_DIRECTORY -233

Mozilla Source uses of SOURCE_IS_DIRECTORY, error code -233

[edit] SOURCE_IS_FILE -234

Mozilla Source uses of SOURCE_IS_FILE, error code -234

[edit] INSUFFICIENT_DISK_SPACE -235

Mozilla Source uses of INSUFFICIENT_DISK_SPACE, error code -235

[edit] FILENAME_TOO_LONG -236

Mozilla Source uses of FILENAME_TOO_LONG, error code -236

[edit] UNABLE_TO_LOCATE_LIB_FUNCTION -237

Mozilla Source uses of UNABLE_TO_LOCATE_LIB_FUNCTION, error code -237

[edit] UNABLE_TO_LOAD_LIBRARY -238

Mozilla Source uses of UNABLE_TO_LOAD_LIBRARY, error code -238

[edit] CHROME_REGISTRY_ERROR -239

Mozilla Source uses of CHROME_REGISTRY_ERROR, error code -239

[edit] MALFORMED_INSTALL -240

Mozilla Source uses of MALFORMED_INSTALL, error code -240

[edit] KEY_ACCESS_DENIED -241

Mozilla Source uses of KEY_ACCESS_DENIED, error code -241

[edit] KEY_DOES_NOT_EXIST -242

Mozilla Source uses of KEY_DOES_NOT_EXIST, error code -242

[edit] VALUE_DOES_NOT_EXIST -243

Mozilla Source uses of VALUE_DOES_NOT_EXIST, error code -243

[edit] UNSUPPORTED_TYPE -244

Mozilla Source uses of UNSUPPORTED_TYPE, error code -244

[edit] INVALID_SIGNATURE -260

Mozilla Source uses of INVALID_SIGNATURE, error code -260

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

[edit] INVALID_HASH_TYPE -262

Mozilla Source uses of INVALID_HASH_TYPE, error code -262

[edit] OUT_OF_MEMORY -299

Mozilla Source uses of OUT_OF_MEMORY, error code -299

[edit] GESTALT_UNKNOWN_ERR -5550

Mozilla Source uses of GESTALT_UNKNOWN_ERR, error code -5550

[edit] GESTALT_INVALID_ARGUMENT -5551

Mozilla Source uses of GESTALT_INVALID_ARGUMENT, error code -5551

[edit] SUCCESS 0

Mozilla Source uses of SUCCESS, error code 0

[edit] REBOOT_NEEDED 999

Mozilla Source uses of REBOOT_NEEDED, error code 999

Personal tools