[Zope] Sorry LocalFS manage_addLocalFS not manage_addFolder

jensebaer jensebaer@hotmail.com
Thu, 5 Oct 2000 22:07:45 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_004B_01C02F18.B0E08A80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


  Sorry I want to write manage_addLocalFS not manage_addFolder


  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 &lt;string&gt;, line 0, in ?
  NameError: (see above)


  Thanks=20
  Jens


------=_NextPart_000_004B_01C02F18.B0E08A80
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>&nbsp;</DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">Sorry I want to write =
manage_addLocalFS not=20
  manage_addFolder</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>
  <DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I want to create an LocalFS =
object.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I use &lt;dtml-call=20
  "manage_addLocalFS('localfsfolder', 'title', '/home/zope')"&gt; but =
that=20
  doesn=B4t work.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Simular to &lt;dtml-call=20
  "manage_addFolder('Folder', 'Tis is the title')"&gt;&nbsp;that=20
  works</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Error Type: NameError<BR>&nbsp;Error Value: =
manage_addLocalFS</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Traceback (innermost last):<BR>&nbsp; File=20
  /home/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 214, =
in=20
  publish_module<BR>&nbsp; File=20
  /home/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 179, =
in=20
  publish<BR>&nbsp; File =
/home/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py,=20
  line 202, in zpublisher_exception_hook<BR>&nbsp;&nbsp;&nbsp; (Object:=20
  ElementWithAttributes)<BR>&nbsp; File=20
  /home/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 165, =
in=20
  publish<BR>&nbsp; File=20
  /home/zope/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line 160, =
in=20
  mapply<BR>&nbsp;&nbsp;&nbsp; (Object: addlocalfs)<BR>&nbsp; File=20
  /home/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 102, =
in=20
  call_object<BR>&nbsp;&nbsp;&nbsp; (Object: addlocalfs)<BR>&nbsp; File=20
  /home/zope/Zope-2.1.6-src/lib/python/OFS/DTMLMethod.py, line 150, in=20
  __call__<BR>&nbsp;&nbsp;&nbsp; (Object: addlocalfs)<BR>&nbsp; File=20
  /home/zope/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_String.py, =
line 502,=20
  in __call__<BR>&nbsp;&nbsp;&nbsp; (Object: addlocalfs)<BR>&nbsp; File=20
  /home/zope/Zope-2.1.6-src/lib/python/DocumentTemplate/DT_Util.py, line =
335, in=20
  eval<BR>&nbsp;&nbsp;&nbsp; (Object: manage_addLocalFS('localfsfolder', =

  'title', '/home/zope'))<BR>&nbsp;&nbsp;&nbsp; (Info:=20
  manage_addLocalFS)<BR>&nbsp; File &amp;lt;string&amp;gt;, line 0, in=20
  ?<BR>NameError: (see above)</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Thanks </DIV>
  <DIV>Jens</DIV>
  <DIV>&nbsp;</DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_004B_01C02F18.B0E08A80--