162

Rewrite In Progress

I am currently in the process of completely rewriting this application from scratch. The code for the old version was an absolute disaster, written nearly four years ago when I first started learning Python. The new version will be written in Python 3 and use PyQt5.

Unfortunately I don't have a timeline on this new version but a rough guess for an early release would be early July 2014. Eventually I hope to get an actual stable release ready for Ubuntu 14.10 (Utopic) in October. Windows builds will be released when time permits.

(I will also add a link to the project page on GitHub once I am a little bit further into this.)

Screenshot

About

StackApplet is a small status icon that sits in your desktop's notification area and alerts you to events that happen to your accounts. You will receive notifications about new answers, comments and reputation changes. All Stack Exchange sites are supported. The application is written in Python and the preferences page uses JavaScript.

License

MIT License

Download

Packages are available for the latest stable release (1.5.2):

Platform

Windows XP/Vista/7/8 or a Linux distribution with PyGTK installed.

Contact

I can be reached at [email protected].

Source

Available on Launchpad: http://launchpad.net/stackapplet

87
  • 39
    The ultimate StackOverflow addict luxury. To see your reputation at all times. May 20, 2010 at 23:31
  • 2
    Yup. It really helps me stay on top of my rep. Are you going to try it? I am eager to hear how it works. May 20, 2010 at 23:41
  • You might want to use f = open(os.path.join(os.getenv("HOME"),"/.stackoverflow"),'r') to open your settings.
    – Flame
    May 21, 2010 at 0:37
  • 1
    @Flame: Thanks, man. I am completely new to Gnome desktop programming :) I'm assuming it worked alright, though? May 21, 2010 at 0:57
  • George, would you mind if I 'borrowed' your stackoverflow icon? At least until there are "official" releases of icons/images? May 21, 2010 at 4:19
  • @Nick: Sure. Help yourself. May 21, 2010 at 5:09
  • 5
    works for me. pretty cool. I've gotta say though, its a little weird when it loads Jeff Atwood's stats on the first run. May 27, 2010 at 0:47
  • @Chris: Well... it kind of has to display something when it first starts. Do you have any ideas of what would you like to see it display? May 27, 2010 at 0:52
  • @George something simple like 'Configure User'. Should be easy to default to userid = 0 or -1 or null, and check for that at startup. May 28, 2010 at 13:44
  • Too bad it doesn't support multiple instances (so I can track my rep on more than one site), otherwise great! :)
    – Felix
    Jun 9, 2010 at 19:33
  • @Felix: Don't worry - I am planning to fix that :) Jun 10, 2010 at 0:24
  • You now get notifications when comments are posted to you. Jun 23, 2010 at 6:48
  • 1
    @George and @Chris I managed to install the sources in my home directory and set the bonobo path right. Working now!
    – Peter Smit
    Aug 27, 2010 at 18:40
  • 1
    both links throw 404s. perhaps they can be indexed via wayback machine if you have copies laying around?
    – albert
    Apr 3, 2014 at 14:16
  • 2
    Does this still work ? Is it still being worked on ? Jun 21, 2016 at 15:05

39 Answers 39

1
2
0

When you click on the icon, it brings up the window. If you click on the icon while the window is open, it pops up again, instead of closing. Just a small feature request.

Also, it would be nice if when you clicked on one of the notifications in the window, if it would get rid of the notification on the SE website. And vice versa

0

Feature Request

Please add support for proxies... It would be helpful to people behind proxies. Like myself.

0

Not sure if this is a bug on my end, but recently the application has been giving me network errors for Stack Overflow, Ask Ubuntu, and Raspberry Pi SE. I attempted reinstalling both via DEB and via the PPA, but it still was giving me errors.

So, I tried removing all of them, and then tried to add them back, but I get this:

and there are no options under Site. Is this a bug somehow, or a result of an API change or the update?

EDIT: It's now just giving me Unknown error:

unknown error

Any idea what could be causing this?

EDIT: Found the cause. There is an issue with the 1.5.1 version, 1.5.2 is working almost perfectly.

0

I get this error when I select the Preferences menu item on Ubuntu 14.04:

Invalid authorization credentials supplied. Please click on the preferences menu item in the application to view this page.

I reinstalled 1.5.2 and I have been getting this. All of the provided accounts from the previous installation are showing the correct rep, but I can't add new accounts.

0

I don't know what is the application normal behavior, but I'm only able to see my reputation on a lot of SE sites, while I don't receive any notification at all (such as when someone comments/replies to a question of mine). Is this normal? I'm on Ubuntu 14.04 x64 and I'm using the 1.5.2 version

0

Stuck at "add a new account" with v.1.5.2, Ubuntu 15.04 64-bit

After a long break (due to unsolved problems) I tried using this applet again today following the up-to-date installation procedures (basically using the latest PPA and remembering to check that python-appindicator is installed) but unfortunately this time I couldn't even start logging into my account no matter what I did -- entering my user name or my email address or using "Find User", etc.

I started the applet from terminal to see any error messages, but nothing was there to see either.

0

Is there support for HTTP proxies?

5
  • 1
    Not at this point. Which platform are you using? Apr 27, 2011 at 19:07
  • I'm stuck on Windows at work :'(
    – raphink
    Apr 28, 2011 at 8:09
  • @George: Is there maybe a way I can modify some of the code to support proxies (at least hardcoded)?
    – raphink
    Apr 28, 2011 at 9:35
  • Well, all of the HTTP code is in the file stack_api.py. This file is located in /usr/share/stackapplet/. Apr 28, 2011 at 19:11
  • Hey @raphink, have you tried using Microsoft Firewall Client? I use it and all other apps on my PC don't require proxy setup, they just assume there's a direct connection to the Internet.
    – rdrgrtz
    Jul 19, 2011 at 13:30
0

This neither works in Windows XP nor in Debian 6 for me. What could be wrong? Nothing happens when I try to launch...

peter@debian-peter:~$ python /usr/share/stackapplet/stackapplet.py
    Traceback (most recent call last):
      File "/usr/share/stackapplet/stackapplet.py", line 116, in <module>
        import preferences     # a web server that allows preferences to be changed
      File "/usr/share/stackapplet/preferences.py", line 289, in <module>
        httpd = BaseHTTPServer.HTTPServer(('localhost', 8140), preference_server)
      File "/usr/lib/python2.6/SocketServer.py", line 402, in __init__
        self.server_bind()
      File "/usr/lib/python2.6/BaseHTTPServer.py", line 108, in server_bind
        SocketServer.TCPServer.server_bind(self)
      File "/usr/lib/python2.6/SocketServer.py", line 413, in server_bind
        self.socket.bind(self.server_address)
      File "<string>", line 1, in bind
    socket.error: [Errno 98] Address already in use
    peter@debian-peter:~$ python /usr/share/stackapplet/stackapplet.py
    Traceback (most recent call last):
      File "/usr/share/stackapplet/stackapplet.py", line 116, in <module>
        import preferences     # a web server that allows preferences to be changed
      File "/usr/share/stackapplet/preferences.py", line 364, in <module>
        httpd = BaseHTTPServer.HTTPServer(('localhost', 8140), preference_server)
      File "/usr/lib/python2.6/SocketServer.py", line 402, in __init__
        self.server_bind()
      File "/usr/lib/python2.6/BaseHTTPServer.py", line 108, in server_bind
        SocketServer.TCPServer.server_bind(self)
      File "/usr/lib/python2.6/SocketServer.py", line 413, in server_bind
        self.socket.bind(self.server_address)
      File "<string>", line 1, in bind
    socket.error: [Errno 98] Address already in use
18
  • I'm not sure why it wouldn't work in Windows XP, but it's easier to debug in Debian. Try starting StackApplet by running 'python /usr/share/stackapplet/stackapplet.py'. Please post any output you receive. May 22, 2011 at 5:58
  • As requested see OP.
    – ptrcao
    May 22, 2011 at 6:22
  • @ptr: It seems like the port that StackApplet uses is already in use (StackApplet uses port 8140 for managing preferences). Can you check if StackApplet is already running? When it is working properly, you should see an icon in your notification area (the panel at the top of your desktop). May 22, 2011 at 6:27
  • I can't see anything in the notification area, especially not the stackapp icon. Other active programs in the notification area include Thunderbird and Compiz Fusion. Do you perceive any conflict here?
    – ptrcao
    May 22, 2011 at 7:16
  • In case this tells you anything, peter@debian-peter:~$ lsof -i :8140 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME python 6987 peter 7u IPv4 52025 0t0 TCP localhost:8140 (LISTEN)
    – ptrcao
    May 22, 2011 at 8:24
  • @ptr: It must be running somewhere. Since it sounds like the web interface is running, you can simply open your browser and visit 'http://localhost:8140'. That will bring up the preferences page which will allow you to configure the application. May 22, 2011 at 19:29
  • I tried visiting localhost:8140 and whilst I could see a heading "StackApplet Preferences", all that appears on the page are empty bullet points, an empty dropdown menu, radio buttons and check boxes with no accompanying text. Can you suggest anything else? I'm happy to provide any info you think might be helpful and diagnosing the problem.
    – ptrcao
    May 23, 2011 at 9:36
  • @ptr: If everything is empty, that means that the translation subsystem is not functioning properly. Is there any way you could make sure that there are no running instances of StackApplet and then try running it from the terminal again? It sounds like it is still running somehow. If you can get it running in a terminal, then we'll hopefully see some error messages that will make it easier to pinpoint what exactly the problem is. May 23, 2011 at 17:00
  • What commands shall I use to launch it in terminal?
    – ptrcao
    May 23, 2011 at 22:36
  • @ptr: 'python /usr/share/stackapplet/stackapplet.py' May 24, 2011 at 5:59
  • Ok, so it's giving the same error: address already in use. How do I vacate the address? What command?
    – ptrcao
    May 24, 2011 at 11:01
  • @ptr: It should be as simple as 'kill xxx' where xxx is the ID of the process. To find the ID of the StackApplet process, you will need to use Debian's system monitor tool (I'm not sure if that's what it's called, but basically it's the tool that lists all of the currently running programs - StackApplet will probably show up somewhere under Python). Once you find the process ID and 'kill' StackApplet, then you should have no problem running StackApplet from the terminal. May 24, 2011 at 17:12
  • In System Monitor I found the process "python usr/bin/system-config-printer-applet" - this was the only python process running. When I stopped this process and launched StackApplet, it worked. It appeared some vital printing applet was occupying the port/address. Can you make StackApplet use a different, vacant port?
    – ptrcao
    May 24, 2011 at 19:45
  • @ptr: I haven't released v1.5 yet, so yes - I can and will change the port number. Thanks for helping me with this - I appreciate it. May 24, 2011 at 19:50
  • No problem, thanks for programming StackApplet. :) Do you think the problem is the same with Windows XP? I had a similar issue with launching StackApplet in Windows...
    – ptrcao
    May 24, 2011 at 20:00
0

Unable to install on Kubuntu 23.04 (👈PPA Bug-report)


  1. I downloaded the latest version, which is as of this writing, v1.5.2.
  2. I then right-clicked the deb file to opn with `QApt Package Installer" which is the default app.
  3. In the window that pops-up i see a red line saying "Error: Cannot satisfy dependencies".

This is most likely due to python2.7 usage which has been replaced with Python 3.11.4. My system is fully updated.

enter image description here


PS: Is this app still worked on or is it "abandon ware"?

1
2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .