[Zope] A TinyTable problem
Dieter Maurer
dieter@handshake.de
Thu, 14 Jun 2001 22:31:02 +0200 (CEST)
Ricardo Newbery writes:
> ....
> <dtml-call
> expr="_.getitem(logtable2).setRow(name=username_forlog,count='1')">
> </dtml-with>
> ....
> File
> /usr/local/etc/httpd/zope2/Products/TinyTablePlus/TinyTablePlus.py,
> line 511, in _GenerateIndex
> (Object: log_users)
> File /usr/local/zope2/lib/python/ZODB/PersistentMapping.py, line
> 119, in __setitem__
> AttributeError: __hash__
Seems that the key has the wrong type (it lacks a "__hash__" method).
I would check the type of "username_forlog").
Probably, it is something different than you expect.
Dieter