[Zope] Manage_addLocalFS
Dieter Maurer
dieter@handshake.de
Thu, 9 Jan 2003 23:10:35 +0100
Milos Prudek wrote at 2003-1-8 19:39 +0100:
> I cannot find a correct way to use manage_addLocalFS().
> ...
> context.manage_addProduct['LocalFS'].manage_addLocalFS('id1', 'title1',
> '/usr/local/Zope-orl/mirror')
> ...
> 1353, in manage_addLocalFS
> File /usr/local/Zope-orl-new/lib/python/App/FactoryDispatcher.py,
> line 104, in manage_main
> TypeError: (see above)
Line 104 od "FactoryDispatcher" looks like:
REQUEST['RESPONSE'].redirect(self.DestinationURL()+d)
This means, the unsubscriptable object is "REQUEST".
Apparently "manage_addLocalFS" need a "REQUEST" object and
has a default value of "None" (which is unsubscriptable).
Pass in a valid REQUEST argument.
Dieter