← Back to team overview

openerp-expert-framework team mailing list archive

Re: New cache system broke translation ?

 

On 09/13/2011 03:46 PM, Thibaut DIRLIK wrote:
> I'm working on the trunk and I encounter a bug since a recent commit.
> After some debug, it appears that the new cache system might be the
> problem. I would like to have a confirmation.
> <SNIP>
> The problem is that "ids" is a list. We can see that in the clear_cache
> method (tools/cache.py, l59) it runs del d[key]. The problem is that I
> got this error :
> 
>     nobj = self.d[obj]
> TypeError: unhashable type: 'list'
> 
> Do you confirm the problem ? Should I open a bug report ?

This looks a lot like the second part of bug 838864 [1] (comment #2),
caused by the new cache implementation.
What revision are you at? Should be fixed after r.3579 [2].


[1] https://bugs.launchpad.net/openobject-server/+bug/838864
[2] revi-id: odo@xxxxxxxxxxx-20110909104046-ipysy6pi3iea38fu


References