[PEAK] Does a PEAK-ized webware esist ?
wayne at larsen.st
wayne at larsen.st
Fri Jan 30 18:24:58 EST 2004
Thank you very much for that lengthy explanation. That gives me a
framework for understanding, or at least beginning to understand what's
going on. Your email didn't serve its purpose of scaring me off, so
instead I'll try to see if I can get something running. As a result I may
be asking some stupid questions.
In the meantime though, I tried again to get the trivial_web example
going. cgi runs, but when I run the trivial web example, I get the
following traceback. This is the same with both ZopeX3 M3, and ZopeX3
cvs.
Thanks,
Wayne
Traceback (most recent call last):
File "/usr/bin/peak", line 3, in ?
from peak.running import commands
File "/usr/lib/python2.3/site-packages/peak/running/commands.py", line
124, in ?
class AbstractCommand(binding.Component):
File "/usr/lib/python2.3/site-packages/peak/running/commands.py", line
133, in AbstractCommand
argv = binding.Obtain('import:sys:argv')
File "/usr/lib/python2.3/site-packages/peak/binding/components.py", line
520, in __init__
self.targetName = adapt(targetName, IComponentKey)
File "C:\cygwin\home\pje\PyProtocols\src/protocols/_speedups.pyx", line
175, in _speedups.adapt
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 "/usr/lib/python2.3/site-packages/peak/binding/components.py", line
374, in <lambda>
lambda ob, proto: toName(ob, ComponentName, 1),
File "/usr/lib/python2.3/site-packages/peak/naming/names.py", line 306,
in toName
import URL
File "/usr/lib/python2.3/site-packages/peak/naming/URL.py", line 9, in ?
from peak.model.elements import Struct
File "/usr/lib/python2.3/site-packages/peak/model/elements.py", line 17,
in ?
from peak.persistence import Persistent
File "/usr/lib/python2.3/site-packages/peak/persistence.py", line 13, in ?
Persistent = importString('persistence:Persistent', md)
File "/usr/lib/python2.3/site-packages/peak/util/imports.py", line 79,
in importString
item = __import__('.'.join(path), globalDict, globalDict, ['__name__'])
File "/d/src/python/z/ZopeX3-0.0m3/src/persistence/__init__.py", line
16, in ?
from persistence._persistence import Persistent
File "/d/src/python/z/ZopeX3-0.0m3/src/persistence/interfaces.py", line
14, in ?
from zope.interface import Interface
File "/d/src/python/z/ZopeX3-0.0m3/src/zope/interface/__init__.py", line
93, in ?
moduleProvides(IInterfaceDeclaration)
File "/d/src/python/z/ZopeX3-0.0m3/src/zope/interface/declarations.py",
line 1258, in moduleProvides
raise TypeError(
TypeError: moduleProvides can only be used once in a module definition.
More information about the PEAK
mailing list