[PEAK] trivial_web on os x
Wayne Larsen
wayne at larsen.st
Wed May 12 04:01:37 EDT 2004
I just got a mac, and I'm trying to set up PEAK in this environment.
It's 10.3 with the default Python install (2.3). Running trivial_cgi
works fine, as does the bulletins example. However, trivial_web is
causing me problems, with the following stacktrace. This doesn't make
much sense to me, since IWebInteraction is definately defined in
peak.web.interfaces, but then I don't claim to understand the import
voodoo happening here.
Any ideas?
Thanks,
Wayne
Traceback (most recent call last):
...
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/peak/running/commands.py", line 932, in
interpret
cgi = adapt(ob, IRerunnableCGI, None)
File "C:\cygwin\home\pje\PyProtocols\src/protocols/_speedups.pyx",
line 170, in _speedups.adapt
File "C:\cygwin\home\pje\PyProtocols\src/protocols/_speedups.pyx",
line 378, in _speedups.Protocol__adapt__
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/peak/running/interfaces.py", line 153, in
CGIFromComponent
from peak.web.publish import CGIPublisher
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/peak/web/publish.py", line 4, in ?
from interfaces import *
AttributeError: 'LazyModule' object has no attribute 'IWebInteraction'
More information about the PEAK
mailing list