New issue report by markolopa:
What steps will reproduce the problem?
1. installed libgmail-0.1.10
2. changed "from libgmail import libgmail" to "import libgmail" as explained
3. run `python updateCache.py'
What is the expected output? What do you see instead?
I get
00007 Using cached messages for thread 119dc88dbdc4e4c6
00008 Using cached messages for thread 119d056b9b3fe389
00009 Using cached messages for thread 119adba18c4fe19f
00010 Using cached messages for thread 1199ac9df32b1d48
00011 Using cached messages for thread 11987d3758b161f5
00012 Using cached messages for thread 119857cb60e68ba2
00013 Fetching messages for thread 1197d209672c4d28 from server... Saving
0 thread message mappings... done
Saving 6 thread label mappings... done
Traceback (most recent call last):
File "updateCache.py", line 377, in <module>
ProcessSearchResult(completeSearchResult, data,
minimumToCheck=minimumToCheck)
File "updateCache.py", line 176, in ProcessSearchResult
messages = thread[:]
File "/usr/lib/python2.5/site-packages/libgmail.py", line 1377, in
__getitem__
self._messages = self._getMessages(self)
File "/usr/lib/python2.5/site-packages/libgmail.py", line 1407, in
_getMessages
result += [GmailMessage(thread, msg, isDraft = isDraft)]
File "/usr/lib/python2.5/site-packages/libgmail.py", line 1456, in
__init__
for attachmentInfo in msgData[MI_ATTACHINFO]]
TypeError: 'int' object is not iterable
What version of the product are you using? On what operating system?
version 1.0
ubuntu 8.04
Thanks a lot for the program!
Marko
Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Comment #1 by markolopa:
This is the output I got when running the script for the second time
(messages were
already in the cache, I suppose).
But when running for the first time I got exactly the same message.
Thanks!
Marko