On Mar 2, 2009, at 11:24 AM, Mike Orr wrote:

>
> I've started getting an intermittent Beaker error.  It happens in the
> base controller when I pass ``session.id`` to a generic logging
> routine.  However, I have three sites with the same logging code, and
> it's only happening on one of the sites.  It occurs on a variety of
> URLs.  Here's the exception:
>

>>> x = self.do_acquire_write_lock(wait)
> Module beaker.synchronization:260 in do_acquire_write_lock
> <<                  return False
>            else:
>                fcntl.flock(filedescriptor, fcntl.LOCK_EX)
>                return True
>
>>> fcntl.flock(filedescriptor, fcntl.LOCK_EX)
> TypeError: argument must be an int, or have a fileno() method.
>


It'd be helpful to know what the value of filedescriptor is when this  
happens.

--
Philip Jenvey

--~--~---------~--~----~------------~-------~--~----~
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