[Zope] LocalFS manage_addFolder solution?
Hi all, I want to create an LocalFS object. I use but that doesn´t work. Simular to 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, line 0, in ?NameError: (see above) Thanks Jens
Re: [Zope] LocalFS manage_addFolder solution?
"jensebaer" <[EMAIL PROTECTED]> writes: > __ > > > Folder creation isn't really supported in LocalFS at the moment. Very > > low level support is there (module function _save_Folder) but it's not > > intended to be called externally and there doesn't seem to be any path > > to call it. There is certainly not a local definition of > > manage_addFolder in LocalDirectory. This is on my list of stuff to do > > for our site, but I don't know if it's on Jonothan's list for the real > > product. > It is. It's hard. I'm going to need some help with this one, I'm afraid. > --jfarr > __ > > My question: > > Is there now a solution to perfom manage_addFolder to LocalFS? The general case _is_ hard, but special cases can be much easier. In an earlier message Jonothan recommended using external methods to add folders. We plan to take this approach for our use. For one thing it makes enforcing our site policies much easier than a general approach. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] LocalFS manage_addFolder solution?
Hi all, while searching for a solution to add a folder to LocalFS, I found this message: __ > Folder creation isn't really supported in LocalFS at the moment. Very > low level support is there (module function _save_Folder) but it's not > intended to be called externally and there doesn't seem to be any path > to call it. There is certainly not a local definition of> manage_addFolder in LocalDirectory. This is on my list of stuff to do > for our site, but I don't know if it's on Jonothan's list for the real> product.It is. It's hard. I'm going to need some help with this one, I'm afraid.--jfarr__ My question: Is there now a solution to perfom manage_addFolder to LocalFS? Thank You Jens