Hi Ben,

I've been running beaker with your patch for over a week now on our
live site and have seen no further messages, even under load.  I'd say
the problem is fixed.

Thank you!
Damian

On Oct 2, 6:55 pm, Ben Bangert <[email protected]> wrote:
> On Oct 2, 2009, at 6:05 AM, Damian wrote:
>
>
>
>
>
> > Module beaker.cache:115 in get
> > <<      def get(self, key, **kw):
> >               """Retrieve a cached value from the container"""
> >               return self._get_value(key, **kw).get_value()
> >           get_value = get
>
> >>> return self._get_value(key, **kw).get_value()
> > Module beaker.container:269 in get_value
> > <<              if not creation_lock.acquire(wait=False):
> >                       debug("get_value returning old value while new
> > one is created")
> >                       return value
> >                   else:
> >                       debug("lock_creatfunc (didnt wait)")
> >>> return value
> > UnboundLocalError: local variable 'value' referenced before assignment
>
> It would appear that it sees the value with has_value right before its  
> deleted. I've added a line so that if it fails to then get the value,  
> it sets has_value to false. This should remedy your situation, if you  
> could try the latest Beaker tip from source that has this fix in it,  
> that'd be great.
>
> Cheers,
> Ben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to