5

I am trying to install Stack Applet. I followed the instructions in this question. To be specific I used the following

sudo add-apt-repository ppa:george-edison55/george-edison
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install stackapplet
python /usr/share/stackapplet/stackapplet.py &

When I start Stack Applet via the Dash, nothing happens. (i.e. no window opens.) I tried restarting my computer and starting Stack Applet but that also did not work. How do I install Stack Applet?

EDIT: I tried using Ubuntu Software center with no luck. My interface looks like soscreenshot

cubecubed
  • 696

3 Answers3

11

I'm the author of StackApplet, so hopefully I can help shed some light on what's going on here.

First of all, the version in the Software Center is currently broken. This is because Stack Exchange recently shut down version 1.x of their public API (which StackApplet used). Right before this happened, I updated the source code and release StackApplet 1.5.2, which I have tested and can confirm works on Ubuntu 14.04.

Secondly, the new version is available in a PPA, but not the one you included in your question. You need to add the following PPA to your system:

ppa:stackapplet-dev/stackapplet

After installation, you can confirm that you have the correct version installed by using:

dpkg -s stackapplet | grep Version

After this is complete, you should be able to run the application directly from the dash.


Edit: you may also be missing the python-appindicator package. You can make sure it is installed by running the following command in a terminal:

sudo apt-get install python-appindicator
Nathan Osman
  • 32,155
  • 1
    Looked really promising. Didn't turn out so, same re I installed via sudo add-apt-repository ppa:stackapplet-dev/stackapplet, sudo apt-get update, sudo apt-get upgrade, andsudo apt-get install stackapplet.

    dpkg -s stackapplet | grep Version returned Version: 1.5.2-0~201405081543~ubuntu14.04.1

    – cubecubed Jun 19 '14 at 03:08
  • 2
    @Cammy_the_block: This may be a long shot, but please try closing StackApplet, opening a terminal, running sudo apt-get install python-appindicator, and then starting StackApplet again. – Nathan Osman Jun 19 '14 at 03:29
  • It is now installed! However, I'm facing the same issue as this guy. – cubecubed Jun 19 '14 at 04:45
  • @Cammy_the_block: I've answered that question. – Nathan Osman Jun 19 '14 at 05:05
  • 1
    May I suggest python-appindicator be added as a dependency so that people don't have to ask this question? – cubecubed Jun 19 '14 at 06:40
  • Okay, whole programs works great! I got it to add sites, thanks a bushel. – cubecubed Jun 19 '14 at 06:47
  • @Cammy: You're welcome - glad to hear! That package is listed as a suggested dependency but it should probably be made a requirement. I'll see if I can get that fixed. – Nathan Osman Jun 19 '14 at 07:07
  • Installed StackApplet, went into settings > add new account, but the sites list is empty, and nothing happens when I click the 'Add Acccount' button. API change ? – Jonas Czech Apr 02 '15 at 16:50
  • can you add link for PPA for 15.04 – Freddy May 03 '15 at 11:09
  • @Nathan Osman Does this work for Ubuntu GNOME? I can't seem to get to work. – Tony Lancer Nov 05 '16 at 18:38
  • +1 for python-appindicator . Thanks! – Benny Nov 08 '16 at 10:43
  • I would love to use this indicator applet, but on Ubuntu 16.04 (Unity), it's not working. I'm seeing the same 404 as earlier reported. Is this source available to fork or for pull requests? I'm sure the community would contribute if they could... – nicorellius Apr 14 '17 at 15:28
  • @nicorellius the source code is here: https://launchpad.net/stackapplet – Nathan Osman Apr 14 '17 at 16:06
3

I recommend you to uninstall your original install of Stack Applet. Then, reinstall it using the Ubuntu Software Center as it is very easy and it worked perfectly for me. I did so in Ubuntu 14.04. enter image description here

*edit enter image description here

0

I installed the latest version via ppa:stackapplet-dev/stackapplet as advised, just to find out the problem still resides in the code as I am writing this. A quick check shows the core of the problem you (and I) are experiencing: stackapplet is failing to authorize via the following URL:

http://stackauth.com/1.0/sites?key=_qlxmEAOH06hLA1_FsZIGQ&jsonp=jQuery1 … 4&_=1 …

The call results in a 404 - Not Found.

Until @nathan-osman (the author) fixes this, or someone else steps in to do the job, there is little hope in being able to use StackApplet.

For informational purposes, here’s a screenshot showing the 404…

e-sushi
  • 567
  • 6
  • 12