28 May
2004
28 May
'04
3:36 p.m.
What does that error mean? In my main class I have : main_page=PageTemplateFile('zpt/main_page.zpt',globals()) main_page._owner=None def index_html(self,REQUEST=None): """our main page... Enter here!""" if REQUEST is not None: if REQUEST.has_key('YSURLARGS'): if REQUEST['YSURLARGS'][0] == 'domain': self.domain = self.ddb.getDomain(REQUEST['YSURLARGS'][1]) self.domainTitle=self.domain.getHTMLDomainName() else: pass else: pass else: pass return self.main_page(self,REQUEST) And this results in: Site Error An error was encountered while publishing this resource. Error Type: TypeError Error Value: can't pickle function objects