[Twisted-Python] ImportError: cannot import name dns
![](https://secure.gravatar.com/avatar/587124849750c0875eaf2485b85829ae.jpg?s=120&d=mm&r=g)
Hello all, I have just started to work with Twisted and am having some difficulty with 1.0.1. (I am not a Python veteran either ;) I downloaded the latest Twisted release for Win32 (Twisted-1.0.1.win32-py2.2.exe). It installed fine. But when running the 'coil' script, I receive the following error: ======================= Traceback (most recent call last): File "coil.py", line 30, in ? run() File "C:\Python22\Lib\site-packages\twisted\scripts\coil.py", line 89, in run p.load() File "C:\Python22\Lib\site-packages\twisted\python\plugin.py", line 40, in load return namedModule(self.module) File "C:\Python22\Lib\site-packages\twisted\python\reflect.py", line 372, in namedModule topLevel = __import__(name) File "C:\Python22\Lib\site-packages\twisted\coil\plugins\names.py", line 21, in ? from twisted.names import dns ImportError: cannot import name dns ============================= In the directory twisted.names, there isn't a dns.py. It's not in the UNIX build either. Downloaded 1.0.0, and the dns.py is there. It runs fine. Do you have to install 1.0.0 and then 1.0.1 over it? Thanks for any help in advance, Tony __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
![](https://secure.gravatar.com/avatar/433365de0f787faa3ed3e6dd1da5884f.jpg?s=120&d=mm&r=g)
On Thu, 28 Nov 2002 16:31:59 +0000 (GMT) Tony Blake <tonyblake2003@yahoo.co.uk> wrote:
Coil was more proof of concept than actual working program, so no one actually bothers to check if it's broken. We probably ought to either do that, remove it, or better yet rewrite from scratch. Volunteers? -- Itamar Shtull-Trauring http://itamarst.org/ Available for Python, Twisted, Zope and Java consulting ***> http://VoteNoWar.org -- vote/donate/volunteer <***
![](https://secure.gravatar.com/avatar/e1554622707bedd9202884900430b838.jpg?s=120&d=mm&r=g)
On Thu, 28 Nov 2002 12:57:26 -0500, Itamar Shtull-Trauring <twisted@itamarst.org> wrote:
A few thoughts: If anyone is interested in volunteering to do this, an important component of the rewrite is that it should use Woven. Also: the tree ought to be collapsable, and the distinction between "static" and "dynamic" entity lists should be removed. (There may still be a useful distinction of "entities which can be removed without impacting an external resource". It's pretty clear that the current approach is not the way to go, though, since it creates a useless distinction in most cases and bloats an interface that should be small and simple.) -- | <`'> | Glyph Lefkowitz: Travelling Sorcerer | | < _/ > | Lead Developer, the Twisted project | | < ___/ > | http://www.twistedmatrix.com |
![](https://secure.gravatar.com/avatar/433365de0f787faa3ed3e6dd1da5884f.jpg?s=120&d=mm&r=g)
On Thu, 28 Nov 2002 16:31:59 +0000 (GMT) Tony Blake <tonyblake2003@yahoo.co.uk> wrote:
Coil was more proof of concept than actual working program, so no one actually bothers to check if it's broken. We probably ought to either do that, remove it, or better yet rewrite from scratch. Volunteers? -- Itamar Shtull-Trauring http://itamarst.org/ Available for Python, Twisted, Zope and Java consulting ***> http://VoteNoWar.org -- vote/donate/volunteer <***
![](https://secure.gravatar.com/avatar/e1554622707bedd9202884900430b838.jpg?s=120&d=mm&r=g)
On Thu, 28 Nov 2002 12:57:26 -0500, Itamar Shtull-Trauring <twisted@itamarst.org> wrote:
A few thoughts: If anyone is interested in volunteering to do this, an important component of the rewrite is that it should use Woven. Also: the tree ought to be collapsable, and the distinction between "static" and "dynamic" entity lists should be removed. (There may still be a useful distinction of "entities which can be removed without impacting an external resource". It's pretty clear that the current approach is not the way to go, though, since it creates a useless distinction in most cases and bloats an interface that should be small and simple.) -- | <`'> | Glyph Lefkowitz: Travelling Sorcerer | | < _/ > | Lead Developer, the Twisted project | | < ___/ > | http://www.twistedmatrix.com |
participants (3)
-
Glyph Lefkowitz
-
Itamar Shtull-Trauring
-
Tony Blake