I'm trying to set up a mailing list server using Mailman. I created a server running Ubuntu Xenial and installed, then removed, the Mailman in the repo, which is 1:2.1.20-1ubuntu0.1. Then I installed pip and ran "pip3 install mailman" and "mailman info" and got an error with traceback. I then tried installing sass and Django following the instructions (I have no idea about sass and Django), then uninstalled and reinstalled Mailman, and tried "mailman info" again. Here is the result:
root@lists:/# mailman info Traceback (most recent call last): File "/usr/local/bin/mailman", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python3.5/dist-packages/mailman/bin/mailman.py", line 97, in main initialize(config_path) File "/usr/local/lib/python3.5/dist-packages/mailman/core/initialize.py", line 185, in initialize initialize_2(propagate_logs=propagate_logs) File "/usr/local/lib/python3.5/dist-packages/mailman/core/initialize.py", line 156, in initialize_2 config.db = getUtility(IDatabaseFactory, utility_name).create() File "/usr/local/lib/python3.5/dist-packages/mailman/database/factory.py", line 55, in create SchemaManager(database).setup_database() File "/usr/local/lib/python3.5/dist-packages/mailman/database/factory.py", line 96, in setup_database alembic.command.stamp(alembic_cfg, 'head') File "/usr/local/lib/python3.5/dist-packages/alembic/command.py", line 504, in stamp script.run_env() File "/usr/local/lib/python3.5/dist-packages/alembic/script/base.py", line 425, in run_env util.load_python_file(self.dir, 'env.py') File "/usr/local/lib/python3.5/dist-packages/alembic/util/pyfiles.py", line 81, in load_python_file module = load_module_py(module_id, path) File "/usr/local/lib/python3.5/dist-packages/alembic/util/compat.py", line 83, in load_module_py spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 665, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "/usr/local/lib/python3.5/dist-packages/mailman/database/alembic/ env.py", line 38, in <module> @public File "/usr/local/lib/python3.5/dist-packages/public/public.py", line 15, in public else sys.modules[thing.__module__].__dict__) KeyError: 'env_py'
What am I doing wrong, and how do I fix it?
Pierre
.i toljundi do .ibabo mi'afra tu'a do .ibabo damba do .ibabo do jinga .icu'u la ma'atman.