admin(13907): ImportError: No module named DNS admin(13907): [----- Python Information -----] admin(13907): sys.version = 2.7.3 (default, Jan 2 2013, 13:56:14) [GCC 4.7.2] admin(13907): sys.executable = /usr/bin/python admin(13907): sys.prefix = /usr admin(13907): sys.exec_prefix = /usr admin(13907): sys.path = ['/usr/local/mailman-2.1.17/pythonlib', '/usr/local/mailman-2.1.17', '/usr/local/mailman-2.1.17/scripts', '/usr/local/mailman-2.1.17', '/usr/lib/python2.7/', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/site-packages'] admin(13907): sys.platform = linux2
AFAICS, it seems like Utils.py isn't locating the system wide python-dns library.
Correct. sys.path does not include /usr/lib/python2.7/dist-packages/
How do I modify the sys.path to include python-dns under /usr/lib/python2.7/dist-packages?
sys.path.append('/usr/lib/python2.7/dist-packages/') However, this should not be necessary as '/usr/lib/python2.7/dist-packages/' should already be included in sys.path. Why it isn't is a Python question, but /usr/lib/python2.7/site.py which is normally executed during python startup should put it there. What do you see if you invoke an interactive python session and import sys and print sys.path as in $ python Python 2.7.5+ (default, Feb 27 2014, 19:37:08) [GCC 4.8.1] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import sys print sys.path ['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol']
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1287604 Title: Enhancement: Sanity Check Subscribers MX Record To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1287604/+subscriptions