I was having a problem with trac on macport python 2.6[1], the gist  
was that python was core dumping on a call to mimetypes.guess_type,  
then someone on pythonmac-sig gave the tip about a problem with  
mimetypes which led me to this patch[2], and look at the last comment:

"I'm a bit surprised. Having used the mimetypes module myself, I never  
bothered to call init() The fact that users call init() may have to do  
with the fact that until recently, not doing so explicitly could be  
thread-unsafe."

Looking thru trac I don't see it being called before the server  
creates a thread to answer a request. If this is a real problem I can  
make a simple patch for it.

I know even if this was a problem what should be happening is a  
traceback and not a core dump on python (this is probably some trouble  
with macports, but we should clean trac also right?

[1] http://trac.macports.org/ticket/20286
[2] http://codereview.appspot.com/107042

--
Leonardo Santagada
santagada at gmail.com




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to