i'm experiencing something similar to the defect reported here:
http://pylonshq.com/project/pylonshq/ticket/614

to summarize, someone is visiting our site and has a malformed cookie
set on the current document. pylons cookie library snags when trying
to parse the value of this cookie, and triggers an error, which then
triggers an email to the admin.

i get about 100 emails a day from this user/crawler.

until this issue is resolved, is their some try/catch code i can
insert somewhere in the framework to suppress these errors?

here is the last line of the error email that gets sent to me

-----------

File '/usr/lib/python2.5/Cookie.py', line 451 in set
  raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: wpgb_visit_last_php-http://
www_google_co_in

--------------

here is the cookie value

--------------

HTTP_COOKIE: 'wpgb_visit_last_php-http://www_google_co_in=1253221576;
+wpgb_visit_last_php-http://www_moviespack_com=1253222006;
flashInstalled=9.0; wpgb_visit_last_php-default=1253221882;
+wpgb_visit_last-http://www_moviespack.com=Fri%20Sep
%2018%2002%3A45%3A26%20UTC+0530%202009;
+__utma=155966631.933377776.1253221862.1253221862.1253221862.1;
__utmb=155966631.2.10.1253221862; __utmc=155966631;
+__utmz=155966631.1253221862.1.1.utmcsr=google|utmccn=(organic)|
utmcmd=organic|utmctr=free%20latest%20movies%20for%20download
+'
--------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to