KeyError with __eq__
I'm trying to publish an object without using content_publish_form (so directly invoking content_status_modify) and I'm getting Error Type: KeyError Error Value: __eq__ The only place I find __eq__ in the zope installation is in UserList.py, where it appears to be some kind of redefinition of '=='. UserList.py does not appear in the stack trace, so I'm confused as to what may be happening here. Anyone else run into this? Thanks, Josh ps ~ I'm not sure I understand Zope stack traces very well - I can't find any of my objects in the listing. I would expect to see my object (which invoked the method that started the action) somewhere in the trace.
Joshua Lanza writes:
I'm trying to publish an object without using content_publish_form (so directly invoking content_status_modify) and I'm getting
Error Type: KeyError Error Value: __eq__
The only place I find __eq__ in the zope installation is in UserList.py, where it appears to be some kind of redefinition of '=='. UserList.py does not appear in the stack trace, so I'm confused as to what may be happening here. "__eq__" is the method a class can define to customize its "==".
It's strange that "__eq__" is accessed as a key. Do you have a traceback? Dieter
participants (2)
-
Dieter Maurer -
Joshua Lanza