mailman info traceback (Ubuntu Xenial)
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.
On 10/25/2017 02:06 PM, Pierre Abbat wrote:
I'm trying to set up a mailing list server using Mailman.... Here is the result:
...
KeyError: 'env_py'
What am I doing wrong, and how do I fix it?
See this thread <https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/B...>
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Wednesday, October 25, 2017 3:22:15 PM EDT Mark Sapiro wrote:
See this thread <https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/ B66VJVCQZOI24GIY5TR2RDZMVTR3HDBJ/>
Thanks! So they switched Alfred for Nestor and I applied the patch and recovered the scepter.
root@lists:/# mailman info GNU Mailman 3.1.0 (Between The Wheels) Python 3.5.2 (default, Sep 14 2017, 22:51:06) [GCC 5.4.0 20160609] config file: /var/etc/mailman.cfg db url: sqlite://///var/data/mailman.db devmode: DISABLED REST root url: http://localhost:8001/3.1/ REST credentials: restadmin:restpass
Pierre
When a barnacle settles down, its brain disintegrates. Já não percebe nada, já não percebe nada.
participants (2)
-
Mark Sapiro
-
Pierre Abbat