Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 admin@quickmediasolutions.com.

Source

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

share|improve this question
33  
The ultimate StackOverflow addict luxury. To see your reputation at all times. – Tyler Carter May 20 '10 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. – Nathan Osman May 20 '10 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 '10 at 0:37
1  
@Flame: Thanks, man. I am completely new to Gnome desktop programming :) I'm assuming it worked alright, though? – Nathan Osman May 21 '10 at 0:57
    
George, would you mind if I 'borrowed' your stackoverflow icon? At least until there are "official" releases of icons/images? – Nick Presta May 21 '10 at 4:19
    
@Nick: Sure. Help yourself. – Nathan Osman May 21 '10 at 5:09
3  
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. – Chris Lawlor May 27 '10 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? – Nathan Osman May 27 '10 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. – Chris Lawlor May 28 '10 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 '10 at 19:33
    
@Felix: Don't worry - I am planning to fix that :) – Nathan Osman Jun 10 '10 at 0:24
    
You now get notifications when comments are posted to you. – Nathan Osman Jun 23 '10 at 6:48
    
StackApplet worked very well for me for a week or so, but suddenly it started displaying "HTTP Error" and no matter what I do I can't get it to work again. It doesn't even show an icon. Is this something known? – Peter Jaric Jun 28 '10 at 19:32
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 '10 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 '14 at 14:16

38 Answers 38

As told in the related ubuntu stack exchange question Would be great to port it to use app indicators.

Great app :)

share|improve this answer
    
I'll look into it and see what I can do. – Nathan Osman Aug 4 '10 at 18:31
    
This is scheduled for StackApplet 1.4 now. – Nathan Osman Aug 27 '10 at 19:21
    
This has now been completed. – Nathan Osman Oct 10 '10 at 1:29
    
This has now been released in StackApplet 1.4. – Nathan Osman Nov 23 '10 at 20:55
    
I think that it should go under messaging menu instead of having it's own icon. – Ragnis May 20 '11 at 19:21

Nice one! But…

Warning:

This notifier may be dangerous to epileptic users having rep like Jon Skeet

;)

share|improve this answer

Not working for Windows (8x64)

Firstly, download links for latest 1.6 are dead

I've installed 1.5 and it doesn't show the list of sites

Find User even doesn't work.

And without the site list, even if I enter my userID it doesn't "Add Account"

share|improve this answer
    
Having the same issue, except on Ubuntu. Maybe it's something to do with the new API? I was having issues with the new API previously, but those were fixed... – RPi Awesomeness Jul 27 '14 at 19:24
    
Try installing 1.5.2. That fixed it for me on Ubuntu. – RPi Awesomeness Jul 27 '14 at 19:32
    
Same here on Ubuntu 14.04. – Jorge B. Dec 18 '14 at 15:15
    
Same here on Ubuntu 14.04.1 - is this an API change again? – RPi Awesomeness Jan 12 '15 at 3:36
    
Same problem, version 1.5.2, Ubuntu version 15.10. I really want to use it, but can not. – user4901968 Mar 6 at 22:04

Not working for Ubuntu 14.04 32bit

I've installed 1.5.2 and it doesn't show the list of sites

Find User even doesn't work.

And without the site list, even if I enter my userID it doesn't "Add Account"

share|improve this answer
1  
Same problem, version 1.5.2, Ubuntu version 15.10. I really want to use it, but can not. – user4901968 Mar 6 at 22:04

I have StackApplet installed on my Ubuntu system (using the deb package linked above). The About box says it is version 1.1 although the deb file name and package details both say it is version 1.2.

share|improve this answer
2  
My bad. I forgot to update the numbers in the About box. – Nathan Osman Aug 13 '10 at 16:39
    
This appears to be fixed as of 1.3rc2. – moberley Sep 7 '10 at 0:10

Is there any change to make this also work in XFCE (for use in Xubuntu)? I must admit that I have absolutely no idea about the technical differences of both desktops.

share|improve this answer
    
Well, this is the first Gnome applet I've written so I'm kinda new to applet development. Work will begin soon to port this to AppIndicators - that might work on Xubuntu. I don't know. – Nathan Osman Aug 24 '10 at 21:29
    
Please download the 1.4 beta mentioned above and see if it works. – Nathan Osman Oct 10 '10 at 2:30

Is there a PPA available for stackapplet?

UPDATE Feature request:

Ability to track "tagged questions" => "my filters", its cumbersome to refresh it all the time

I haven't found an app which can do that

share|improve this answer
    
There certainly is! You can find it here: launchpad.net/~stackapplet-dev/+archive/stackapplet That PPA is kept up to date with all of the latest changes to StackApplet. – Nathan Osman May 20 '11 at 2:15
    
Thanks! added the ppa – freethinker May 20 '11 at 2:26
    
updated my question with a feature request! – freethinker May 20 '11 at 2:35
    
@freethinker: So what you're saying is that you want the application to notify you when a question with a given tag is asked? – Nathan Osman May 20 '11 at 2:39
    
Rather I want the applicaiton to notify when a question belonging to a filter is asked. I have created a few filters to track questions I'm interested in. – freethinker May 20 '11 at 2:46
    
@freethinker: I see. Adding that feature is a possibility but it would be limited to the sites you already have added to StackApplet. – Nathan Osman May 20 '11 at 2:52
    
Thanks! Does the API already support filters? If it does, then it should give results across all stackexchange sites isn't it? Anyhow, it would be perfectly cool if it supports just the ones I have already added! That would be neat. – freethinker May 20 '11 at 2:56
    
@freethinker: The current version of the API does not provide access to filters. There is reason to believe that the next version of the API will. In the meantime, version 1.6 of StackApplet will add support for tag notifications. – Nathan Osman May 20 '11 at 3:02

FYI I have fully finished the Launchpad translation into Russian. Could somebody review?

(I haven't lived in Russia for 8 years and I am losing the language)

share|improve this answer

The 64 bit version tries to install itself in the Program Files (x86) folder. I am on win 7 64 bit on an Intel i5 processor. Since the filename reads amd64 I am assuming that I might as well install the 32 bit version, is this correct?

Thanks!

share|improve this answer
    
That sounds like a bug with the installer. I'll take a look into that when I get a chance - the 64-bit installer does install 64-bit executables though, regardless of where the files are installed. – Nathan Osman Oct 27 '12 at 18:43
    
@GeorgeEdison, thanks, if you want, let me know and I will help you test it. – Gaia Oct 27 '12 at 18:46

At the moment a click on the widgets in the panel doesn't have a defined action. It might be handy to have a left click on a site widget open that site in the default browser.

share|improve this answer
    
Good idea. I'll try to do that soon. – Nathan Osman Aug 30 '10 at 1:35
    
I added that feature... you can try it out in the 1.3rc1 download listed above. – Nathan Osman Aug 30 '10 at 19:46
    
This has now been disabled in the 1.4 beta while some issues are worked out. – Nathan Osman Oct 10 '10 at 2:30
    
This is fixed now. – Nathan Osman Nov 23 '10 at 20:53

I have recently become active on Arduino Beta SE and I wanted to have notifs for that on my desktop. However, StackApplet doesn't have that site in the addable (???) sites.

Is this a bug, as I know Beta sites can be added, I have Raspberry Pi working just fine; or is it just because Arduino hasn't been added to the list of sites somewhere?

share|improve this answer

I can't seem to get this to work... I entered ubuntu.stackexchange and my username (russjr08) in the appropriate boxes, but it stays stuck on "Please Wait..." I even restarted Gnome-Panel

share|improve this answer
    
Sorry, there are two problems with what you are doing: first, you need to enter askubuntu in the site box instead of ubuntu.stackexchange. Also, you need to enter your user ID instead of your username. If you don't know your username, click the find button beside the user ID box. – Nathan Osman Oct 24 '10 at 1:15

is there anything similar for KDE?

share|improve this answer
    
This application should run under KDE. That being said, I am considering rewriting this application in Qt - in which case the answer would be a definite "yes". – Nathan Osman Jan 5 '12 at 22:10
    
@GeorgeEdison Great. Hope to see an alpha from you soon. – Shiplu Jan 6 '12 at 6:06
    
There is now an alpha version available. – Nathan Osman May 16 '12 at 18:14

When I try to start it, I get an error message titled -

stackapplet.exe - Entry Point Not Found

saying -

The procedure entry point _except_handler4_common could not be located in the dynamic link library msvcrt.dll

What could be the reason behind this?

My platform is Windows XP Service Pack 2.

share|improve this answer
    
Unfortunately this is a bug that occurs when StackApplet is run on 64-bit versions of Windows. Rather than fixing this bug (which would have been a lot of work), StackApplet was recently rewritten from scratch to provide native support for 64-bit versions of Windows (among other things). You can find a native 64-bit installer for StackApplet 1.6 at the top of the question above. Please try that instead. – Nathan Osman Mar 15 '12 at 18:14
1  
@GeorgeEdison: I am running 32-bit OS, not 64-bit.... – MD Sayem Ahmed Mar 15 '12 at 19:40
    
Oh, sorry about that then. There is also a 32-bit installer for StackApplet 1.6. Does that work? – Nathan Osman Mar 15 '12 at 20:54
    
Hi @GeorgeEdison, I too am looking for the XP version. 1.5 didn't work for me. The link to the 1.6 32 bit version appears to be broken. It's reporting a "Forbidden You don't have permission to access /stackapplet/stackapplet_1.6_i686_setup.exe on this server." Do you have another link? – TrojanName May 16 '12 at 17:56
1  
@BrianFenton: Sorry about that - for some unknown reason, the permissions on that file were set to 600 instead of 644. I have fixed the permissions now, so you should be able to download the installer. – Nathan Osman May 16 '12 at 18:19
    
@GeorgeEdison Hi George, works like a charm! Thank you so much for a wonderful app! :-) – TrojanName May 17 '12 at 8:28

The new 1.6 (32-bit) version won't allow me to "authorize" the app?!

I'm using a Vista OS. I've looked but haven't found any help elsewhere? Any ideas.

p.s. Stackapplet is a great tool so i'm keen to fix it. The 1.5 version works but the 1.6 doesn't. Thanks again.

share|improve this answer
    
Could you please describe what happens when you try to authorize the application? – Nathan Osman Jul 7 '12 at 5:11
1  
I start the app. It loads. I right-click the icon. Move through the menus and click authorize. The authorize window pops ups. I click on authorize with google. It hangs indefinitely. Also, I tried other login methods and they all hang indefinitely too. It's the same whether or not I "use as admin". – Toby Booth Jul 7 '12 at 14:52

Installed on Windows 7. On authorization, threw up a bunhc of dialogs about certificates missing, etc.

Once running, the only thing I could do is look at my Inbox - there was no list of sites, no reputation.

Removed for now, until more functionality is available.

share|improve this answer

In version 1.6 alpha on Windows, the notification will often show

30 New Item(s)
There are 30 new item(s) in your inbox.

when there are only a few items in my inbox.

share|improve this answer

Is it possible to configure the app to ignore some events (specifically reputation changes in my case, not really interested in them as much as the other ones)?

share|improve this answer
1  
As of version 1.6 (currently in Alpha), only inbox items are included in notifications (so that would include answers to your questions, comments directed to you, and anything else you would see in your global inbox). – Nathan Osman Jun 1 '12 at 0:06
    
That was quick :). Thanks for the info, and for the great app (I especially like how it integrates with KDE's notification system) ! – mikołak Jun 1 '12 at 0:08
    
Excellent - glad to hear it's working for you. – Nathan Osman Jun 1 '12 at 0:57

Can this applet show when there is new activity since the last visit like the envelope next to my username? In other words, if I don't see the notifications does it change colour or something to tell me I should visit the site?

share|improve this answer
    
That's a great idea... but how would it know you visited the site? – Nathan Osman Aug 5 '10 at 18:26
    
I don't know much about the API, so maybe it isn't supported. StackExchange has some way of determining when to change the envelope icon when there are new replies so I thought maybe that was available to applications using the API. – moberley Aug 5 '10 at 19:43
    
@moberly: No, I mean how would the app know that you had visited the page with your web browser? Suppose you get a message. The app turns green. You go to the site to see what the comment is... how does the app know that you did that? – Nathan Osman Aug 6 '10 at 2:20
    
I don't know how you would do that. That is, I'm not sure a new replies notification would work without cooperation from the StackExchange feature that provides that information. Presumably that would be via the API, but as I said I don't know much about the API. All I know is that when I visit a StackExchange site there is a small icon next to my username that tells me if I have new replies (and how many). The thing is I have to individually visit each StackExchange site that I've joined to see it. I saw your app, and was hopeful it could also appear in my Gnome panel. – moberley Aug 6 '10 at 13:41
    
Of course, if there's no way for your app to determine if there are new replies, then maybe you could just show changes for the last 24 hours? – moberley Aug 6 '10 at 13:47
    
@moberly: Maybe this other thing that I made is what you're looking for: stackcenter.quickmediasolutions.com – Nathan Osman Aug 9 '10 at 23:37
    
I don't think so. That is another website and it just appears to show aggregate information for all my linked accounts. I was just looking for a persistent indicator to remind me to go back to the Stack Exchange website because I'm not always at my computer. Kind of like the new email indicator. – moberley Aug 13 '10 at 9:43
    
@moberly: Well, I'll see what I can do. Would it work if your username kind-of flashed red until you clicked it when there was a new comment? – Nathan Osman Aug 27 '10 at 19:21
    
@GeorgeEdison Yes, I wasn't looking for anything fancier than that. However, I don't think it needs to flash, just changing the background colour might be better. – moberley Aug 30 '10 at 0:23
    
@moberly: Now that the AppIndicators port is complete, the icon changes color when there are new messages. (Of course, this only works on Ubuntu.) – Nathan Osman Oct 20 '10 at 18:53
    
@moberly: This now works everywhere. – Nathan Osman May 12 '11 at 16:53

If you're going to Appindicators I'd like to see this condensed to one icon which populates a dropdown list on click (but the libNotify messages are fine the way they are) Maybe something similar to the current messaging indicator?

Great app btw! It helps feed my addiction :)

share|improve this answer
    
Ya, I really haven't got around to experimenting with AppIndicators yet... but I'll try to make it as concise as possible. Also, I need to work a bit on getting my app to comply with the API throttle guidelines, otherwise you might see errors if you have a lot of sites going. – Nathan Osman Sep 2 '10 at 5:13
    
Also, are you using the latest version? (1.3rc1 at the moment) – Nathan Osman Sep 2 '10 at 5:13
    
@GeorgeEdison: I believe so - though the About still says 1.1 – Marco Ceppi Sep 4 '10 at 7:25
    
Oh. Well that was fixed a few hours ago :) 1.3rc2 is out now :) – Nathan Osman Sep 4 '10 at 7:27

Feature Request:

Would it be possible to add a preference where I can point the app to an accounts page (like this one) and it automatically picks up all accounts from there? Possibly even monitor that page for new appearing accounts?

Because it is rather tedious to enter all those accounts individually and it should be very easy to retrieve the data for the app.

BTW: thanks for writing the app!!


Update

Wait, I just noticed the "Check for associated accounts" preference in the current version, I guess that cancels out my request. Still:

  1. Unfortunately the app does not check for duplicates (a duplicate being a two entries with equal site and user id)
  2. it would be even nicer if the app could continually monitor the accounts and add new accounts automatically once they appear.
share|improve this answer
    
Hmmm... I like your idea. I'll see what I can do to implement it. – Nathan Osman Oct 26 '10 at 1:31
    
I'd have done it myself, but Python is so not my language. – Sean Patrick Floyd Oct 26 '10 at 6:34

I'm installing Ubuntu 11.04; I saw StackApplet in the Accessories menu. It claims that as of the newly installed version 1.4, StackApplet is no longer a Gnome 2 applet, but instead it'll live in the tray area... except I'm not even sure Ubuntu 11.04's Unity will have a tray area to begin with. Kinda baffled by the coincidence.

At any rate, can you please consider improving the way the tray icon behaves? Currently it does nothing on right click and opens a menu in place on left click; if the tray bar is placed at the bottom of the screen, this puts the 'Quit' menu item squarely below where I clicked. Basically, clicking on the StackApplet icons closes it; I'd have to drag up to use the program itself.

share|improve this answer
    
Well, actually - StackApplet uses the AppIndicator framework, so it'll work fine with future Ubuntu releases. As for the way the tray icon behaves, that too is unfortunately beyond my control since the menu is created and managed by the AppIndicator framework. – Nathan Osman Feb 25 '11 at 17:08

Is there support for http proxies?

share|improve this answer
1  
Not at this point. Which platform are you using? – Nathan Osman Apr 27 '11 at 19:07
    
I'm stuck on Windows at work :'( – ℝaphink Apr 28 '11 at 8:09
    
@George: Is there maybe a way I can modify some of the code to support proxies (at least hardcoded)? – ℝaphink Apr 28 '11 at 9:35
    
Well, all of the HTTP code is in the file stack_api.py. This file is located in /usr/share/stackapplet/. – Nathan Osman Apr 28 '11 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 '11 at 13:30

I get the following warnings while installing your package in Ubuntu 11.04:

Lintian check results for /home/badp/Downloads/stackapplet_1.4.0_all.deb:
E: StackApplet: wrong-file-owner-uid-or-gid usr/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/applications/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/applications/stackapplet.desktop 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/en_CA/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/en_CA/LC_MESSAGES/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/en_CA/LC_MESSAGES/stackapplet.mo 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/en_GB/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/en_GB/LC_MESSAGES/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/en_GB/LC_MESSAGES/stackapplet.mo 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/es/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/es/LC_MESSAGES/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/es/LC_MESSAGES/stackapplet.mo 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/fr/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/fr/LC_MESSAGES/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/fr/LC_MESSAGES/stackapplet.mo 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/tr/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/tr/LC_MESSAGES/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/locale/tr/LC_MESSAGES/stackapplet.mo 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/pixmaps/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/pixmaps/meta.stackoverflow.png 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/pixmaps/serverfault.png 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/pixmaps/stackapplet.png 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/pixmaps/stackapplet_grey.png 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/pixmaps/stackapplet_light.png 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/pixmaps/stackapps.png 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/pixmaps/stackoverflow.png 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/pixmaps/superuser.png 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/stackapplet/ 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/stackapplet/appindicator_replacement.py 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/stackapplet/config_store.py 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/stackapplet/import_13.py 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/stackapplet/prefs_dialog.py 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/stackapplet/select_user.py 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/stackapplet/stack_api.py 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/stackapplet/stackapplet.glade 1000/1000
E: StackApplet: wrong-file-owner-uid-or-gid usr/share/stackapplet/stackapplet.py 1000/1000
share|improve this answer
    
That's due to Natty's new 'bad quality package' warnings. If you want to install the package anyway, rest assured that installing StackApplet is completely safe. If not, StackApplet 1.5 will have these warnings fixed. – Nathan Osman May 8 '11 at 16:01
    
@George I installed it anyway; just letting you know :) – badp May 8 '11 at 16:04

This neither works in WinXp 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
share|improve this answer
    
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. – Nathan Osman May 22 '11 at 5:58
    
As requested see OP. – ptrcao May 22 '11 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). – Nathan Osman May 22 '11 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 '11 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 '11 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. – Nathan Osman May 22 '11 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 '11 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. – Nathan Osman May 23 '11 at 17:00
    
What commands shall I use to launch it in terminal? – ptrcao May 23 '11 at 22:36
    
@ptr: 'python /usr/share/stackapplet/stackapplet.py' – Nathan Osman May 24 '11 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 '11 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. – Nathan Osman May 24 '11 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 '11 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. – Nathan Osman May 24 '11 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 '11 at 20:00

Thought I'd mention. I tried setting up StackApps in Windows 7, but at the preference screen for accounts associated with StackApps, it stalls on "loading..." and I'm not able to set up my accounts. Any ideas?

share|improve this answer
1  
Are you using Google Chrome? If so, you can right-click on the page and click "Inspect Element". There will be a console tab somewhere that may contain error information. – Nathan Osman May 25 '11 at 6:59
    
No, Firefox 3.6.12. – ptrcao May 25 '11 at 8:33
    
@ptr: In that case, you would go to Tools->Error Console. – Nathan Osman May 25 '11 at 16:15
    
Error: Translator.translation_table is null Source File: localhost:8140/translations.js Line: 56 – ptrcao May 25 '11 at 16:53
    
@ptr: Are you using the 1.5beta2 Windows installer? – Nathan Osman May 25 '11 at 18:05
    
stackapplet_1.5_i686_setup.exe was what I used...I guess this is not it? – ptrcao May 26 '11 at 10:52
1  
@ptr: Well (and this is my fault) I actually didn't change the filenames for the different beta releases, so it's hard to tell which one you have by the filename. However, if you visit this page, you can make sure you have beta2. (Oh, and the version in the PPA now uses port 8150). – Nathan Osman May 28 '11 at 6:03
    
I don't know how to explain this but after uninstalling and reinstalling yet again, it worked! Well this saves you the headache. Let me suggest an unrelated improvement though. On relaunching a second instance of StackApplet, a second instance will display on the notification tray. Not sure if this behaviour is desirable as redundant instances can occur. – ptrcao May 28 '11 at 7:34
1  
@ptr: Good point. I'll make sure that gets fixed. Thanks for letting me know that it works! – Nathan Osman May 28 '11 at 14:18
    
No problems, happy to help. We've succeeded in getting it to work for both Debian 6.0 and Windows 7 now, at least for me. The last remaining OS environment to troubleshoot was going to be WinXP, however, my ailing HHD finally gave in yesterday so I won't have the WinXP environment to test it in. Haven't tried it in Ubuntu yet, but I'll be sure to let you know if I have any issues. I'm a multi-booting power user, so I appreciate the cross-platform support. :) – ptrcao May 28 '11 at 14:37
1  
@ptr: Great! Actually, I develop the application in Ubuntu, so it is extremely well supported there and has some extra features. – Nathan Osman May 29 '11 at 6:36
    
Oh, I use Debian as my primary OS, as well as Windows. :P I hope soon you will extend all those nice features to the other OSs too. :) – ptrcao May 29 '11 at 6:56
1  
@ptr: Well, the only thing missing from Debian / Windows is integration with the Ubuntu Messaging Menu. All of the other features are present in other operating systems. – Nathan Osman May 29 '11 at 20:17
1  
@ptr: I may have a fix for the XP problem now. Please try downloading this installer and see if that fixes the problem. – Nathan Osman Jun 13 '11 at 22:10
    
Slight problem...I've converted to Win7 now :| But I'm sure some XP user somewhere will be thanking you. Perhaps you could find/get someone with XP to test it for us :P I'd still be curious to know if the problem's been solved :) – ptrcao Jun 14 '11 at 11:43

This is what I get with the debug version under Windows XP SP3:

C:\Program Files\StackApplet>stackapplet.exe
Traceback (most recent call last):
  File "<string>", line 88, in <module>
  File "C:\PyInstaller\iu.py", line 436, in importHook
  File "C:\PyInstaller\iu.py", line 521, in doimport
  File "Z:\tmp\a\other\windows\build\pyi.win32\stackapplet\outPYZ1.pyz/gtk", line 40, in <module>
  File "C:\PyInstaller\iu.py", line 477, in importHook
  File "C:\PyInstaller\iu.py", line 495, in doimport
  File "C:\PyInstaller\iu.py", line 297, in getmod
  File "C:\PyInstaller\archive.py", line 468, in getmod
  File "C:\PyInstaller\iu.py", line 109, in getmod
ImportError: DLL load failed: Invalid access to memory location.
share|improve this answer
    
@GeorgeEdison ...pssst, over here! – rdrgrtz Jun 3 '11 at 18:52
    
As mentioned above, please try this file and see if it fixes the problem. – Nathan Osman Jun 13 '11 at 22:09
    
Hi @george, I tried 1.5beta2 today and still no go. I'm trying your fix now. – rdrgrtz Jul 19 '11 at 13:26
    
Installed the fix, and nothing. I'm having the same problem as ptrcao below, @george – rdrgrtz Jul 19 '11 at 13:28
    
I just made another build. Does this file work? – Nathan Osman Jul 26 '11 at 20:03
    
@George yeah, that works! Only thing is that I get "Network error." on everything since I'm behind a proxy. – rdrgrtz Jul 27 '11 at 16:14

So I used apt-get install stackapplet, and it installed something. (Version 1.4.0-1, from the apt-cache show output.)

Then nothing happens. Should the applet automatically appear somewhere, or do I have to start it manually? If so, how?

(I have Ubuntu 11.04, with an old GNOME desktop, as my computer is too old to support Unity.)

share|improve this answer
2  
You can start it manually by going to Applications->Accessories->StackApplet. After that, you can go to preferences and set it to start every time you log in. – Nathan Osman Jul 26 '11 at 20:01

Thank you George. It works for me (ubuntu 11) after installing via command prompt. Maybe it could be made also to start from the command prompt with the command stackapplet?

$ sudo apt-get install stackapplet Läser paketlistor... Färdig Bygger beroendeträd
Läser tillståndsinformation... Färdig Följande ytterligare paket kommer att installeras: python-gnomeapplet Följande NYA paket kommer att installeras: python-gnomeapplet Följande paket kommer att uppgraderas: stackapplet 1 att uppgradera, 1 att nyinstallera, 0 att ta bort och 224 att inte uppgradera. Behöver hämta 52,6 kB arkiv. Efter denna åtgärd kommer 79,0 MB att frigöras på disken. Vill du fortsätta [J/n]? J Läs:1 http://archive.ubuntu.com/ubuntu/ natty/main python-gnomeapplet amd64 2.32.0-0ubuntu2 [19,8 kB] Läs:2 http://archive.ubuntu.com/ubuntu/ natty/universe stackapplet all 1.4.0-1 [32,9 kB] Hämtade 52,6 kB på 0s (107 kB/s)
Väljer tidigare ej valt paket python-gnomeapplet. (Läser databasen ... 147381 filer och kataloger installerade.) Packar upp python-gnomeapplet (från .../python-gnomeapplet_2.32.0-0ubuntu2_amd64.deb) ... Förbereder att ersätta stackapplet 1.4.0 (med .../stackapplet_1.4.0-1_all.deb) ... Packar upp ersättande stackapplet ... Hanterar utlösare för bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Hanterar utlösare för desktop-file-utils ... Hanterar utlösare för python-gmenu ... Rebuilding /usr/share/applications/desktop.sv_SE.utf8.cache... Hanterar utlösare för python-support ... Ställer in python-gnomeapplet (2.32.0-0ubuntu2) ... Ställer in stackapplet (1.4.0-1) ... Hanterar utlösare för python-support ... ubuntu@ubuntu:/media/Lexar/$ stackapplet stackapplet: command not found

share|improve this answer

Is it possible to get notifications about badges too?

Thank you for a great app!

share|improve this answer
1  
You're welcome! Badge notification is planned for a future release. – Nathan Osman Jul 28 '11 at 21:16
    
@NathanOsman did I miss it or is there still no os x version :( – Buscar웃 Apr 15 '13 at 20:57
    
There's no OS X release but if you have Python and PyGTK installed, there's no reason you couldn't just run it directly from the source code. – Nathan Osman Apr 15 '13 at 21:27

You must log in to answer this question.

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