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
最满意答案
此解决方案适用于Internet Explorer。 我不知道如何为firefox或chrome做到这一点。
请参阅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的帖子中采取的步骤 -
- 配置报表服务器以进行本地管理。 要在本地访问报表服务器和报表管理器,请按照下列步骤操作:
- 启动Windows Internet Explorer。
- 在“工具”菜单上,单击“Internet选项”。
- 单击安全性。
- 单击“可信站点”。
- 单击站点。
- 在“将此网站添加到区域”下,键入http:// ServerName。 如果未将HTTPS用于默认站点,请单击以清除“对该区域中的所有站点要求服务器认证(https :)”复选框。
- 单击添加。
- 重复步骤7f和步骤7g以添加http localhost URL,然后单击“关闭”。
- 注意:此步骤使您可以启动Internet Explorer并为Report Server应用程序和Report Manager应用程序打开服务器的localhost或网络计算机名称。
- 创建明确授予您访问权限和完全权限的角色分配。 为此,请按照下列步骤操作:
- 与“以管理员身份运行”选项一起启动Internet Explorer。 为此,请单击“开始”,单击“所有程序”,右键单击“Internet Explorer”,然后单击“以管理员身份运行”。
- 打开报表管理器。 默认情况下,报表管理器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.
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 -
- Configure the report server for local administration. To access the report server and Report Manager locally, follow these steps:
- Start Windows Internet Explorer.
- On the Tools menu, click Internet Options.
- Click Security.
- Click Trusted Sites.
- Click Sites.
- 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.
- Click Add.
- Repeat step 7f and step 7g to add the http localhost URL, and then click Close.
- 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.
- Create role assignments that explicitly grant you access together with full permissions. To do this, follow these steps:
- 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.
- 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 ...
-
Windows程序>失败的程序集区域是:MyComputer(Windows Program > The Zone of the assembly that failed was: MyComputer)[2023-01-05]
由于用户对它们没有完全控制权,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 ...
-
用户mycomputer \ myloginName没有所需的权限(User mycomputer\myloginName does not have required permissions)[2023-07-13]
此解决方案适用于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的步骤。 我真的不明白任何这些网址的含义。 因此,我使 ... -
枚举活动目录上的用户所需的安全权限是什么(What are the security permissions required to enumerate users on active directory)[2023-07-20]
当您创建新的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/ ...