[Twisted-Python] simple dns server with twisted.names

Jesus Cea jcea at argo.es
Fri Jan 13 13:31:29 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jean-Paul Calderone wrote:
> Twisted Names isn't exactly done, as far as pleasant pluggable backend
> support goes.

A little digression from the thread. Excuse me.

Sorry to bother you, Jean-Paul. Have you had some time to look at my
pre-Christmas issue with "twisted.names.dns.DNSDatagramProtocol"?. Seems
a twisted bug with the reactor stopping. I need some help.

=====

2006/01/13 19:27 CET [twisted.names.dns.DNSDatagramProtocol (UDP)]
Traceback (most recent call last):
          File
"/usr/local/lib/python2.4/site-packages/twisted/python/log.py", line 43,
in callWithContext
            return context.call({ILogContext: newCtx}, func, *args, **kw)
          File
"/usr/local/lib/python2.4/site-packages/twisted/python/context.py", line
59, in callWithContext
            return self.currentContext().callWithContext(ctx, func,
*args, **kw)
          File
"/usr/local/lib/python2.4/site-packages/twisted/python/context.py", line
37, in callWithContext
            return func(*args,**kw)
          File
"/usr/local/lib/python2.4/site-packages/twisted/internet/selectreactor.py",
line 139, in _doReadOrWrite
            why = getattr(selectable, method)()
        --- <exception caught here> ---
          File
"/usr/local/lib/python2.4/site-packages/twisted/internet/udp.py", line
113, in doRead
            data, addr = self.socket.recvfrom(self.maxPacketSize)
        exceptions.AttributeError: 'Port' object has no attribute 'socket'

=====

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at argo.es http://www.argo.es/~jcea/ _/_/    _/_/  _/_/    _/_/  _/_/
                                      _/_/    _/_/          _/_/_/_/_/
PGP Key Available at KeyServ   _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBQ8fyAJlgi5GaxT1NAQJmOQP9F2n/uRJ70pw3XXEgbqAanG+IsfXd95Zb
XTgXkvrgnkfb4GLjwwYHwfDHdzl30MoSHBgAlRt/xqaaa2BS07m0jxoTayIQ8kSr
e2V5noWURIeu6XEG2f9AshZg7veUt/swEWFKFpMkFOU7iUIFIWnlJ1zPBcbGY2i4
bKviYdgEiWg=
=RS8A
-----END PGP SIGNATURE-----




More information about the Twisted-Python mailing list