mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 09:26:00 +03:00
[GH-ISSUE #810] deploy fail #723
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#723
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wangshunping on GitHub (Dec 7, 2015).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/810
Originally assigned to: @tonioo on GitHub.
I install this repo by pip.
when i deploy this , there is error message.
How can i fix it ?
@tonioo commented on GitHub (Dec 8, 2015):
Looking at you example, you've not replied to the hostname question, right ?
@RobinVanCauter commented on GitHub (Dec 9, 2015):
I'm experiencing the same issue and I did reply to the question (as did he, with localhost), I replied with my external hostname, but it says it can't recognize the argument supplied (the hostname), looks like a bug in the script to me
@tonioo commented on GitHub (Dec 9, 2015):
@T-Grave Which OS ?
@RobinVanCauter commented on GitHub (Dec 9, 2015):
Ubuntu 14.04
@bigdocloud commented on GitHub (Mar 19, 2018):
Hi guys, not sure if it is a bug. It is a fresh env: python3.5.4 + modoboa1.10.3
It fails when running deploy instance command:
$ modoboa-admin.py deploy instance --collectstatic --domain mail.peop.com --dburl default:postgres://dev:dev@localhost:5432/peopmail
Traceback (most recent call last):
File "/home/dd/anaconda3/envs/py35mail/bin/modoboa-admin.py", line 9, in
handle_command_line()
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/modoboa/core/commands/init.py", line 87, in handle_command_line
commands = scan_for_commands()
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/modoboa/core/commands/init.py", line 70, in scan_for_commands
[smart_str(cmdname)])
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/modoboa/core/commands/deploy.py", line 27, in
import pip
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/pip/init.py", line 45, in
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/pip/vcs/mercurial.py", line 9, in
from pip.download import path_to_url
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/pip/download.py", line 40, in
from pip._vendor import requests, six
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/pip/_vendor/requests/init.py", line 98, in
from . import packages
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/pip/_vendor/requests/packages.py", line 12, in
sys.modules['pip._vendor.requests.packages.' + mod] = sys.modules["pip._vendor." + mod]
KeyError: 'pip._vendor.urllib3.contrib'
any idea about this failure? many thanks.
@bigdocloud commented on GitHub (Mar 19, 2018):
even the deploy help command, it generates similar errors:
$ modoboa-admin.py help deploy
Traceback (most recent call last):
File "/home/dd/anaconda3/envs/py35mail/bin/modoboa-admin.py", line 9, in
handle_command_line()
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/modoboa/core/commands/init.py", line 87, in handle_command_line
commands = scan_for_commands()
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/modoboa/core/commands/init.py", line 70, in scan_for_commands
[smart_str(cmdname)])
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/modoboa/core/commands/deploy.py", line 27, in
import pip
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/pip/init.py", line 45, in
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/pip/vcs/mercurial.py", line 9, in
from pip.download import path_to_url
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/pip/download.py", line 40, in
from pip._vendor import requests, six
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/pip/_vendor/requests/init.py", line 98, in
from . import packages
File "/home/dd/anaconda3/envs/py35mail/lib/python3.5/site-packages/pip/_vendor/requests/packages.py", line 12, in
sys.modules['pip._vendor.requests.packages.' + mod] = sys.modules["pip._vendor." + mod]
KeyError: 'pip._vendor.urllib3.contrib'