[PEAK] trivial_web on os x
Ulrich Eck
ueck at net-labs.de
Wed May 12 04:35:07 EDT 2004
Hi Wayne,
try to import peak.web.interfaces from cmd-promt,
you might see another error that's causing the
not working import.
cheers Ulrich
On Wed, 2004-05-12 at 10:01, Wayne Larsen wrote:
> 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'
>
> _______________________________________________
> PEAK mailing list
> PEAK at eby-sarna.com
> http://www.eby-sarna.com/mailman/listinfo/peak
More information about the PEAK
mailing list