Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coqtail will not start server #239

Closed
CTHULHU-Jesus opened this issue Nov 5, 2021 · 1 comment
Closed

Coqtail will not start server #239

CTHULHU-Jesus opened this issue Nov 5, 2021 · 1 comment

Comments

@CTHULHU-Jesus
Copy link

I get this error when I do CoqStart. I don't know why.

Error detected while processing function coqtail#start[6]..coqtail#init[2]..provider#python3#Call: line 18: Error invoking 'python_eval' on channel 3 (python3-script-host): error caught in request handler 'python_eval ['CoqtailServer.start_server(bool(0))']': Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/pynvim/plugin/script_host.py", line 167, in python_eval return eval(expr, self.module.__dict__) File "<string>", line 1, in <module> File "/home/haster/.vim/plugged/Coqtail/python/coqtail.py", line 949, in start_server CoqtailServer.serv = ThreadingTCPServer(("localhost", 0), CoqtailHandler) File "/usr/lib/python3.8/socketserver.py", line 452, in __init__ self.server_bind() File "/usr/lib/python3.8/socketserver.py", line 466, in server_bind self.socket.bind(self.server_address) OSError: [Errno 99] Cannot assign requested address Press ENTER or type command to continue

My version of coq
$coqtop --version The Coq Proof Assistant, version 8.11.0 (March 2020) compiled on Mar 5 2020 20:37:30 with OCaml 4.08.1

version of python= 3.8.10

@CTHULHU-Jesus
Copy link
Author

I had the line 127.0.0.1 *.localhost for a different project.
After adding the line 127.0.0.1 localhost It works again. I was the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant