[Zope-dev] external method problems (ARGH!) - traceback

auto44082@hushmail.com auto44082@hushmail.com
Wed, 1 Mar 2000 11:49:59 -0800 (PST)


Here's the traceback for the error. The def in the python code is actually 
line 4 in the file called SmartDTML.py. It appears to be croaking on the 
f.write(testvar).  Anyway.

Error Type: TypeError
Error Value: read-only buffer, instance

-------------
Traceback (innermost last):
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 179, in publish
  File /usr/local/Zope/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook
    (Object: asdf)
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 165, in publish
  File /usr/local/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: uploadReplacer)
  File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 102, in call_object
    (Object: uploadReplacer)
  File /usr/local/Zope/lib/python/OFS/DTMLMethod.py, line 145, in __call__
    (Object: uploadReplacer)
  File /usr/local/Zope/lib/python/DocumentTemplate/DT_String.py, line 502,
 in __call__
    (Object: uploadReplacer)
  File /usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, line 335,
 in eval
    (Object: convertFile())
    (Info: convertFile)
  File <string>, line 0, in ?
  File /usr/local/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py,
 line 255, in __call__
    (Object: convertFile)
    (Info: ((), {}, None))
  File /usr/local/Zope/Extensions/SmartDTML.py, line 11, in convertFile
    (Object: asdf)
TypeError: (see above)




IMPORTANT NOTICE:  If you are not using HushMail, this message could have been read easily by the many people who have access to your open personal email messages.
Get your FREE, totally secure email address at http://www.hushmail.com.