Hi,

I have installed Twisted-2.5.0 and the zope.interface-3.3.0 that comes with this package. I then tried to follow some introductory steps on the web site and downloaded the simple.py example. When I execute 'twistd -ny simple.py' I obtain the output below informing me that I am missing Interface. Everything seems to be installed correctly. Is there some simple step I have overlooked?

Thanks

2007/06/16 11:14 +0200 [-] Log opened.
2007/06/16 11:14 +0200 [-] twistd 2.5.0 (/usr/bin/python 2.5.1) starting up
2007/06/16 11:14 +0200 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
2007/06/16 11:14 +0200 [-] Loading simple.py...
2007/06/16 11:14 +0200 [-] Traceback (most recent call last):
2007/06/16 11:14 +0200 [-] File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 218, in getApplication 2007/06/16 11:14 +0200 [-] application = service.loadApplication(filename, style, passphrase) 2007/06/16 11:14 +0200 [-] File "/usr/lib/python2.5/site-packages/twisted/application/service.py", line 341, in loadApplication 2007/06/16 11:14 +0200 [-] application = sob.loadValueFromFile(filename, 'application', passphrase) 2007/06/16 11:14 +0200 [-] File "/usr/lib/python2.5/site-packages/twisted/persisted/sob.py", line 215, in loadValueFromFile
2007/06/16 11:14 +0200 [-]     exec fileObj in d, d
2007/06/16 11:14 +0200 [-]   File "simple.py", line 1, in <module>
2007/06/16 11:14 +0200 [-] from twisted.web2 import server, http, resource, channel 2007/06/16 11:14 +0200 [-] File "/usr/lib/python2.5/site-packages/twisted/web2/server.py", line 25, in <module> 2007/06/16 11:14 +0200 [-] from twisted.web2 import http, iweb, fileupload, responsecode 2007/06/16 11:14 +0200 [-] File "/usr/lib/python2.5/site-packages/twisted/web2/http.py", line 27, in <module>
2007/06/16 11:14 +0200 [-]     from twisted.web2 import iweb
2007/06/16 11:14 +0200 [-] File "/usr/lib/python2.5/site-packages/twisted/web2/iweb.py", line 58, in <module> 2007/06/16 11:14 +0200 [-] class IOldNevowResource(components.Interface): 2007/06/16 11:14 +0200 [-] AttributeError: 'module' object has no attribute 'Interface' 2007/06/16 11:14 +0200 [-] Failed to load application: 'module' object has no attribute 'Interface'
2007/06/16 11:14 +0200 [-] Unhandled Error
      Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 379, in run
          runApp(config)
File "/usr/lib/python2.5/site-packages/twisted/scripts/twistd.py", line 23, in runApp
          _SomeApplicationRunner(config).run()
File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 157, in run
          self.application = self.createOrGetApplication()
File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 207, in createOrGetApplication
          application = getApplication(self.config, passphrase)
      --- <exception caught here> ---
File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 218, in getApplication application = service.loadApplication(filename, style, passphrase) File "/usr/lib/python2.5/site-packages/twisted/application/service.py", line 341, in loadApplication application = sob.loadValueFromFile(filename, 'application', passphrase) File "/usr/lib/python2.5/site-packages/twisted/persisted/sob.py", line 215, in loadValueFromFile
          exec fileObj in d, d
        File "simple.py", line 1, in <module>
          from twisted.web2 import server, http, resource, channel
File "/usr/lib/python2.5/site-packages/twisted/web2/server.py", line 25, in <module>
          from twisted.web2 import http, iweb, fileupload, responsecode
File "/usr/lib/python2.5/site-packages/twisted/web2/http.py", line 27, in <module>
          from twisted.web2 import iweb
File "/usr/lib/python2.5/site-packages/twisted/web2/iweb.py", line 58, in <module>
          class IOldNevowResource(components.Interface):
exceptions.AttributeError: 'module' object has no attribute 'Interface'


Failed to load application: 'module' object has no attribute 'Interface'
2007/06/16 11:14 +0200 [-]

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to