StackApplet 无法打开/无法添加帐户

Ben*_*nny 6 python stackapplet 16.04

使用以下方法安装StackApplet后:

sudo apt install stackapplet
Run Code Online (Sandbox Code Playgroud)

该应用程序未打开,因此,它通过以下方式修复:

sudo apt-get install python-appindicator
Run Code Online (Sandbox Code Playgroud)

现在它已打开并出现在指示器面板中,但是,
当我尝试添加我的帐户时,登录身份验证的弹出对话框没有打开,屏幕变暗,但没有其他任何反应:

按下后的画面Add a new account 在此处输入图片说明

屏幕应如下所示: 在此处输入图片说明

在浏览器控制台中,启动时出现此错误:

jquery.js:9835 GET http://stackauth.com/1.0/sites?key=_qlxmEAOH06hLA1_FsZIGQ&jsonp=jQuery111304529615512861749_1478608610966&_=1478608610967 404 (Not Found)send @ jquery.js:9835ajax @ jquery.js:9214(anonymous function) @ (index):438fire @ jquery.js:3147fireWith @ jquery.js:3259ready @ jquery.js:3471completed @ jquery.js:3502
Run Code Online (Sandbox Code Playgroud)

并按下Add a new account

jqueryui.js:167 Uncaught TypeError: Cannot read property 'msie' of undefined(…)width @ jqueryui.js:167create @ jqueryui.js:162overlay @ jqueryui.js:161open @ jqueryui.js:151_init @ jqueryui.js:148_createWidget @ jqueryui.js:30b.(anonymous function).(anonymous function) @ jqueryui.js:28(anonymous function) @ jqueryui.js:29each @ jquery.js:383each @ jquery.js:135b.fn.(anonymous function) @ jqueryui.js:29AddNew @ (index):212onclick @ (index):1
Run Code Online (Sandbox Code Playgroud)

如果对话框无法打开,我该如何添加我的帐户?

Moh*_*d C 1

我遇到了同样的问题,这就是我解决它的方法。

不显示- 安装sudo apt-get install python-appindicator

无法添加帐户- 首先尝试临时修复,看看它是否有效,然后再寻求永久解决方案

http://ppa.launchpad.net/stackapplet-dev/stackapplet/ubuntu/pool/main/s/stackapplet/stackapplet_1.5.2-0~201406200412~ubuntu14.04.1_all.deb

我下载了旧版本并安装了它并且它可以工作。您然后运行该应用程序并添加您的用户,然后使用以下命令更新应用程序:

sudo apt install stackapplet

这是一个临时修复。由于新版本中的错误,您将无法再添加帐户。

永久修复- 这就是我所做的

从以下链接下载旧版 stackapplet 的源文件: http://ppa.launchpad.net/stackapplet-dev/stackapplet/ubuntu/pool/main/s/stackapplet/stackapplet_1.5.2-0~201406200416~ubuntu14.10.1。压缩包

解压文件,然后查找名为 html 的文件夹。您需要将最新 stackapplet 使用的 html 文件夹替换为旧的 html 文件夹。

html 的位置是: [/usr/share/stackapplet/html/ ]

您将需要 root 访问权限来替换文件。

不知道该怎么做。这是技术性较低的方法。在终端中运行:

sudo nautilus /usr/share/stackapplet/

这将打开一个具有 root 访问权限的文件浏览器。现在只需删除 html 文件夹或重命名它即可。最后复制从存档中提取的 html 文件夹。

如果您打开了应用程序,则大功告成。关闭它再次运行它应该一切正常。除了添加帐户和更改颜色之外,我还没有测试所有内容。只是不确定登录时自动启动

注意- 这些链接指向实际的开发人员页面。所以值得信赖