On 05/13/2014 10:31 PM, Mark J Bradakis wrote: > Just installed a fresh copy of 2.1.18-1. Sent a test message to a list > where dmarc_moderation_action > is set to 'munge from'. The message resulted in this error log entry: > > > May 13 23:16:25 2014 (26946) Uncaught runner exception: unsupported > operand type(s) for ^=: 'int' and 'str' > May 13 23:16:25 2014 (26946) Traceback (most recent call last): > File "/local/mailman/teamnet/Mailman/Queue/Runner.py", line 119, in > _oneloop > self._onefile(msg, msgdata) > File "/local/mailman/teamnet/Mailman/Queue/Runner.py", line 190, in > _onefile > keepqueued = self._dispose(mlist, msg, msgdata) > File "/local/mailman/teamnet/Mailman/Queue/IncomingRunner.py", line > 130, in _dispose > more = self._dopipeline(mlist, msg, msgdata, pipeline) > File "/local/mailman/teamnet/Mailman/Queue/IncomingRunner.py", line > 153, in _dopipeline > sys.modules[modname].process(mlist, msg, msgdata) > File "/local/mailman/teamnet/Mailman/Handlers/Moderate.py", line 57, > in process > if Utils.IsDMARCProhibited(mlist, addr): > File "/local/mailman/teamnet/Mailman/Utils.py", line 1085, in > IsDMARCProhibited > txt_recs = resolver.query(dmarc_domain, dns.rdatatype.TXT) > File "/usr/local/lib/python2.7/dist-packages/dns/resolver.py", line > 799, in query > request = dns.message.make_query(qname, rdtype, rdclass) > File "/usr/local/lib/python2.7/dist-packages/dns/message.py", line > 1066, in make_query > m = Message() > File "/usr/local/lib/python2.7/dist-packages/dns/message.py", line > 145, in __init__ > self.id = dns.entropy.random_16() > File "/usr/local/lib/python2.7/dist-packages/dns/entropy.py", line > 117, in random_16 > return pool.random_16() > File "/usr/local/lib/python2.7/dist-packages/dns/entropy.py", line 94, > in random_16 > return self.random_8() * 256 + self.random_8() > File "/usr/local/lib/python2.7/dist-packages/dns/entropy.py", line 80, > in random_8 > self._maybe_seed() > File "/usr/local/lib/python2.7/dist-packages/dns/entropy.py", line 76, > in _maybe_seed > self.stir(seed, True) > File "/usr/local/lib/python2.7/dist-packages/dns/entropy.py", line 56, > in stir > self.pool[self.pool_index] ^= c > TypeError: unsupported operand type(s) for ^=: 'int' and 'str'
What version of dnspython is this? It appears to be a dnspython3 version installed under Python 2.7. You need the Python 2 version of dnspython. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org