Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 13th, 2004, 03:31 PM
BlairMill BlairMill is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 1 BlairMill User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
'python exception' error message in ICAP...

Hello to all,

I am trying to implement a RESPMOD in ICAP, where a proxylet simply inserts an image into the HTML code of the HTTP response (similar to the proxylet 'bannerPl.py').

For some reason, the RESPMOD process is giving me the following error:

error: uncaptured python exception, closing channel <icap_channel connected 127.0.0.1:36249 at f6cdaacc channel#: 230 requests:> (exceptions.AttributeError:'str' object has no attribute 'group' [/root/icap_server/medusa-20010416/asyncore.py|poll|97] [/root/icap_server/medusa-20010416/asyncore.py|handle_read_event|385] [/root/icap_server/medusa-20010416/asynchat.py|handle_read|131] [/root/icap_server/icap_server.py|found_terminator|336] [/root/icap_server/icap_handler.py|handle_request|143])

When I kill the ICAP server, I get the following traceback lines:

Traceback (most recent call last):
File "./start_icap.py", line 33, in ?
start_icap()
File "./start_icap.py", line 29, in __init__
asyncore.loop(use_poll = 0)
File "/root/icap_server/medusa-20010416/asyncore.py", line 196, in loop
poll_fun (timeout, map)
File "/root/icap_server/medusa-20010416/asyncore.py", line 87, in poll
r,w,e = select.select (r,w,e, timeout)
KeyboardInterrupt


I can't figure out what is going wrong. I'm not sure if this is a common problem, or if this is specific to my implementation. Any feedback would be greatly appreciated!

Thanks.

John

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > 'python exception' error message in ICAP...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT