Test if the folder already exists before creating it.
Kind regards,
Bas Roijen
Sorry, I forgot to mention, my view function checks if the contents were
already
created. The subfolders are only created once:
class HomePageView(BrowserView):
def createSubFolders(self):
if
I narrow the problem down to these calls
self.currentArtists.reindexObject()
self.currentArtistsEnsHanVisitat.reindexObject()
self.pastArtists.reindexObject()
These three calls are causing the ZCatalog error.
If I leave them out, and drop in the debugger later and call reindexObject on
these