[Bug 1411435] Re: installing: TypeError: Can't convert 'NoneType' object to str implicitly
Sumana Harihareswara
1411435 at bugs.launchpad.net
Fri Jan 16 03:11:45 CET 2015
Was able to troubleshoot this a little. This problem happens when
Mailman cannot find a config file. And so the execv function is
expecting a string (the filename) and can't deal with the None.
When I ran "mailman info" I initially got "config file: None" but then
on later tries the line said "config file:
/home/sumanah/repos/mailman/src/mailman/var/etc/mailman.cfg". It seems
that running "mailman info" can make the config file for me.
Just now I tried running "mailman info" and then "mailman start" in a
virtualenv in which Python 3 was the default Python, and that seemed to
help a lot.
mkdir venv
virtualenv -p python3 venv/
source venv/bin/activate
cd repos/mailman
python setup.py install
mailman start # got the TypeError I mentioned in my initial bug report
mailman info # told me that config file: /home/sumanah/repos/mailman/var/etc/mailman.cfg
mailman start # this time it worked!
Much thanks to Leonard Richardson for assiduous assistance.
** Summary changed:
- installing: TypeError: Can't convert 'NoneType' object to str implicitly
+ after initial install, master runner crashes when config file is missing
--
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1411435
Title:
after initial install, master runner crashes when config file is
missing
To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1411435/+subscriptions
More information about the Mailman-coders
mailing list