
I installed mailman and have those message:
/usr/lib/mailman/bin/check_db --all --verbose
Traceback (most recent call last):
File "/usr/lib/mailman/bin/check_db", line 61, in <module>
from Mailman.MailList import MailList
File "/usr/lib/mailman/Mailman/MailList.py", line 51, in <module>
from Mailman.Archiver import Archiver
File "/usr/lib/mailman/Mailman/Archiver/__init__.py", line 17, in <module>
from Archiver import *
File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 37, in <module>
from Mailman.i18n import _
File "/usr/lib/mailman/Mailman/i18n.py", line 36, in <module>
_ctype_charset = _get_ctype_charset()
File "/usr/lib/mailman/Mailman/i18n.py", line 31, in _get_ctype_charset
old = locale.setlocale(locale.LC_CTYPE, '')
File "/usr/lib/python2.6/locale.py", line 513, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
Service is stopped. It can not start anyway. Some help please?

On 05/16/2015 06:55 PM, Ricardo Santos wrote:
I installed mailman and have those message:
/usr/lib/mailman/bin/check_db --all --verbose
Traceback (most recent call last): ... File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 37, in <module>
from Mailman.i18n import _
File "/usr/lib/mailman/Mailman/i18n.py", line 36, in <module>
_ctype_charset = _get_ctype_charset()
Something is wrong here. The Mailman/i18n.py distributed by the GNU Mailman project does not anything like the above line.
How did you install Mailman? Where did /usr/lib/mailman/Mailman/i18n.py come from? If this is a 'package', see <http://wiki.list.org/x/12812344>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Thanks Mark for you answer. I installed from a tutorial with this command (Centos 6.6)
yum --enablerepo=remi install mailman (Ver 3:2.1.12-18.el6 )
2015-05-17 11:54 GMT-04:00 Mark Sapiro <mark@msapiro.net>:
On 05/16/2015 06:55 PM, Ricardo Santos wrote:
I installed mailman and have those message:
/usr/lib/mailman/bin/check_db --all --verbose
Traceback (most recent call last): ... File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 37, in <module>
from Mailman.i18n import _
File "/usr/lib/mailman/Mailman/i18n.py", line 36, in <module>
_ctype_charset = _get_ctype_charset()
Something is wrong here. The Mailman/i18n.py distributed by the GNU Mailman project does not anything like the above line.
How did you install Mailman? Where did /usr/lib/mailman/Mailman/i18n.py come from? If this is a 'package', see <http://wiki.list.org/x/12812344>.
-- Mark Sapiro <mark@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/ericardosantos%40gmail...

On 05/18/2015 05:32 AM, Ricardo Santos wrote:
Thanks Mark for you answer. I installed from a tutorial with this command (Centos 6.6)
yum --enablerepo=remi install mailman (Ver 3:2.1.12-18.el6 )
OK, but the /usr/lib/mailman/Mailman/i18n.py file in your installed Mailman doesn't look like the one distributed by GNU Mailman nor does it look like the one from RHEL 5 that I happen to have.
So either something went wrong with your package install, or you will have to pursue this with Red Hat/Centos.
Or, you could try downliading i18n.py from <http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/i...> and replacing yours with that. That will probably get you past the current issue, but there may be other things wrong.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Download from "http://ftp.gnu.org/gnu/mailman/mailman-2.1.20.tgz" but have error again:
# /var/lib/mailman/bin/newlist
Traceback (most recent call last):
File "/var/lib/mailman/bin/newlist", line 108, in <module>
from Mailman import MailList
File "/var/lib/mailman/Mailman/MailList.py", line 45, in <module>
from Mailman import Utils
File "/var/lib/mailman/Mailman/Utils.py", line 75, in <module>
import dns.resolver
File "/usr/lib/python2.6/site-packages/dns/resolver.py", line 35, in <module>
import dns.message
File "/usr/lib/python2.6/site-packages/dns/message.py", line 191
print('id %d' % self.id, file=s)
^
SyntaxError: invalid syntax
2015-05-19 0:30 GMT-04:00 Mark Sapiro <mark@msapiro.net>:
On 05/18/2015 05:32 AM, Ricardo Santos wrote:
Thanks Mark for you answer. I installed from a tutorial with this command (Centos 6.6)
yum --enablerepo=remi install mailman (Ver 3:2.1.12-18.el6 )
OK, but the /usr/lib/mailman/Mailman/i18n.py file in your installed Mailman doesn't look like the one distributed by GNU Mailman nor does it look like the one from RHEL 5 that I happen to have.
So either something went wrong with your package install, or you will have to pursue this with Red Hat/Centos.
Or, you could try downliading i18n.py from < http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/i...
and replacing yours with that. That will probably get you past the current issue, but there may be other things wrong.
-- Mark Sapiro <mark@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/ericardosantos%40gmail...

On 05/26/2015 08:56 PM, Ricardo Santos wrote:
Download from "http://ftp.gnu.org/gnu/mailman/mailman-2.1.20.tgz" but have error again:
# /var/lib/mailman/bin/newlist
Traceback (most recent call last):
... File "/usr/lib/python2.6/site-packages/dns/message.py", line 191
print('id %d' % self.id, file=s) ^
SyntaxError: invalid syntax
It appears you have installed a Python 3 versipn of dnspython in Python 2.6
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Ricardo Santos