| <class 'libgmail.GmailLoginFailure'> | Python 2.6.6: /usr/bin/python Sat May 25 04:10:57 2013 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/beckel/datasingularity.com/Texter/sendtext.py in |
| 20 carrier = form.getvalue("carrier") |
| 21 |
| 22 sender = Sender("benjamin.smtp@gmail.com", str(psswd)) |
| 23 txtM = TextMessage(body, subject) |
| 24 receiver = Receiver(p_num, carrier) |
| sender undefined, Sender = <class TextMessaging.Sender>, builtin str = <type 'str'>, psswd = None |
| /home/beckel/datasingularity.com/Texter/TextMessaging.py in __init__(self=<TextMessaging.Sender instance>, uname='benjamin.smtp@gmail.com', psswd='None') |
| 24 self.password = psswd |
| 25 self.ga = libgmail.GmailAccount(self.user_name, self.password) |
| 26 self.ga.login() |
| 27 def sendMessage(self, receiver, mssg): |
| 28 gMssg = libgmail.GmailComposedMessage(receiver.address, |
| self = <TextMessaging.Sender instance>, self.ga = <libgmail.GmailAccount instance>, self.ga.login = <bound method GmailAccount.login of <libgmail.GmailAccount instance>> |
| /home/beckel/datasingularity.com/Texter/libgmail.py in login(self=<libgmail.GmailAccount instance>) |
| 356 |
| 357 except AttributeError: |
| 358 raise GmailLoginFailure("Login failed. (Wrong username/password?)") |
| 359 # We aren't concerned with the actual content of this page, |
| 360 # just the cookie that is returned with it. |
| global GmailLoginFailure = <class 'libgmail.GmailLoginFailure'> |
<class 'libgmail.GmailLoginFailure'>: 'Login failed. (Wrong username/password?)'
args =
()
message =
'Login failed. (Wrong username/password?)'