|
Donation/Premium |
|
 |
|
|
|
|
|
|
|
 |
 |
| View previous topic :: View next topic |
| Author |
Message |
kamaraju
Corporal

 Joined: Mar 07, 2007 Posts: 66 Location: USA
|
Posted: Thu Apr 12, 2007 7:28 pm Post subject: gspamcop script is giving errors |
|
|
The gspamcop script at http://www.submanifold.be/triade/misc/gknujon/gknujon.html suddenly stopped working. When I am reporting my gmail's spam emails, it is giving the follwing errors.
I currently have 71 spam mails in my Inbox and the script stops after reading 34 emails leaving 37 unread spam emails.
$python gspamcop.py -l uname@gmail.com -p password -r xxxxxx@coldrain.net -rsc quick.randomcode@spam.spamcop.net
Login successful
71 unread messages found in spam folder
Traceback (most recent call last)
File "gspamcop.py", line 133, in ?
for msg in thread:
File "/usr/lib/python2.4/site-packages/libgmail.py", line 1333, in __iter__
self._messages = self._getMessages(self)
File "/usr/lib/python2.4/site-packages/libgmail.py", line 1356, in _getMessages
q = "in:anywhere")
File "/usr/lib/python2.4/site-packages/libgmail.py", line 377, in _parseSearchResult
return self._parsePage(_buildURL(**params))
File "/usr/lib/python2.4/site-packages/libgmail.py", line 350, in _parsePage
items = _parsePage(self._retrievePage(urlOrRequest))
File "/usr/lib/python2.4/site-packages/libgmail.py", line 97, in _parsePage
exec data in {'__builtins__': None}, {'D': lambda x: result.append(x)}
TypeError: expected string without null bytes
Any ideas?
|
|
| Back to top |
|
 |
hansBF
Blue Angel Premium Member
 Joined: May 03, 2006 Posts: 276 Location: USA
|
Posted: Sun Apr 15, 2007 2:07 am Post subject: |
|
|
I don’t use it, so I don’t know much about it. Here is how I proceed when something suddenly stops working. I check my system for malware. Have you done that? You may also want to check for other recent changes on your system. That may sound simplistic, but it has worked for me in the past.
Hans
<BTW> If that doesn't resolve the issue, get back to us and maybe someone else can help you. _________________ Websplasher website design. Design with a splash.
|
|
| Back to top |
|
 |
rainwolf
Sergeant

 Joined: May 18, 2006 Posts: 88
|
Posted: Sun Apr 15, 2007 6:41 am Post subject: |
|
|
there 's a spam message giving trouble, delete the last read spam message manually, my guess is that's the one giving the trouble, then rerun the script, it should work fine then, I don't know why it happens, but it does.
|
|
| Back to top |
|
 |
kamaraju
Corporal

 Joined: Mar 07, 2007 Posts: 66 Location: USA
|
Posted: Sun Apr 15, 2007 6:53 am Post subject: |
|
|
| rainwolf wrote: | | there 's a spam message giving trouble, delete the last read spam message manually, my guess is that's the one giving the trouble, then rerun the script, it should work fine then, I don't know why it happens, but it does. |
Thanks. That is what I did after couple of tries.
I basically deleted a bunch of spam (around 70 emails) not knowing which one is the culprit. Once the spam emails are deleted, the script is working again.
thanks
raju
|
|
| Back to top |
|
 |
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001 phpBB Group
|