[Twisted-Python] Still problems debugging with twisted...
Simon Pickles
sipickles at hotmail.com
Sun Jun 10 14:25:30 EDT 2007
Hi,
I've still got my problem with zope and twisted:
[Dbg]>>>
Traceback (most recent call last):
File "<string>", line 97, in run
File "C:\Python25\lib\bdb.py", line 366, in run
exec cmd in globals, locals
File "F:\_Dev\twisted server 20070608\SERVER.py", line 7, in <module>
import twistedServer
File "F:\_Dev\twisted server 20070608\twistedServer.py", line 4, in
<module>
from zope.interface import Interface
File "C:\Python25\lib\site-packages\zope\interface\__init__.py", line
58, in <module>
_wire()
File "C:\Python25\lib\site-packages\zope\interface\interface.py", line
936, in _wire
classImplements(Attribute, IAttribute)
File "C:\Python25\lib\site-packages\zope\interface\declarations.py",
line 464, in classImplements
spec = implementedBy(cls)
File "C:\Python25\lib\site-packages\zope\interface\declarations.py",
line 330, in implementedByFallback
if isinstance(spec, Implements):
TypeError: isinstance() arg 2 must be a class, type, or tuple of classes
and types
Strangely, if I run the python module from file or python command window
it runs perfectly fine, no tracebacks. It only crashes like this when
run within PyScripter. Very annoying since thats my favourite IDE.
I've installed zope.interface-3.3.0.1-win32.egg from the python
cheeseshop using easy_install. No Change. Still can't debug.
Thanks for your help.
Simon
_________________________________________________________________
Play your part in making history - Email Britain!
http://www.emailbritain.co.uk/
More information about the Twisted-Python
mailing list