Hello!
Just tried installing this and am getting an error when I start it:
$ python ~/fbuntu/fbuntu.py
Traceback (most recent call last):
File "/home/james/fbuntu/fbuntu.py", line 21, in <module>
import notificationChecker, unifiedInboxChecker, legacyInboxChecker, graphNotificationChecker
File "/home/james/fbuntu/notificationChecker.py", line 93, in <module>
import indicate, pynotify
ImportError: No module named indicate
Any ideas? There's also no debug.log file anywhere.
Cheers,
James
Hey, thanks for the reply, I'll give that a go when I'm next on that computer. Today I tried getting it to run on a different machine but got this error:
Sorry, I'm not very good at this debugging...Code:2012-04-28 18:47:03 fbuntu.py:55 INFO: Update #2 starting 2012-04-28 18:47:03 graphNotificationChecker.py:32 INFO: Checking Facebook 2012-04-28 18:47:04 fbuntu.py:139 ERROR: Traceback (most recent call last): File "./fbuntu.py", line 58, in update checker.recheck() File "/home/james/fbuntu/graphNotificationChecker.py", line 33, in recheck self.retrieve() File "/home/james/fbuntu/graphNotificationChecker.py", line 37, in retrieve self.response = self.graph.get_connections(self.user["id"], "notifications")['data'] File "/home/james/fbuntu/facebook.py", line 108, in get_connections return self.request(id + "/" + connection_name, args) File "/home/james/fbuntu/facebook.py", line 263, in request self.logger.warning("The server couldn't fulfill the request. Error code: %s" % (e.code)) AttributeError: 'GraphAPI' object has no attribute 'logger'
Cheers,
James
Sorry that's my fault - there was a bug that I fixed on my machine, but forgot to share the fix with everyone else!
If you run 'bzr update' from a terminal (whilst within the fbuntu folder) that particular error shouldn't happen again.
Thanks for bearing with me, all the information you've been providing is exactly what I need to help debug your problem.
Linux User #381008
Ubuntu User #22532
Gave that a go but didn't seem to change anything:
(Just saw you're in Soton as well, crap weather, isn't it?)Code:james@james-timelineX:~$ cd fbuntu/ james@james-timelineX:~/fbuntu$ bzr update Tree is up to date at revision 35 of branch /home/james/fbuntu james@james-timelineX:~/fbuntu$ python fbuntu.py Traceback (most recent call last): File "fbuntu.py", line 58, in update checker.recheck() File "/home/james/fbuntu/graphNotificationChecker.py", line 33, in recheck self.retrieve() File "/home/james/fbuntu/graphNotificationChecker.py", line 37, in retrieve self.response = self.graph.get_connections(self.user["id"], "notifications")['data'] File "/home/james/fbuntu/facebook.py", line 108, in get_connections return self.request(id + "/" + connection_name, args) File "/home/james/fbuntu/facebook.py", line 263, in request self.logger.warning("The server couldn't fulfill the request. Error code: %s" % (e.code)) AttributeError: 'GraphAPI' object has no attribute 'logger' Error in sys.excepthook: Traceback (most recent call last): File "fbuntu.py", line 142, in custom_exceptionHook os.system('zenity --info --text="My apologies.\n\nFBuntu has encountered an error.\n\nPlease see the logs for full details.\n\nFBuntu has quit."' % (value)) TypeError: not all arguments converted during string formatting
Linux User #381008
Ubuntu User #22532
Last edited by jimmygoska; April 29th, 2012 at 09:16 PM.
Hey,
I've tried running 'bzr update' a couple more times and it still says version 35.
Cheers,
James
======================================
Edit
On the plus side I didn't have the 'python-indicate' package. Got that done but now I have the other issue on both machines.
Last edited by jimmygoska; May 2nd, 2012 at 10:23 PM.
Hello! (Please, excuse my English ) It works perfectly!
¿Do you have any idea of how to set a sound for those notifications?
Thanks in advance!
Bookmarks