[Zope] HTMLDocument kludge for Zope 2.4.0b3

Kyler B. Laird laird@ecn.purdue.edu
Sat, 07 Jul 2001 14:36:54 -0500


I was able to eliminate a fatal error when loading
HTMLDocument 0.2 in Zope 2.4.0b3 by commenting
	# __implements__ = IHTMLDocument # XXX ???
in 
	HTMLDocument.py

The alternative is to have Util.py check
"interfaces" before trying to iterate over it.  I
don't know enough about it to judge where the fix
should go.

--kyler

------
2001-07-07T19:26:34 PROBLEM(100) Init Ambiguous name for method of Products.HTMLDocument.HTMLDocument.HTMLDocument: "manage_editForm" != "manage"
------
2001-07-07T19:26:34 PROBLEM(100) Init Ambiguous name for method of Products.HTMLDocument.HTMLDocument.HTMLDocument: "manage_editForm" != "manage_main"
------
2001-07-07T19:26:34 PROBLEM(100) Init Ambiguous name for method of Products.HTMLDocument.HTMLDocument.HTMLDocument: "manage_editForm" != "manage_main"
------
2001-07-07T19:26:34 PROBLEM(100) Init Ambiguous name for method of Products.HTMLDocument.HTMLDocument.HTMLDocument: "manage_editForm" != "manage"
initializing PurdueUserFolder
------
2001-07-07T19:26:41 ERROR(200) Zope Couldn't install HTMLDocument
Traceback (innermost last):
  File /home/www/Zope.6/src/Zope-2.4.0b3-src/lib/python/OFS/Application.py, line 657, in install_product
    (Object: ApplicationDefaultPermissions)
    (Info: HTMLDocument)
  File /var/www/Zope.6/Zope/lib/python/Products/HTMLDocument/__init__.py, line 20, in initialize
  File /home/www/Zope.6/src/Zope-2.4.0b3-src/lib/python/App/ProductContext.py, line 233, in registerClass
  File /home/www/Zope.6/src/Zope-2.4.0b3-src/lib/python/Interface/Util.py, line 66, in instancesOfObjectImplements
    (Object: HTMLDocument)
  File /home/www/Zope.6/src/Zope-2.4.0b3-src/lib/python/Interface/Util.py, line 72, in _wi
    (Object: IHTMLDocument)
TypeError: loop over non-sequence