[GH-ISSUE #1639] automx_wsgi.py: No module named html #1290

Closed
opened 2026-02-27 11:16:19 +03:00 by kerem · 3 comments
Owner

Originally created by @Meistercoach83 on GitHub (Dec 21, 2018).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1639

Hey! I don´t know if it´s a bug or my config is not working, but I see the following error in automx_instance.log:

Fri Dec 21 11:25:28 2018 - Python version: 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]
Fri Dec 21 11:25:28 2018 - Set PythonHome to /srv/automx/env
Fri Dec 21 11:25:28 2018 - *** Python threads support is disabled. You can enable it with --enable-threads ***
Fri Dec 21 11:25:28 2018 - Python main interpreter initialized at 0x55ddfd72d2b0
Fri Dec 21 11:25:28 2018 - dropping root privileges after plugin initialization
Fri Dec 21 11:25:28 2018 - your server socket listen backlog is limited to 100 connections
Fri Dec 21 11:25:28 2018 - your mercy for graceful operations on workers is 60 seconds
Fri Dec 21 11:25:28 2018 - mapped 218304 bytes (213 KB) for 2 cores
Fri Dec 21 11:25:28 2018 - *** Operational MODE: preforking ***
Traceback (most recent call last):
File "./automx_wsgi.py", line 29, in
from html import escape
ImportError: No module named html

What does that error mean / how can I solve the problem?

When I do an pip install html I get the following log:
Requirement already satisfied: html in /srv/modoboa/instance/env/lib/python2.7/site-packages (1.16)

Question: Is that the right directory? shouldn´t it be somewhere like /srv/automx/?

Originally created by @Meistercoach83 on GitHub (Dec 21, 2018). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1639 Hey! I don´t know if it´s a bug or my config is not working, but I see the following error in automx_instance.log: > Fri Dec 21 11:25:28 2018 - Python version: 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0] Fri Dec 21 11:25:28 2018 - Set PythonHome to /srv/automx/env Fri Dec 21 11:25:28 2018 - *** Python threads support is disabled. You can enable it with --enable-threads *** Fri Dec 21 11:25:28 2018 - Python main interpreter initialized at 0x55ddfd72d2b0 Fri Dec 21 11:25:28 2018 - dropping root privileges after plugin initialization Fri Dec 21 11:25:28 2018 - your server socket listen backlog is limited to 100 connections Fri Dec 21 11:25:28 2018 - your mercy for graceful operations on workers is 60 seconds Fri Dec 21 11:25:28 2018 - mapped 218304 bytes (213 KB) for 2 cores Fri Dec 21 11:25:28 2018 - *** Operational MODE: preforking *** Traceback (most recent call last): File "./automx_wsgi.py", line 29, in <module> from html import escape ImportError: No module named html What does that error mean / how can I solve the problem? When I do an pip install html I get the following log: Requirement already satisfied: html in /srv/modoboa/instance/env/lib/python2.7/site-packages (1.16) Question: Is that the right directory? shouldn´t it be somewhere like /srv/automx/?
kerem closed this issue 2026-02-27 11:16:20 +03:00
Author
Owner

@tonioo commented on GitHub (Dec 21, 2018):

@Meistercoach83 How did you install modoboa?

<!-- gh-comment-id:449367635 --> @tonioo commented on GitHub (Dec 21, 2018): @Meistercoach83 How did you install modoboa?
Author
Owner

@Meistercoach83 commented on GitHub (Dec 21, 2018):

I installed it manually

<!-- gh-comment-id:449390286 --> @Meistercoach83 commented on GitHub (Dec 21, 2018): I installed it manually
Author
Owner

@tonioo commented on GitHub (Jan 21, 2019):

@Meistercoach83 I guess you forgot to install automx requirements. Since you did not use the installer, I suggest you ask your question to the automx team.

<!-- gh-comment-id:456023351 --> @tonioo commented on GitHub (Jan 21, 2019): @Meistercoach83 I guess you forgot to install automx requirements. Since you did not use the installer, I suggest you ask your question to the automx team.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1290
No description provided.