[Zope] ExtFile Problem
Frank Stephan
frank_stephan@gmx.de
Thu, 6 Sep 2001 22:50:52 +0200
Hi,
I installed ExtFile and a can add files using management interface.
But I can not using dtml.
I use
<dtml-call "manage_addExtFile(self, 'myID', 'test', 'test',
REQUEST.form['attached_file'], '', permission_check=0, REQUEST=None)">
and get the following traceback.
How can I get this thing to work ???
TIA
Frank
<!--
Traceback (innermost last):
File D:\ZOPE\lib\python\ZPublisher\Publish.py, line 223, in publish_module
File D:\ZOPE\lib\python\ZPublisher\Publish.py, line 187, in publish
File D:\ZOPE\lib\python\Zope\__init__.py, line 226, in
zpublisher_exception_hook
(Object: LockableItem)
File D:\ZOPE\lib\python\ZPublisher\Publish.py, line 171, in publish
File D:\ZOPE\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: doUpload)
File D:\ZOPE\lib\python\ZPublisher\Publish.py, line 112, in call_object
(Object: doUpload)
File D:\ZOPE\lib\python\OFS\DTMLMethod.py, line 194, in __call__
(Object: doUpload)
File D:\ZOPE\lib\python\DocumentTemplate\DT_String.py, line 546, in
__call__
(Object: doUpload)
File D:\ZOPE\lib\python\DocumentTemplate\DT_Util.py, line 231, in eval
(Object: manage_addExtFile(self, 'myID', 'test', 'test',
REQUEST.form['attached_file'], '', permission_check=0, REQUEST=None))
(Info: manage_addExtFile)
File <string>, line 2, in f
(Object: guarded_getitem)
NameError: (see above)
-->