I don't have the egenix mx package installed which brings in a DateTime module.
>From browsing the egenix mx web site, it appears that there is a typo in HTTPResponse where it is referencing DeltaDateTimeType and it should be DateTimeDeltaType. This has been this way in CVS for over 3 months, and been this way in all of the builds since then. Since the DateTime module is supposed to be optional in HTTPResponse, I think the simplest solution for 0.8 will be to comment out the offending code, and/or setting DateTime=None and not import the module. Then we can fix the problem for the next release. Could you try commenting out the lines that attempt to import DateTime at the beginning of the module, and setting DateTime=None to disable it. Let me know if this fixes it for now. -Stuart- > -----Original Message----- > From: Pedro Beck Gomes da Costa [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 05, 2003 2:23 AM > To: Stuart Donaldson; [EMAIL PROTECTED] > Subject: Re: [Webware-discuss] Announcing the release of Webware 0.8 > beta 3 > > > Browsing the 'RequestInformation.py' servlet example gives me > the following > error in HTTPResponse.py: > > Traceback (most recent call last): > File "WebKit\Application.py", line 415, in dispatchRequest > self.handleGoodURL(transaction) > File "WebKit\Application.py", line 567, in handleGoodURL > self.respond(transaction) > File "WebKit\Application.py", line 776, in respond > transaction.respond() > File "WebKit\Transaction.py", line 105, in respond > self._servlet.respond(self) > File "WebKit\HTTPServlet.py", line 38, in respond > method(trans) > File "C:\py\Webware\WebKit\Page.py", line 34, in respondToGet > self._respond(transaction) > File "C:\py\Webware\WebKit\Page.py", line 73, in _respond > self.writeHTML() > File "C:\py\Webware\WebKit\Page.py", line 135, in writeHTML > self.writeBody() > File "C:\py\Webware\WebKit\Page.py", line 204, in writeBody > self.writeBodyParts() > File "WebKit\SidebarPage.py", line 55, in writeBodyParts > self.writeContent() > File ".\WebKit\Examples\RequestInformation.py", line 14, in > writeContent > > self.transaction().response().setCookie('TestExpire1','Expires in 1 > minutes', expires='+1m') > File "WebKit\HTTPResponse.py", line 138, in setCookie > if DateTime and type(t) in \ > AttributeError: 'module' object has no attribute 'DeltaDateTimeType' > ----- Original Message ----- > From: "Stuart Donaldson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, February 05, 2003 7:30 AM > Subject: [Webware-discuss] Announcing the release of Webware > 0.8 beta 3 > > > > Webware for Python 0.8 beta 3 is now available! Please try > it out and > > report any problems. > > > > This release fixes some of the version number issues in the > documentation, and also fixes a compatibility problem between > PSP and Python > 2.3a1 > > > > Please try this out and let us know how it works. > > > > You can view the release notes here: > > http://webware.sourceforge.net/Webware-0.8b3/Docs/RelNotes-0.8.html > <http://webware.sourceforge.net/Webware-0.8b1/Docs/RelNotes-0.8.html> > > > > You can download the release here: > > > http://prdownloads.sourceforge.net/webware/Webware-0.8b3.tar.g z?download <http://prdownloads.sourceforge.net/webware/Webware-0.8b1.tar.gz?download> > > Please provide any feedback here on the discuss list. > > Enjoy! > > -Stuart Donaldson- > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Webware-discuss mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webware-discuss > ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
