[Zope] zclass error after install XMLDocument-1.0a1

JULIO SILVA juliosilva@usa.net
21 Sep 99 13:11:07 WET DST


Hi Zopistas!
I've installed the XMLDocument-1.0a1 Product and after that when trying to
create a zclass object(select ZClass from the available objects combo) in a
product folder I get this error:

----------------------------------------
    Error Type: TypeError
    Error Value: unbound Python method must be called with Node 1st argument

Traceback (innermost last):
  File /usr/local/src/Zope-2.0.0-linux2-x86/lib/python/ZPublisher/Publish.py,
line 214, in publish_module
  File /usr/local/src/Zope-2.0.0-linux2-x86/lib/python/ZPublisher/Publish.py,
line 179, in publish
  File /usr/local/src/Zope-2.0.0-linux2-x86/lib/python/Zope/__init__.py, line
201, in zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /usr/local/src/Zope-2.0.0-linux2-x86/lib/python/ZPublisher/Publish.py,
line 165, in publish
  File /usr/local/src/Zope-2.0.0-linux2-x86/lib/python/ZPublisher/mapply.py,
line 160, in mapply
    (Object: manage_addZClassForm)
  File /usr/local/src/Zope-2.0.0-linux2-x86/lib/python/ZPublisher/Publish.py,
line 102, in call_object
    (Object: manage_addZClassForm)
  File /usr/local/src/Zope-2.0.0-linux2-x86/lib/python/App/special_dtml.py,
line 120, in __call__
    (Object: manage_addZClassForm)
    (Info:
/usr/local/src/Zope-2.0.0-linux2-x86/lib/python/ZClasses/addZClass.dtml)
  File
/usr/local/src/Zope-2.0.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
    (Object: manage_addZClassForm)
  File
/usr/local/src/Zope-2.0.0-linux2-x86/lib/python/DocumentTemplate/DT_With.py,
line 148, in render
    (Object: _(selected=[], unselected=[], baseclasses=[], id='', title='',
             meta_type='',
             all=manage_subclassableClassNames(),
             ))
  File
/usr/local/src/Zope-2.0.0-linux2-x86/lib/python/DocumentTemplate/DT_With.py,
line 148, in render
    (Object: REQUEST)
  File
/usr/local/src/Zope-2.0.0-linux2-x86/lib/python/DocumentTemplate/DT_With.py,
line 148, in render
    (Object: _(
    selected=_.reorder(
       all,
       with   = baseclasses+
                (REQUEST.get('manage_addZClassForm','')=='    -> '
                 and unselected or []),
       without= (REQUEST.get('manage_addZClassForm','')==' <-    ' 
                 and   selected or [])
       ),
    ))
  File
/usr/local/src/Zope-2.0.0-linux2-x86/lib/python/DocumentTemplate/DT_With.py,
line 148, in render
    (Object: _(unselected=_.reorder(all, without=selected)))
  File
/usr/local/src/Zope-2.0.0-linux2-x86/lib/python/DocumentTemplate/DT_In.py,
line 691, in renderwob
    (Object: unselected)
TypeError: (see above)

--------------------------------------------------------------------

I've started from scratch a fresh version of Zope(2.0.1) and installed the
xmldocument-1.0a1 after what I was no more enabled to create zclass objects.
I strange this behaviour because this doesnt happen with the
xmldocument-1.0a2. But my problem is that I really need the a1 version
cause I'm using it with the ODPviewer product.

Anyone can help this newbie?
Thanks a lot.

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1