首页 \ 问答 \ Firefox插件SDK错误:无法从内部工具栏中删除(Firefox addon SDK error: Unable to Remove from Inner-Toolbar)

Firefox插件SDK错误:无法从内部工具栏中删除(Firefox addon SDK error: Unable to Remove from Inner-Toolbar)

经过数小时和数小时尝试使工作正常,我在控制台中出现此错误:

[CustomizableUI] Widget action-button--myAddonID-misspelutton not found, unable to remove from inner-toolbar-myAddonID-the-title-of-my-addon1 CustomizableUI.jsm:171

因此,插件的小部件ID以某种方式拼写错误并卡在某处。 该术语未出现在我的任何代码中。

详细信息:我最初使用XUL叠加层构建此插件,并使用Firefox AddOn SDK重建它。 我想(但我不确定)这个问题是这样的:我从Firefox Addon Repo安装了我的签名插件,然后我用jpm post --post-url http://localhost:8888/将它安装到Firefox Developer Edition运行Extension Auto-Installer

在我的代码中我有这个,但我删除了它以及与之相关的所有内容:

const { CustomizableUI } = Cu.import('resource:///modules/CustomizableUI.jsm', {});

[更新]

我也试过这个:卸载插件,进入自定义模式并选择“恢复默认值”,将所有工具栏重置为默认值。 然后我退出Firefox并重新启动它。 当我运行jpm来安装插件时,错误代码仍然存在。

有趣的是:当我使用工具箱检查器查看按钮时,它会显示该按钮的#id,就像在错误中一样。

话虽如此,如何在不创建新的firefox配置文件的情况下解决问题?


After hours and hours trying to get things working, I have this error in my console:

[CustomizableUI] Widget action-button--myAddonID-misspelutton not found, unable to remove from inner-toolbar-myAddonID-the-title-of-my-addon1 CustomizableUI.jsm:171

So, the addon's widget id is misspelled somehow and stuck somewhere. The term does not appear in any of my code.

Details: I originally built this addon using XUL overlays, and am rebuilding it with the Firefox AddOn SDK. I think (but I'm not sure) this problem happens like this: I installed my signed addon from the Firefox Addon Repo, and then I used jpm post --post-url http://localhost:8888/ to install it into Firefox Developer Edition running the Extension Auto-Installer.

In my code I had this, but I've removed it and everything that pertains to it:

const { CustomizableUI } = Cu.import('resource:///modules/CustomizableUI.jsm', {});

[update]

I have also tried this: uninstall the addon, enter customization mode and choose "Restore to Defaults" which resets all the toolbars to default. Then I exited Firefox and restarted it. When I run jpm to install the addon, the error code persists.

Funny thing also is this: when I view the button using the toolbox inspector, it shows the #id of that button just like in the error.

With that said, how do I resolve the problem without creating a new firefox profile?


原文:https://stackoverflow.com/questions/34348230
更新时间:2023-04-04 06:04

最满意答案

此解决方案适用于Internet Explorer。 我不知道如何为firefox或chrome做到这一点。

链接1 - http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/9b5a8763-84ce-46d0-b011-067ad39223d1/

请参阅Chirag Shah的解决方案。 仅遵循步骤13.我无法执行步骤14,因为我找不到主页对话框。

在Chirag谈论一些URL的步骤。 我真的不明白任何这些网址的含义。 因此,我使用了“Reporting Services配置管理器”中“报表管理器URL”下的URL。 它是

http://localhost:8080/MyReportServer. 

8080是一个端口号。

完成此操作后,请转到下面的链接并按照所有步骤操作 - http://www.soheib.com/technical-knowledge/sql-server-2012-reporting-services-uac-user-access-control/

在第7步中,我看到了很多复选框。 我选了所有这些。 最后,我可以安息吧。 希望它也适合你。

此外,在制作上述链接中描述的帐户时,您可能会看到“BUILTIN \ Administrators”帐户。 忽略它 - 这就是我所做的。

                             **END  OF POST**

从Chirag Shah的帖子中采取的步骤 -

  1. 配置报表服务器以进行本地管理。 要在本地访问报表服务器和报表管理器,请按照下列步骤操作:
  2. 启动Windows Internet Explorer。
  3. 在“工具”菜单上,单击“Internet选项”。
  4. 单击安全性。
  5. 单击“可信站点”。
  6. 单击站点。
  7. 在“将此网站添加到区域”下,键入http:// ServerName。 如果未将HTTPS用于默认站点,请单击以清除“对该区域中的所有站点要求服务器认证(https :)”复选框。
  8. 单击添加。
  9. 重复步骤7f和步骤7g以添加http localhost URL,然后单击“关闭”。
  10. 注意:此步骤使您可以启动Internet Explorer并为Report Server应用程序和Report Manager应用程序打开服务器的localhost或网络计算机名称。
  11. 创建明确授予您访问权限和完全权限的角色分配。 为此,请按照下列步骤操作:
  12. 与“以管理员身份运行”选项一起启动Internet Explorer。 为此,请单击“开始”,单击“所有程序”,右键单击“Internet Explorer”,然后单击“以管理员身份运行”。
  13. 打开报表管理器。 默认情况下,报表管理器URL为http:// ServerName / reports。 如果将SQL Server Express与高级服务SP2一起使用,则报表管理器URL为http:// ServerName / reports $ sqlexpress。 如果使用Reporting Services的命名实例,则报表管理器URL为http:// ServerName / reports $ InstanceName

This solution is for Internet Explorer. I don't know how it can be done for firefox or chrome.

Link 1 - http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/9b5a8763-84ce-46d0-b011-067ad39223d1/

See the solutions by Chirag Shah. Follow only up to step 13. I could not follow Step 14 because I found no home dialog box.

In the steps Chirag talks about some URL's. I don't really understand the meaning of any of those URL's. So, I used the URL under "Report Manager URL" in "Reporting Services Configuration Manager". It was

http://localhost:8080/MyReportServer. 

The 8080 is a port number.

Once you finished this, go to the link below and follow all the steps - http://www.soheib.com/technical-knowledge/sql-server-2012-reporting-services-uac-user-access-control/

In the 7th step, I saw a lot of check boxes. I selected all of them. Finally, I can rest in peace. Hope it works for you too.

Also, when making the accounts described in the above link, you might see "BUILTIN\Administrators" account. Ignore it - thats what i did.

                             **END  OF POST**

Steps taken from Chirag Shah's post -

  1. Configure the report server for local administration. To access the report server and Report Manager locally, follow these steps:
  2. Start Windows Internet Explorer.
  3. On the Tools menu, click Internet Options.
  4. Click Security.
  5. Click Trusted Sites.
  6. Click Sites.
  7. Under Add this Web site to the zone, type http://ServerName. If you are not using HTTPS for the default site, click to clear the Require server certification (https:) for all sites in this zone check box.
  8. Click Add.
  9. Repeat step 7f and step 7g to add the http localhost URL, and then click Close.
  10. Note This step enables you to start Internet Explorer and open either the localhost or the network computer name of the server for both the Report Server application and the Report Manager application.
  11. Create role assignments that explicitly grant you access together with full permissions. To do this, follow these steps:
  12. Start Internet Explorer together with the Run as administrator option. To do this, click Start, click All Programs, right-click Internet Explorer, and then click Run as administrator.
  13. Open Report Manager. By default, the Report Manager URL is http://ServerName/reports. If you use SQL Server Express with Advanced Services SP2, the Report Manager URL is http://ServerName/reports$sqlexpress. If you use a named instance of Reporting Services, the Report Manager URL is http://ServerName/reports$InstanceName

相关问答

更多
  • 你见过这些链接: Lync2013: Lync Server 2013的组成员身份要求 和 在Lync Server 2013中规划基于角色的访问控制 Skype For Business: Windows PowerShell和Skype for Business Server 2015管理工具 和 适用于Skype for Business Server 2015的基于角色的访问控制(RBAC) 它看起来都是围绕Lync中的“基于角色的访问控制”概念建模的。 Have you seen these li ...
  • 由于用户对它们没有完全控制权,Oracle客户端无法访问某些注册表项。 您需要什么使用regedit,导航到注册表键并右键单击具有上述名称的文件夹。 然后选择权限,您可以更改每个用户的权限。 一个可能的关键是 `HKLM/Software/Policies/Microsoft/Windows/Installer` 如果找不到正确的密钥,您可以使用进程监视器来检查它是什么。 进程监视器可以下载Microsoft The Oracle client can not access some register k ...
  • 我认为最安全的做法是将权限存储在数据库(或任何其他集中式服务器)中。 优点是,如果权限发生变化,您只有一个中心位置可以更改。 如果应用程序中有任何安全配置,那么在更改之后您必须确保没有用户秘密使用旧版本... I think the safest thing is to store the permissions in the database (or any other centralized server). The advantage is that if the permissions change ...
  • 没有任何权限可以获取关系属性,例如billingItem - > package或billingItem - > upgradeItems 您只需启用“查看硬件详细信息”权限并访问该设备即可 无论如何,你可以试试这个面具吗? $objectMask->billingItem -> package; $objectMask->billingItem -> upgradeItems; 如果您无法获得包装信息,请告知我们,如果您继续遇到此问题,请提供更多信息,您正在使用的面具以及您的期望。 此外,服务器的标识符 ...
  • 你可以试试 : Run("explorer.exe ,"); $shell = null; ?> 当我们添加“,”时,它会打开我的电脑。 you can try : Run("explorer.exe ,"); $shell = null; ?> when we add "," it open My compu ...
  • 该计划必须能够执行以下操作: 连接并查询QMgr 使用查询,显示和获取针对合适模型队列的权限来创建模型队列(您通常为此定义专用的队列而不是使用默认模型队列) 将PCF消息放在命令队列中,具有查询,显示和放置权限 使用显示权限查询目标队列 Dale Lane在一段时间后写了一篇博客文章,描述了一般情况: 使用WebSphere MQ Explorer作为只读查看器 。 由于WMQ Explorer需要显示所有对象类型的所有对象,因此它比您要求的更宽松一些。 但是,您需要的设置是Dale提供的设置的子集,并且帖 ...
  • 当您想要执行与该权限相关的某些操作时,您需要在每次授予天气权限时检查您的应用程序。 因为用户可以随时从设置中禁用该权限。 危险权限和权限组: 日历 READ_CALENDAR WRITE_CALENDAR 相机 CAMERA 联系 READ_CONTACTS WRITE_CONTACTS GET_ACCOUNTS 位置 ACCESS_FINE_LOCATION ACCESS_COARSE_LOCATION 麦克风 RECORD_AUDIO 电话 READ_PHONE_STATE CALL_PHO ...
  • 此解决方案适用于Internet Explorer。 我不知道如何为firefox或chrome做到这一点。 链接1 - http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/9b5a8763-84ce-46d0-b011-067ad39223d1/ 请参阅Chirag Shah的解决方案。 仅遵循步骤13.我无法执行步骤14,因为我找不到主页对话框。 在Chirag谈论一些URL的步骤。 我真的不明白任何这些网址的含义。 因此,我使 ...
  • 当您创建新的DirectoryEntry而未指定用户名和密码时,您使用执行用户的凭据连接到Active Directory - 在您的情况下可能是Web服务器上的本地IUSR _...帐户,这是当使用的默认帐户时在IIS中设置了一个新的网站。 因为这是本地帐户,您将无法访问Active Directory。 你有两个选择: 在Active Directory中创建服务帐户并明确使用该帐户,即DirectoryEntry de = new DirectoryEntry("LDAP://DC=contoso,D ...
  • 您需要修改应用使用的范围。 我们的应用程序存储我们所需的范围如下: scopes: ['https://www.googleapis.com/auth/plus.me', 'https://www.googleapis.com/auth/userinfo.email'] 您的应用正在请求需要这些权限的范围。 注意: https : //www.googleapis.com/auth/userinfo.email已弃用,请改用https://www.googleapis.com/auth/ ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)