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!
:-(
blog by cail
- » Buy Chinese Painting
- » a page for 99life, fdu
- » 2shRNA - design oligos for RNAi
- » Feed collection of leading biology journals
- » How to use ImageJ to analyze images?
- » Play background music
- » About CaiLog
New in 'How-To'
- http://pubmeder.appspot.com/ open to public
- PubMed-er : ease your paper reading in browser
- Use vUSBbus to backup and emulate Sentinel and HASP dongles (HASP3/HASP4/Hasp HL USB keys) #getkey
- Install Snow Leopard on EeePC 1000HA (for Google Contact Sync with photo)
- How to setup Exchange ActiveSync account on #htc #evo 4G (should work for other #android phone with HTC Sense)
- Sprint HTC #evo running on Verizon network … and speed comparison
- HTC #evo: #root from @toastcfh, RUU stocks, OTA update and @unrevoked
Hot in 'How-To'
- analog – analog/digital – digital, VGA – DVI – HDMI - 26,386 views
- Ez-12 windsurfer antenna - 14,546 views
- How to add new ringtones to iPhone - 12,323 views
- Air Video, video stream and live convert your favorites to iPod Touch, iPhone and iPad (How to setup the server for Ubuntu and OpenSolaris) - 9,504 views
- mac osx 10.5.1 kalway on Lenovo Thinkpad T43 2668AJU - 8,399 views


Leave a Reply