[Mailman-Developers] Problems with mailman3 installation via bundler

Take take at nerd.fi
Thu Oct 1 21:20:59 CEST 2015


Hello,

I already posted details from my experiences with mailman3 to 
users-lists where Mark Sapiro suggested that I should post my questions 
to dev-list instead.

So, long story short, I installed mailman3 via bundler and can access 
both postorius and hyperkitty via web browser. Additionally I can both 
join and leave the list, access help via email etc, so installation 
seems to be in order.

However, I'm in a situation where posts I send don't end up on mailing 
list and replies end up shunted. On the log file I get this:

Oct 01 22:03:21 2015 (12225) SHUNTING: 
1443726201.2465158+c8d546daa806696842da9fd07724ed6738b30854
Oct 01 22:03:21 2015 (12225) Uncaught runner exception:
Oct 01 22:03:21 2015 (12225) Traceback (most recent call last):
   File 
"/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/core/runner.py", 
line 165, in _one_iteration
     self._process_one_file(msg, msgdata)
   File 
"/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/core/runner.py", 
line 258, in _process_one_file
     keepqueued = self._dispose(mlist, msg, msgdata)
   File 
"/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/runners/incoming.py", 
line 63, in _dispose
     process(mlist, msg, msgdata, start_chain)
   File 
"/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/core/chains.py", 
line 86, in process
     link.function(mlist, msg, msgdata)
   File 
"/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/chains/hold.py", 
line 182, in _process
     autorespond_to_sender(mlist, msg.sender, language)):
   File 
"/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/chains/hold.py", 
line 83, in autorespond_to_sender
     address = user_manager.create_address(sender)
   File 
"/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/database/transaction.py", 
line 92, in wrapper
     return function(args[0], config.db.store, *args[1:], **kws)
   File 
"/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/model/usermanager.py", 
line 110, in create_address
     address = Address(email, display_name)
   File "<string>", line 4, in __init__
   File 
"/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/sqlalchemy/orm/state.py", 
line 306, in _initialize_instance
     manager.dispatch.init_failure(self, args, kwargs)
   File 
"/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/sqlalchemy/util/langhelpers.py", 
line 60, in __exit__
     compat.reraise(exc_type, exc_value, exc_tb)
   File 
"/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/sqlalchemy/util/compat.py", 
line 182, in reraise
     raise value
   File 
"/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/sqlalchemy/orm/state.py", 
line 303, in _initialize_instance
     return manager.original_init(*mixed[1:], **kwargs)
   File 
"/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/model/address.py", 
line 59, in __init__
     getUtility(IEmailValidator).validate(email)
   File 
"/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/email/validate.py", 
line 65, in validate
     raise InvalidEmailAddressError(email)
mailman.interfaces.address.InvalidEmailAddressError


On validate.py I added logging to see what seems to be the problem with 
address, to validate-function:

from distutils import log
log.error("Validating address -> " + email)
if not self.is_valid(email):
...

It appears that variable email is empty at that point, for some reason. 
I tried to search the problem via google but came up empty. At this 
point I'd be willing to say that I have encountered a bug, but I'm not 
competent enough with python to actually verify the situation.

-- 
Take


More information about the Mailman-Developers mailing list