[Zope] Part-time tracebacks
Phil Harris
phil.harris@zope.co.uk
Sun, 19 Dec 1999 22:57:55 -0000
Hi all,
I have a problem.
I have a folder that contains file objects that contain text/xml. (I know I
could have used XMLDocuments, but I found them too slow).
These documents are being rendered to html via xsl in an external method,
using a java based xsl processor and this is pretty much working well, but.
Some of the documents cause the error below, any ideas?
Error Type: TypeError
Error Value: argument 1: expected read-only character buffer,
ImplicitAcquirerWrapper found
Traceback (innermost last):
File C:\PROGRA~1\zope\lib\python\ZPublisher\Publish.py, line 214, in
publish_module
File C:\PROGRA~1\zope\lib\python\ZPublisher\Publish.py, line 179, in
publish
File C:\PROGRA~1\zope\lib\python\Zope\__init__.py, line 202, in
zpublisher_exception_hook
(Object: ElementWithAttributes)
File C:\PROGRA~1\zope\lib\python\ZPublisher\Publish.py, line 165, in
publish
File C:\PROGRA~1\zope\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: render_html)
File C:\PROGRA~1\zope\lib\python\ZPublisher\Publish.py, line 102, in
call_object
(Object: render_html)
File C:\PROGRA~1\zope\lib\python\OFS\DTMLDocument.py, line 166, in
__call__
(Object: render_html)
File C:\PROGRA~1\zope\lib\python\DocumentTemplate\DT_String.py, line 502,
in __call__
(Object: render_html)
File C:\PROGRA~1\zope\lib\python\DocumentTemplate\DT_Util.py, line 335, in
eval
(Object: apply_xsl(xml=doc,xsl=anstey_xsl))
(Info: anstey_xsl)
File <string>, line 0, in ?
File
C:\PROGRA~1\zope\lib\python\Products\ExternalMethod\ExternalMethod.py, line
255, in __call__
(Object: apply_xsl)
(Info: ((), {'xsl': <File instance at 08D78F00>, 'xml': 'unit2'},
('', '')))
File C:\PROGRA~1\zope\Extensions\comtest.py, line 91, in apply_xsl
(Object: ElementWithAttributes)
TypeError: (see above)
I am using Zope 2.1.0 on NT.
Any help would be greatly appreciated.
TIA
Phil
phil.harris@zope.co.uk