Your message dated Wed, 19 Jul 2006 13:50:37 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#378459: fixed in python-formencode 0.5.1-4 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: formencode Severity: normal Tags: patch Hello, There is a problem with the validators module in formencode. Indeed, when you use the parameter 'resolve_domain=True' for the Email validator, it doesn't work at all when your DNS server isn't available or if there is a problem with the socket. It should catch this exception and raises 'Invalid' exception IMHO. The traceback : >>> import formencode >>> e = formencode.validators.Email(resolve_domain=True) >>> e.to_python('[EMAIL PROTECTED]') Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.4/site-packages/formencode/api.py", line 319, in to_python vp(value, state) File "/usr/lib/python2.4/site-packages/formencode/validators.py", line 1176, in validate_python domains = mxlookup(splitted[1]) File "/var/lib/python-support/python2.4/DNS/lazy.py", line 26, in mxlookup a = Base.DnsRequest(name, qtype = 'mx').req().answers File "/var/lib/python-support/python2.4/DNS/Base.py", line 173, in req self.sendUDPRequest(server) File "/var/lib/python-support/python2.4/DNS/Base.py", line 189, in sendUDPRequest self.conn() File "/var/lib/python-support/python2.4/DNS/Base.py", line 137, in conn self.s.connect((self.ns,self.port)) File "<string>", line 1, in connect socket.error: (101, 'Network is unreachable') I am using my patch since about two days and it works fine. Feel free to send me a mail if you need further informations. Regards, Arnaud Fontaine -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17.4-maggie Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
--- End Message ---
--- Begin Message ---Source: python-formencode Source-Version: 0.5.1-4 We believe that the bug you reported is fixed in the latest version of python-formencode, which is due to be installed in the Debian FTP archive: python-formencode_0.5.1-4.diff.gz to pool/main/p/python-formencode/python-formencode_0.5.1-4.diff.gz python-formencode_0.5.1-4.dsc to pool/main/p/python-formencode/python-formencode_0.5.1-4.dsc python-formencode_0.5.1-4_all.deb to pool/main/p/python-formencode/python-formencode_0.5.1-4_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Fabio Tranchitella <[EMAIL PROTECTED]> (supplier of updated python-formencode package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Wed, 19 Jul 2006 20:53:08 +0200 Source: python-formencode Binary: python-formencode Architecture: source all Version: 0.5.1-4 Distribution: unstable Urgency: low Maintainer: Fabio Tranchitella <[EMAIL PROTECTED]> Changed-By: Fabio Tranchitella <[EMAIL PROTECTED]> Description: python-formencode - validation and form generation python package Closes: 378459 Changes: python-formencode (0.5.1-4) unstable; urgency=low . * debian/patches/email_validator.dpatch: exception not catched, applied patch from Arnaud Fontaine <[EMAIL PROTECTED]>, applied upstream in r1828. (Closes: #378459) Files: 676cd643f4192ed6fc3dc4a641728499 803 python optional python-formencode_0.5.1-4.dsc 8e3e409ff7bd8a6bbc8c7b9cfa94fc75 3652 python optional python-formencode_0.5.1-4.diff.gz 98629efbf8e645a4b284dcf8b82b7dcb 177976 python optional python-formencode_0.5.1-4_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEvn/XK/juK3+WFWQRAlL6AJ9qfwArBcpxLN+7UXJLfL3zofqaVACeOMQ6 aSqUzehhADabDds+GV89bTk= =Lv7y -----END PGP SIGNATURE-----
--- End Message ---

