Hi, I just tried editing a DTML method in a BTreeFolder with about 1000 objects in it via WebDAV. I never managed to open the file (WebDAV clietn just spun and spun) and after that, viewing any page in that BTreeFolder gave me: Error Type: MemoryError Error Value: Anyone got any ideas? cheers, Chris
Chris Withers wrote:
Error Type: MemoryError Error Value:
(Object: guarded_getitem) File /usr/local/zope/2.4.0b3_base/lib/python/AccessControl/ZopeGuards.py, line 109, in guarded_getattr AttributeError: (see above)
It's the following code from a Python Script that's causing it: catalog = context.Catalog SourceTitle = _['SourceTitle'] brains = catalog.searchResults(SourceTitle=SourceTitle, sort_on = 'SortNo') #while brains[0].SortNo==0: # brains = brains[1:] return brains If I uncomment those two lines, I get the MemoryError. It's not very helpful. How can I do what I want to do? cheers, Chris
participants (1)
-
Chris Withers