[PEAK] Update on Zope X3 compatibility (was Re: Does a PEAK-ized webware esist ?)

Wayne Larsen wayne at larsen.st
Sat Jan 31 13:32:53 EST 2004


Yep, that worked, thanks.  One other tiny fix - the HTTP Response code 
needs to be an int as shown below - I'm running Python 2.3.3.

Cheers,
Wayne


Index: src/peak/util/WSGIServer.py
===================================================================
RCS file: /cvsroot/PEAK/src/peak/util/WSGIServer.py,v
retrieving revision 1.1
diff -r1.1 WSGIServer.py
152c152
<         self.send_response(code, reason)
---
 >         self.send_response(int(code), reason)


Phillip J. Eby wrote:

> There's now a more robust fix in CVS, that doesn't disable 
> double-layered laziness.  Please upgrade and let me know how it works.  
> With the new fix and Zope X3 installed, I'm able to do:
> 
> PYTHONPATH="examples/trivial_web" peak launch import:webapp.WebApp
> 
> and pull up the hello world example in my browser.  Unlike the quick 
> fix, the new fix also allows the regular tests to work properly when 
> Zope is *not* installed.
> 
> 
> At 10:27 PM 1/30/04 -0600, Wayne Larsen wrote:
> 
>> That works, I now see the hello world example.  Now to go look at the 
>> good stuff.
>>
>> Thanks,
>> Wayne
>>
>>
>> Phillip J. Eby wrote:
>>
>>> I've got a temporary fix.  Change this line (269 in peak.util.imports):
>>>     if '.' in moduleName:
>>> to read:
>>>     if 0:
> 
> 





More information about the PEAK mailing list