Daniel Carvalho - 2009-07-25

hi
I have this error when trying to delete a thread using trashThread.
The same error happens when calling trashMessage and in several other method too...

I have the last source code

HTTP Error 500: Internal Server Error
Traceback (most recent call last):
  File "t_libgmail.py", line 33, in <module>
    ga.trashThread(thread)
  File "/home/daniel/lib/python/libgmail-0.1.11/libgmail.py", line 662, in trashThread
    result = self._doThreadAction(U_MARKTRASH_ACTION, thread)
  File "/home/daniel/lib/python/libgmail-0.1.11/libgmail.py", line 651, in _doThreadAction
    items = self._parsePage(_buildURL(**params))
  File "/home/daniel/lib/python/libgmail-0.1.11/libgmail.py", line 365, in _parsePage
    items = _parsePage(self._retrievePage(urlOrRequest))
  File "/home/daniel/lib/python/libgmail-0.1.11/libgmail.py", line 88, in _parsePage
    lines = pageContent.splitlines()
AttributeError: 'NoneType' object has no attribute 'splitlines'