[Zope] LocalFS manage_addFolder solution?
jensebaer
jensebaer@hotmail.com
Thu, 5 Oct 2000 22:04:37 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_003F_01C02F18.409E2340
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all,
I want to create an LocalFS object.
I use <dtml-call "manage_addLocalFS('localfsfolder', 'title', =
'/home/zope')"> but that doesn=B4t work.
Simular to <dtml-call "manage_addFolder('Folder', 'Tis is the title')"> =
that works
Error Type: NameError
Error Value: manage_addLocalFS
Traceback (innermost last):
File /home/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line =
214, in publish_module
File /home/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line =
179, in publish
File /home/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, =
in zpublisher_exception_hook
(Object: ElementWithAttributes)
File /home/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line =
165, in publish
File /home/zope/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line =
160, in mapply
(Object: addlocalfs)
File /home/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line =
102, in call_object
(Object: addlocalfs)
File /home/zope/Zope-2.1.6-src/lib/python/OFS/DTMLMethod.py, line 150, =
in __call__
(Object: addlocalfs)
File =
/home/zope/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_String.py, line =
502, in __call__
(Object: addlocalfs)
File /home/zope/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_Util.py, =
line 335, in eval
(Object: manage_addLocalFS('localfsfolder', 'title', '/home/zope'))
(Info: manage_addLocalFS)
File <string>, line 0, in ?
NameError: (see above)
Thanks=20
Jens
------=_NextPart_000_003F_01C02F18.409E2340
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I want to create an LocalFS =
object.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I use <dtml-call=20
"manage_addLocalFS('localfsfolder', 'title', '/home/zope')"> but that =
doesn=B4t=20
work.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Simular to <dtml-call=20
"manage_addFolder('Folder', 'Tis is the title')"> that=20
works</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Error Type: NameError<BR> Error Value: manage_addLocalFS</DIV>
<DIV> </DIV>
<DIV>Traceback (innermost last):<BR> File=20
/home/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 214, in =
publish_module<BR> File=20
/home/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 179, in =
publish<BR> File =
/home/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py,=20
line 202, in zpublisher_exception_hook<BR> (Object:=20
ElementWithAttributes)<BR> File=20
/home/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 165, in =
publish<BR> File=20
/home/zope/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line 160, in=20
mapply<BR> (Object: addlocalfs)<BR> File=20
/home/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 102, in =
call_object<BR> (Object: addlocalfs)<BR> File=20
/home/zope/Zope-2.1.6-src/lib/python/OFS/DTMLMethod.py, line 150, in=20
__call__<BR> (Object: addlocalfs)<BR> File=20
/home/zope/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_String.py, line =
502, in=20
__call__<BR> (Object: addlocalfs)<BR> File=20
/home/zope/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_Util.py, line =
335, in=20
eval<BR> (Object: manage_addLocalFS('localfsfolder', =
'title',=20
'/home/zope'))<BR> (Info: manage_addLocalFS)<BR> =
File=20
&lt;string&gt;, line 0, in ?<BR>NameError: (see above)</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanks </DIV>
<DIV>Jens</DIV>
<DIV> </DIV></FONT></DIV></BODY></HTML>
------=_NextPart_000_003F_01C02F18.409E2340--