Errors in latest beta
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Errors in latest beta




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Errors in latest beta  
Nick


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-24-05 10:46 PM

For some reason I can no longer execute a function registered with
req.register_cleanup:

[Sat Sep 24 11:56:18 2005] [error] [client 127.0.0.1]
exceptions.UnboundLocalError: 1124096352
[Sat Sep 24 11:56:18 2005] [error] [client 127.0.0.1] python_cle
anup:
Error calling cleanup object <function pse_cleanuphandler at 0x2aaaadb1f758>

I haven't had time to dig into the mod_python code yet, and I'll be
somewhat busy this weekend, but I want to give a heads up.

I don't rule out the possiblity that it's because of my code ;-)  It did
worked before I upgraded, though.  Basically I'm calling like so:

req.register_cleanup(pse_cleanuphandler, req)

Nick






[ Post a follow-up to this message ]



    Re: Errors in latest beta  
Nick


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-24-05 10:46 PM

Never mind; I think I've tracked down the problem, and I think it's
related to the fact that I inadvertently upgraded the python2.4 package
on my system to version 2.4.2rc1 :-/

Nick

Nick wrote:
> For some reason I can no longer execute a function registered with
> req.register_cleanup:
>
> [Sat Sep 24 11:56:18 2005] [error] [client 127.0.0.1]
> exceptions.UnboundLocalError: 1124096352
> [Sat Sep 24 11:56:18 2005] [error] [client 127.0.0.1] python_c
leanup:
> Error calling cleanup object <function pse_cleanuphandler at
> 0x2aaaadb1f758>
>
> I haven't had time to dig into the mod_python code yet, and I'll be
> somewhat busy this weekend, but I want to give a heads up.
>
> I don't rule out the possiblity that it's because of my code ;-)  It did
> worked before I upgraded, though.  Basically I'm calling like so:
>
>     req.register_cleanup(pse_cleanuphandler, req)
>
> Nick






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:00 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register