X
點擊此處開啟此網站的行動版。

技術支援討論區

Using Mac 10.13.6; firefox v. 67.0.4 addon error: an unexpected error occurred during installation

已張貼

tried to install various adblocker addons and got an unexpected error occurred during installation

tried fixes offered for older versions of firefox - - did not fix the problem.

newer version (my version is latest) was supposed to have solved the problem, but apparently not.

If you have a solution, please advise.

tried to install various adblocker addons and got an unexpected error occurred during installation tried fixes offered for older versions of firefox - - did not fix the problem. newer version (my version is latest) was supposed to have solved the problem, but apparently not. If you have a solution, please advise.
引用

額外的系統細節

已安裝的外掛程式

  • Shockwave Flash 26.0 r0

應用程式

  • Firefox 67.0.4
  • 使用者代理:Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0
  • 技術支援網址:https://support.mozilla.org/1/firefox/67.0.4/Darwin/en-CA/

擴充套件

JavaScript

  • incrementalGCEnabled: True

圖形

  • adapterDescription:
  • adapterDeviceID: 0x0166
  • adapterDrivers:
  • adapterRAM:
  • adapterVendorID: 0x8086
  • contentUsesTiling: True
  • crashGuards: []
  • driverDate:
  • driverVersion:
  • featureLog: {u'fallbacks': [], u'features': [{u'status': u'available', u'description': u'Compositing', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'HW_COMPOSITING'}, {u'status': u'available', u'description': u'OpenGL Compositing', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'OPENGL_COMPOSITING'}, {u'status': u'opt-in', u'description': u'WebRender', u'log': [{u'status': u'opt-in', u'message': u'WebRender is an opt-in feature', u'type': u'default'}], u'name': u'WEBRENDER'}, {u'status': u'blocked', u'description': u'WebRender qualified', u'log': [{u'status': u'available', u'type': u'default'}, {u'status': u'blocked', u'message': u'No qualified hardware', u'type': u'env'}], u'name': u'WEBRENDER_QUALIFIED'}, {u'status': u'available', u'description': u'Off Main Thread Painting', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'OMTP'}]}
  • info: {u'TileHeight': 512, u'ApzWheelInput': 1, u'ApzDragInput': 1, u'ApzKeyboardInput': 1, u'ApzAutoscrollInput': 1, u'AzureFallbackCanvasBackend': u'none', u'TileWidth': 512, u'AzureCanvasBackend': u'skia', u'AzureContentBackend': u'skia'}
  • lowEndMachine: False
  • numAcceleratedWindows: 2
  • numTotalWindows: 2
  • offMainThreadPaintEnabled: True
  • offMainThreadPaintWorkerCount: 3
  • targetFrameRate: 60
  • usesTiling: True
  • webgl1DriverExtensions: GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
  • webgl1Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_disjoint_timer_query EXT_float_blend EXT_frag_depth EXT_shader_texture_lod EXT_sRGB EXT_texture_compression_rgtc EXT_texture_filter_anisotropic OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context
  • webgl1Renderer: Intel Inc. -- Intel HD Graphics 4000 OpenGL Engine
  • webgl1Version: 4.1 INTEL-10.36.25
  • webgl1WSIInfo: CGL
  • webgl2DriverExtensions: GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
  • webgl2Extensions: EXT_color_buffer_float EXT_disjoint_timer_query EXT_float_blend EXT_texture_compression_rgtc EXT_texture_filter_anisotropic OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
  • webgl2Renderer: Intel Inc. -- Intel HD Graphics 4000 OpenGL Engine
  • webgl2Version: 4.1 INTEL-10.36.25
  • webgl2WSIInfo: CGL
  • windowLayerManagerRemote: True
  • windowLayerManagerType: OpenGL
  • windowUsingAdvancedLayers: False

修改過的偏好設定

其他

  • User JS: 否
  • 輔助功能: 否
jscher2000
  • Top 10 Contributor
8792 個解決方法 71899 個答案

Hi vswhk, I assume you have the same mysterious error for all extensions, not just ad blockers? It would be suspicious if only certain kinds of extensions were uninstallable.

Could you test again, and watch for (hopefully) more specific error messages in Firefox's Browser Console? Here's how:

First, open the page on the Add-ons site for the extension you want to install.

Next, open the separate Browser Console window using either:

  • "3-bar" menu button > Web Developer > Browser Console
  • (menu bar) Tools > Web Developer > Browser Console
  • (Mac) Command+Shift+j

Click the trash can icon at the upper left to clear the current messages in the window, then switch back over to the extension's page and click the Install button. Follow the process as far as Firefox will let you.

Then switch back over to the console window. Did Firefox log any errors related to the installation that you could paste into a reply here?

More info on the Browser Console: https://developer.mozilla.org/docs/Tools/Browser_Console

Hi vswhk, I assume you have the same mysterious error for all extensions, not just ad blockers? It would be suspicious if only certain kinds of extensions were uninstallable. Could you test again, and watch for (hopefully) more specific error messages in Firefox's Browser Console? Here's how: First, open the page on the Add-ons site for the extension you want to install. Next, open the separate Browser Console window using either: * "3-bar" menu button > Web Developer > Browser Console * (menu bar) Tools > Web Developer > Browser Console * (Mac) Command+Shift+j Click the trash can icon at the upper left to clear the current messages in the window, then switch back over to the extension's page and click the Install button. Follow the process as far as Firefox will let you. Then switch back over to the console window. Did Firefox log any errors related to the installation that you could paste into a reply here? More info on the Browser Console: https://developer.mozilla.org/docs/Tools/Browser_Console
這篇文章有幫助嗎?
引用

提出問題者

Content Security Policy: Directive ‘child-src’ has been deprecated. Please use directive ‘worker-src’ to control workers, or directive ‘frame-src’ to control frames respectively. [GA: ON] sendEvent {"hitType":"event","eventCategory":"AMO Addon Installs Started","eventAction":"addon","eventLabel":"AdBlocker"} amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onDownloadStarted amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onDownloadProgress amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onDownloadEnded amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onDownloadCancelled amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onDownloadFailed amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onInstallStarted amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onInstallProgress amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onInstallEnded amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onInstallCancelled amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onInstallFailed amo-66fe51dca6622154488c.js:1:1253078 Events to handle the installation initialized. amo-66fe51dca6622154488c.js:1:1253078 Event received Object { type: "onInstalling", id: "{c8476e06-0a50-41ec-a840-a2db436cf38c}", needsRestart: undefined } disco-5414ce10f32dba799747.js:1:586841 Event received <unavailable> amo-66fe51dca6622154488c.js:1:1253078 1561472750750 addons.xpi ERROR Failed to create staging directory: Unix error 13 during operation makeDir on file /Users/vincent/Library/Application Support/Firefox/Profiles/9vca4tvj.default/extensions/staged (Permission denied)((unknown module)) No traceback available Log.jsm:679 1561472750751 addons.xpi WARN Failed to install /var/folders/ns/31_bfnzn65s4w3tvg_4p8zwm0000gp/T/tmp-yw4.xpi from https://addons.mozilla.org/firefox/downloads/file/1737671/adblocker_pro-3.9.0-an+fx.xpi?src=dp-btn-primary to /Users/vincent/Library/Application Support/Firefox/Profiles/9vca4tvj.default/extensions/staged: Unix error 13 during operation makeDir on file /Users/vincent/Library/Application Support/Firefox/Profiles/9vca4tvj.default/extensions/staged (Permission denied)((unknown module)) No traceback available Event received Object { type: "onOperationCancelled", id: "{c8476e06-0a50-41ec-a840-a2db436cf38c}", needsRestart: undefined } disco-5414ce10f32dba799747.js:1:586841 Event received <unavailable> amo-66fe51dca6622154488c.js:1:1253078 1561472750753 addons.xpi WARN Failed to set permissions 755 on /Users/vincent/Library/Application Support/Firefox/Profiles/9vca4tvj.default/extensions/staged: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.permissions]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/addons/XPIInstall.jsm :: setFilePermissions :: line 853" data: no] Stack trace: setFilePermissions()@resource://gre/modules/addons/XPIInstall.jsm:853 cleanStagingDir()@resource://gre/modules/addons/XPIInstall.jsm:2628 releaseStagingDir()@resource://gre/modules/addons/XPIInstall.jsm:2598 startInstall()@resource://gre/modules/addons/XPIInstall.jsm:1569 1561472750754 addons.xpi WARN Failed to remove staging dir: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/addons/XPIInstall.jsm :: cleanStagingDir :: line 2629" data: no] Stack trace: cleanStagingDir()@resource://gre/modules/addons/XPIInstall.jsm:2629 releaseStagingDir()@resource://gre/modules/addons/XPIInstall.jsm:2598 startInstall()@resource://gre/modules/addons/XPIInstall.jsm:1569 Sending message that cannot be cloned. Are you trying to send an XPCOM object? addonManager.js:226:13 Unexpected error after having received onOperationCancelled event Error: "Addon not found"

   c https://addons-discovery.cdn.mozilla.net/disco-5414ce10f32dba799747.js:1

disco-5414ce10f32dba799747.js:1:586841 Install error: undefined amo-66fe51dca6622154488c.js:1:1253078 Unexpected error after having received onOperationCancelled event <unavailable> amo-66fe51dca6622154488c.js:1:1253078 Error:

Content Security Policy: Directive ‘child-src’ has been deprecated. Please use directive ‘worker-src’ to control workers, or directive ‘frame-src’ to control frames respectively. [GA: ON] sendEvent {"hitType":"event","eventCategory":"AMO Addon Installs Started","eventAction":"addon","eventLabel":"AdBlocker"} amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onDownloadStarted amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onDownloadProgress amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onDownloadEnded amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onDownloadCancelled amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onDownloadFailed amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onInstallStarted amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onInstallProgress amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onInstallEnded amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onInstallCancelled amo-66fe51dca6622154488c.js:1:1253078 [install] Adding listener for onInstallFailed amo-66fe51dca6622154488c.js:1:1253078 Events to handle the installation initialized. amo-66fe51dca6622154488c.js:1:1253078 Event received Object { type: "onInstalling", id: "{c8476e06-0a50-41ec-a840-a2db436cf38c}", needsRestart: undefined } disco-5414ce10f32dba799747.js:1:586841 Event received <unavailable> amo-66fe51dca6622154488c.js:1:1253078 1561472750750 addons.xpi ERROR Failed to create staging directory: Unix error 13 during operation makeDir on file /Users/vincent/Library/Application Support/Firefox/Profiles/9vca4tvj.default/extensions/staged (Permission denied)((unknown module)) No traceback available Log.jsm:679 1561472750751 addons.xpi WARN Failed to install /var/folders/ns/31_bfnzn65s4w3tvg_4p8zwm0000gp/T/tmp-yw4.xpi from https://addons.mozilla.org/firefox/downloads/file/1737671/adblocker_pro-3.9.0-an+fx.xpi?src=dp-btn-primary to /Users/vincent/Library/Application Support/Firefox/Profiles/9vca4tvj.default/extensions/staged: Unix error 13 during operation makeDir on file /Users/vincent/Library/Application Support/Firefox/Profiles/9vca4tvj.default/extensions/staged (Permission denied)((unknown module)) No traceback available Event received Object { type: "onOperationCancelled", id: "{c8476e06-0a50-41ec-a840-a2db436cf38c}", needsRestart: undefined } disco-5414ce10f32dba799747.js:1:586841 Event received <unavailable> amo-66fe51dca6622154488c.js:1:1253078 1561472750753 addons.xpi WARN Failed to set permissions 755 on /Users/vincent/Library/Application Support/Firefox/Profiles/9vca4tvj.default/extensions/staged: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.permissions]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/addons/XPIInstall.jsm :: setFilePermissions :: line 853" data: no] Stack trace: setFilePermissions()@resource://gre/modules/addons/XPIInstall.jsm:853 cleanStagingDir()@resource://gre/modules/addons/XPIInstall.jsm:2628 releaseStagingDir()@resource://gre/modules/addons/XPIInstall.jsm:2598 startInstall()@resource://gre/modules/addons/XPIInstall.jsm:1569 1561472750754 addons.xpi WARN Failed to remove staging dir: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/addons/XPIInstall.jsm :: cleanStagingDir :: line 2629" data: no] Stack trace: cleanStagingDir()@resource://gre/modules/addons/XPIInstall.jsm:2629 releaseStagingDir()@resource://gre/modules/addons/XPIInstall.jsm:2598 startInstall()@resource://gre/modules/addons/XPIInstall.jsm:1569 Sending message that cannot be cloned. Are you trying to send an XPCOM object? addonManager.js:226:13 Unexpected error after having received onOperationCancelled event Error: "Addon not found" c https://addons-discovery.cdn.mozilla.net/disco-5414ce10f32dba799747.js:1 disco-5414ce10f32dba799747.js:1:586841 Install error: undefined amo-66fe51dca6622154488c.js:1:1253078 Unexpected error after having received onOperationCancelled event <unavailable> amo-66fe51dca6622154488c.js:1:1253078 Error:
這篇文章有幫助嗎?
引用
jscher2000
  • Top 10 Contributor
8792 個解決方法 71899 個答案

Hi vswhk, thank you for the info. It's a surprising number of items, but these items related to problems with permissions writing to disk stand out to me:

1561472750750 addons.xpi ERROR Failed to create staging directory: Unix error 13 during operation makeDir on file .../extensions/staged (Permission denied)((unknown module)) No traceback available Log.jsm:679

1561472750753 addons.xpi WARN Failed to set permissions 755 on .../extensions/staged: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.permissions]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/addons/XPIInstall.jsm :: setFilePermissions :: line 853" data: no]

Unexpected error after having received onOperationCancelled event <unavailable> amo-66fe51dca6622154488c.js:1:1253078

Hopefully someone more familiar with Linux MacOS will recognize what might be causing that.

Hi vswhk, thank you for the info. It's a surprising number of items, but these items related to problems with permissions writing to disk stand out to me: <blockquote>1561472750750 addons.xpi ERROR Failed to create staging directory: '''Unix error 13 during operation makeDir on file''' .../extensions/staged (Permission denied)((unknown module)) No traceback available Log.jsm:679<br> <br> 1561472750753 addons.xpi WARN '''Failed to set permissions 755''' on .../extensions/staged: [Exception... "Component returned failure code: 0x80520015 ('''NS_ERROR_FILE_ACCESS_DENIED''') [nsIFile.permissions]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/addons/XPIInstall.jsm :: setFilePermissions :: line 853" data: no] <br> <br> Unexpected error after having received onOperationCancelled event <unavailable> amo-66fe51dca6622154488c.js:1:1253078</blockquote> Hopefully someone more familiar with <s>Linux</s> <u>MacOS</u> will recognize what might be causing that.

由 jscher2000 於 修改

這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題