This error is caused by a conversion of "<foo>" into a TaintedString (because of the <..>) notation.
The tainted string is passed to ob.PrincipiaSearchSource().find(taintedstring). I think the solution is to
pass str(taintedstring) to find() instead of passing the instance itself.


-aj

--On Mittwoch, 27. August 2003 14:54 Uhr +1000 Anthony Baxter <[EMAIL PROTECTED]> wrote:



Go to the Find tab in the ZMI, select "All types", containing "<foo>"

 Error type:  TypeError
 Error value: expected a character buffer object

Traceback (innermost last):

  Module ZPublisher.Publish, line 49, in publish
  Module ZPublisher.mapply, line 32, in mapply
  Module ZPublisher.Publish, line 38, in call_object
  Module Shared.DC.Scripts.Bindings, line 250, in __call__
  Module Shared.DC.Scripts.Bindings, line 270, in _bindAndExec
  Module App.special_dtml, line 110, in _exec
  Module DocumentTemplate.DT_With, line 58, in render
  Module DocumentTemplate.DT_Util, line 175, in eval
  __traceback_info__: obj_metatypes
  Module &lt;string&gt;, line 0, in ?
  Module OFS.FindSupport, line 51, in ZopeFind

TypeError: expected a character buffer object



_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )





_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to