15
May
written by cail.cn • posted in How-To • 276 views no comments

Below are error msg for lester chan’s python code, only the domain app version. It cannot run overnight without any problem, which make it really useless … Any better push gmail solution for iPhone, besides Google Sync, which needs an exchange account? Any one has a better implantation of Gmail with Prowl? Thanks!

24:29.15 redr last 20 imaplib2 reports:
  24:29.20 hdlr last 20 imaplib2 reports:
Got an event!
Exception in thread Thread-168:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "main.py", line 68, in idle
    self.dosync()
  File "main.py", line 73, in dosync
    retcode, messages = self.M.search(None, 'UNSEEN')
  File "/home/USER/app/gmail_and_prowl/imaplib2.py", line 831, in search
    return self._simple_command(name, *criteria, **kw)
  File "/home/USER/app/gmail_and_prowl/imaplib2.py", line 1352, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/home/USER/app/gmail_and_prowl/imaplib2.py", line 1076, in _command
    raise self.abort('connection closed')
abort: connection closed

Shutting down
Traceback (most recent call last):
  File "main.py", line 132, in <module>
    M.close()
  File "/home/USER/app/gmail_and_prowl/imaplib2.py", line 562, in close
    raise self.error('No mailbox selected.')
imaplib2.error: No mailbox selected.
Exception in thread Thread-1204:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "main.py", line 68, in idle
    self.dosync()
  File "main.py", line 73, in dosync
    retcode, messages = self.M.search(None, 'UNSEEN')
  File "/home/USER/app/gmail_and_prowl/imaplib2.py", line 831, in search
    return self._simple_command(name, *criteria, **kw)
  File "/home/USER/app/gmail_and_prowl/imaplib2.py", line 1352, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/home/USER/app/gmail_and_prowl/imaplib2.py", line 1076, in _command
    raise self.abort('connection closed')
abort: connection closed

Shutting down
Traceback (most recent call last):
  File "main.py", line 134, in <module>
    M.close()
  File "/home/USER/app/gmail_and_prowl/imaplib2.py", line 562, in close
    raise self.error('No mailbox selected.')
imaplib2.error: No mailbox selected.

Another python script using Prowl push service to check Gmail is gprowl. It fails even more frequently – just stall there!

:-(

Leave a Reply

 

En.dogeno.us - CaiLog © cail.cn | Licensed under a Creative Commons License