[Zope] edit_propertiesForm traceback

Jean Jordaan Jean@mosaicsoftware.com
Mon, 7 Aug 2000 15:36:53 +0200


Hi Zopers ..

I'm trying to get a Zclass of mine to be properly
catalog-aware. This is turning out to be quite a 
mission, unless I'm seriously astray. 

First I followed the steps in 
  http://www.zope.org/Documentation/How-To/ZCatalogTutorial/
and then I tried to follow 
  http://www.zope.org/Members/AlexR/CatalogAware/
.

Everything seemed to go OK until I attempted to make 
  http://www.zope.org/Members/AlexR/CatalogAware/edit_props.zip
work for me. That gets me:

  <P>
  <STRONG>Error Type: TypeError</STRONG><BR>
  <STRONG>Error Value: string member test needs char left
operand</STRONG><BR> 
  </P>

<!--
Traceback (innermost last):
  File C:\PROGRA~1\ZOPECO~1\lib\python\ZPublisher\Publish.py, line 214, in
publish_module
  File C:\PROGRA~1\ZOPECO~1\lib\python\ZPublisher\Publish.py, line 179, in
publish
  File C:\PROGRA~1\ZOPECO~1\lib\python\Zope\__init__.py, line 202, in
zpublisher_exception_hook
    (Object: CatalogAware)
  File C:\PROGRA~1\ZOPECO~1\lib\python\ZPublisher\Publish.py, line 165, in
publish
  File C:\PROGRA~1\ZOPECO~1\lib\python\ZPublisher\mapply.py, line 160, in
mapply
    (Object: edit_propertiesForm)
  File C:\PROGRA~1\ZOPECO~1\lib\python\ZPublisher\Publish.py, line 102, in
call_object
    (Object: edit_propertiesForm)
  File C:\PROGRA~1\ZOPECO~1\lib\python\OFS\DTMLMethod.py, line 150, in
__call__
    (Object: edit_propertiesForm)
  File C:\PROGRA~1\ZOPECO~1\lib\python\DocumentTemplate\DT_String.py, line
502, in __call__
    (Object: edit_propertiesForm)
  File C:\PROGRA~1\ZOPECO~1\lib\python\DocumentTemplate\DT_With.py, line
148, in render
    (Object: propertysheets)
  File C:\PROGRA~1\ZOPECO~1\lib\python\DocumentTemplate\DT_With.py, line
148, in render
    (Object: ccDocProperties)
  File C:\PROGRA~1\ZOPECO~1\lib\python\DocumentTemplate\DT_In.py, line 691,
in renderwob
    (Object: propertyMap)
  File C:\PROGRA~1\ZOPECO~1\lib\python\DocumentTemplate\DT_In.py, line 691,
in renderwob
    (Object: _[select_variable])
  File C:\PROGRA~1\ZOPECO~1\lib\python\DocumentTemplate\DT_Util.py, line
335, in eval
    (Object: _['sequence-item'] in getProperty(id))
    (Info: getProperty)
  File &lt;string&gt;, line 0, in ?
TypeError: (see above)

-->

when I try to edit the properties of an instance of my Zclass. 
Itamar's dtml is a bit too subtle for me to follow at this stage.
Anyone know what's happening? I don't see any "&lt;string&gt;" in
edit_propertiesForm, which is what triggers this traceback.

-- 
jean