[Twisted-web] documentation -- Techno Turkey's fifth adventure

lloyd at paisite.com lloyd at paisite.com
Fri Jul 28 14:42:44 CDT 2006


Hi Valentino,

On Thu, July 27, 2006 1:38 pm, Valentino Volonghi aka Dialtone wrote:

> This is right. Nevow and the new Twisted do require zope.interface to
> work. It's is present in all ubuntu configurations and I think also
> debian's.

I've loaded python2.3-zopeinterface from Debian repository and, in my
devel system, have renamed ResourceMagic.py ResourceMagic.tac.

Now when I run twistd -noy ResourceMagic.tac I get the error shown below.
Can't figure out how to track it down.

Thanks,

Lloyd


2006/07/28 15:29 EDT [-] Log opened.
2006/07/28 15:29 EDT [-] twistd 1.3.0rc1 (/usr/bin/python2.3 2.3.5)
starting up
2006/07/28 15:29 EDT [-] reactor class:
twisted.internet.default.SelectReactor
2006/07/28 15:29 EDT [-] Loading ResourceMagic.tac...
2006/07/28 15:29 EDT [-] Traceback (most recent call last):
2006/07/28 15:29 EDT [-] File
"/usr/lib/python2.3/site-packages/twisted/application/app.py", line 123,
in getApplication
2006/07/28 15:29 EDT [-] application = service.loadApplication(filename,
style, passphrase)
2006/07/28 15:29 EDT [-] File
"/usr/lib/python2.3/site-packages/twisted/application/service.py", line
319, in loadApplication
2006/07/28 15:29 EDT [-] application = sob.loadValueFromFile(filename,
'application', passphrase)
2006/07/28 15:29 EDT [-]   File
"/usr/lib/python2.3/site-packages/twisted/persisted/sob.py", line 213, in
loadValueFromFile
2006/07/28 15:29 EDT [-] exec data in d, d
2006/07/28 15:29 EDT [-] File "<string>", line 11, in ?
2006/07/28 15:29 EDT [-] File
"/usr/lib/python2.3/site-packages/zope/interface/advice.py", line 132, in
advise
2006/07/28 15:29 EDT [-] return callback(newClass)
2006/07/28 15:29 EDT [-] File
"/usr/lib/python2.3/site-packages/zope/interface/declarations.py", line
550, in _implements_advice
2006/07/28 15:29 EDT [-] classImplements(cls, *interfaces)
2006/07/28 15:29 EDT [-] File
"/usr/lib/python2.3/site-packages/zope/interface/declarations.py", line
527, in classImplements
2006/07/28 15:29 EDT [-] spec.declared += tuple(_normalizeargs(interfaces))
2006/07/28 15:29 EDT [-] File
"/usr/lib/python2.3/site-packages/zope/interface/declarations.py", line
1345, in _normalizeargs
2006/07/28 15:29 EDT [-] _normalizeargs(v, output)
2006/07/28 15:29 EDT [-] File
"/usr/lib/python2.3/site-packages/zope/interface/declarations.py", line
1344, in _normalizeargs
2006/07/28 15:29 EDT [-] for v in sequence:
2006/07/28 15:29 EDT [-] TypeError: iteration over non-sequence
2

traceback...
...bunch of stuff...

File "/usr/lib/python2.3/site-packages/zope/interface/advice.py", line
132, in advise
return callback(newClass)
File "/usr/lib/python2.3/site-packages/zope/interface/declarations.py",
line 550, in _implements_advice
classImplements(cls, *interfaces)
File "/usr/lib/python2.3/site-packages/zope/interface/declarations.py",
line 527, in classImplements spec.declared +=
tuple(_normalizeargs(interfaces))
File "/usr/lib/python2.3/site-packages/zope/interface/declarations.py",
line 1345, in _normalizeargs_normalizeargs(v, output)
File "/usr/lib/python2.3/site-packages/zope/interface/declarations.py",
line 1344, in _normalizeargs for v in sequence: exceptions.TypeError:
iteration over non-sequence

Failed to load application: iteration over non-sequence






More information about the Twisted-web mailing list