nekohayo / specto

Automatically exported from code.google.com/p/specto
0 stars 0 forks source link

don't blow up on wrong password #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. activate a gmail watch that has the wrong password
2. watch specto mess up its internal database for that watch
2.2 note that specto will need to be exited by killing or control-Cing.

INFO - [sonoka]: started update.
ERROR - Observateur : "sonoka" a causé une erreur : mauvais utilisateur/mot
de passe
INFO - [sonoka]: is updated!
Unhandled exception in thread started by 
Traceback (most recent call last):
  File
"/home/jeff/trunks/specto-jeff/spectlib/plugins/watch_mail_gmail.py", line
86, in update
    Watch.timer_update(self)
  File "/home/jeff/trunks/specto-jeff/spectlib/watch.py", line 156, in
timer_update
    self.watch_updated()
  File "/home/jeff/trunks/specto-jeff/spectlib/watch.py", line 149, in
watch_updated
    self.specto.mark_watch_status("updated", self.id)
  File "/home/jeff/trunks/specto-jeff/spectlib/main.py", line 201, in
mark_watch_status
    self.notifier.mark_watch_status(status, id)
  File "/home/jeff/trunks/specto-jeff/spectlib/notifier.py", line 255, in
mark_watch_status
    self.balloon.show_toast(watch.get_balloon_text(), balloon_icon,
name=watch.name)                
  File
"/home/jeff/trunks/specto-jeff/spectlib/plugins/watch_mail_gmail.py", line
105, in get_balloon_text
    author_info += self.mail_info[i].split("|")[0] + ", "
IndexError: list index out of range

Original issue reported on code.google.com by nekoh...@gmail.com on 22 Feb 2008 at 4:05

GoogleCodeExporter commented 9 years ago
Are you sure about this bug?
Because this traceback can not be generated when you have a wrong password.
I think this is a duplicate of issue #93 where you have more than 20 new mails 
in
your inbox (and your password is correct).
please check!

Original comment by woutclym...@gmail.com on 22 Feb 2008 at 4:47

GoogleCodeExporter commented 9 years ago
Oh you are right, this is on my spamful account :) dupe of issue #93 I guess

What is so wrong with google hating numbers over 20?! Were they not math lovers 
to
begin with? :)

Original comment by nekoh...@gmail.com on 22 Feb 2008 at 5:52