I have tried updating to zope-2.3.0 and LocalFS-0.10.1 but now I cannot access any subdirectories in my local filesystems - I get resource not found errors when I try to traverse them or their contents. I get the same problem with zope-2.3.1b1.
I see what you mean. Looks like my last patch was a little sloppy. Here's a patch for it. I'll roll a new release here in a bit. Thanks for bringing that to my attention. --jfarr --- LocalFS.py.orig Fri Feb 09 23:14:48 2001 +++ LocalFS.py Wed Feb 21 10:29:36 2001 @@ -522,7 +522,7 @@ ob = None path = self._getpath(id) if (os.path.isdir(path)): - ob = LocalDirectory(id, path, self.root, self.tree_view, + ob = LocalDirectory(id, path, self.root or self, self.tree_view, self.catalog, self._type_map, self._icon_map) elif (os.path.isfile(path)): f = open(path, 'rb') @@ -760,7 +760,7 @@ op=cp[0] for ids in cp[1]: m.ids=ids - try: ob=m.bind(self.root) + try: ob=m.bind(self.root or self) except: raise CopyError, eNotFound self._verifyObjectPaste(ob, REQUEST) oblist.append(ob) @@ -1168,6 +1168,7 @@ _connected = 0 tree_view = 1 catalog = 0 + root = None def __init__(self, id, title, basepath, username, password): LocalDirectory.__init__(self, id, basepath, self, self.tree_view,