suppressing cookie handling errors
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.93336.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 -~--~~~~--~~--~--~---
cron Paster Command
Hi guys, I've recently been investigating how to run cron jobs for my Pylons applications, and followed the example I found on the wiki by creating a paster command. I've blogged about it, and uploaded the script to my blog. http://is.gd/3qpl6 One of the cool things about it (if I may brag a little!) is that you don't have to do much to get it up and running. The command class will find all your controllers, and will run a cron command if it exists in your controller. Constructive criticism is welcome! -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny...@gmail.com Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754 Registered Linux User #333298 (http://counter.li.org) --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: cron Paster Command
Anyone else have issues with that is.gd link? It redirected me back into gmail. It freaks me out a little. On Fri, Sep 18, 2009 at 1:52 PM, Raoul Snyman raoul.sny...@gmail.comwrote: Hi guys, I've recently been investigating how to run cron jobs for my Pylons applications, and followed the example I found on the wiki by creating a paster command. I've blogged about it, and uploaded the script to my blog. http://is.gd/3qpl6 One of the cool things about it (if I may brag a little!) is that you don't have to do much to get it up and running. The command class will find all your controllers, and will run a cron command if it exists in your controller. Constructive criticism is welcome! -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny...@gmail.com Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754 Registered Linux User #333298 (http://counter.li.org) --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: cron Paster Command
On Fri, Sep 18, 2009 at 2:32 PM, Jon Collette skr...@gmail.com wrote: Anyone else have issues with that is.gd link? It redirected me back into gmail. It freaks me out a little. It looks like the link is broken. I thought it was a problem with how GMail handles links in emails (I think it points to a Google service that redirects to the original page), but if I paste the link into a fresh instance of Konqueror that isn't logged into GMail, it goes to the GMail login page anyway. So I think the original URL is screwed up. is.gd is one of those tiny-URL services, so he must have put the wrong URL as the target of the redirect. -- Mike Orr sluggos...@gmail.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---