CastleCops, Internet Crime Fighters
Need help? Click here to register for free! Absolutely zero advertisements on this site!

Donation/Premium
spacer
block bottom
Security Central
spacer
· Home
· PIRT/Fried Phish
· MIRT
· SIRT
· Deutsch
· Wiki
· Newsletter
· O16/ActiveX
· CLSID List
· Contest2007
· Downloads
· Feedback (send)
· Forums
· HijackThis
· Hijacktrend
· LSPs
· My Downloads
· O18
· O20
· O21
· O22
· O23
· O9
· Premium
· Private Messages
· Proxomitron
· Reviews
· Search
· StartupList
· Stories Archive
· Submit News
· WsIRT
· Your Account
· Acceptable Use Policy
block bottom
spacer spacer

gspamcop script is giving errors

 
Post new topic   Reply to topic       All -> FavForums -> Knujon General Discussion [del.icio.us!] [digg it!] [reddit!]
View previous topic :: View next topic  
Author Message
kamaraju

Corporal
Corporal


Joined: Mar 07, 2007
Posts: 66
Location: USA

PostPosted: Thu Apr 12, 2007 7:28 pm    Post subject: gspamcop script is giving errors
Reply with quote

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)Smile
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
View users profile Send private message
hansBF

Blue Angel
Premium Member

Joined: May 03, 2006
Posts: 276
Location: USA
Blue Security Premium Team F@H

PostPosted: Sun Apr 15, 2007 2:07 am    Post subject:
Reply with quote

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 Smile

<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
View users profile Send private message Visit posters website
rainwolf

Sergeant
Sergeant


Joined: May 18, 2006
Posts: 88


PostPosted: Sun Apr 15, 2007 6:41 am    Post subject:
Reply with quote

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
View users profile Send private message Visit posters website
kamaraju

Corporal
Corporal


Joined: Mar 07, 2007
Posts: 66
Location: USA

PostPosted: Sun Apr 15, 2007 6:53 am    Post subject:
Reply with quote

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
View users profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       All -> FavForums -> Knujon General Discussion All times are GMT
Page 1 of 1

 
Quick Reply:
Username: 

Quote the last message
Attach signature (signatures can be changed in profile)
 
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
spacer spacer