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

error messages during docker build #37

Closed
DewiBrynJones opened this issue Jan 31, 2018 · 4 comments
Closed

error messages during docker build #37

DewiBrynJones opened this issue Jan 31, 2018 · 4 comments

Comments

@DewiBrynJones
Copy link

I'm new to MyCroft, but, after fixing #36, and following the steps at:

https://github.com/MycroftAI/docker-mycroft#how-to-build-and-run

I get:

Searching for for 'skill-volume'...'skill-volume' skill was not found
Searching for for 'skill-weather'...'skill-weather' skill was not found
Searching for for 'skill-wiki'...'skill-wiki' skill was not found
Searching for for 'fallback-aiml'...installing
Installing from: https://github.com/forslund/fallback-aiml.git
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/lib/python2.7/site-packages/mycroft_core-0.9.1-py2.7.egg/mycroft/messagebus/send.py", line 53, in <module>
    ws = create_connection(url)
  File "/usr/local/lib/python2.7/site-packages/websocket/_core.py", line 104, in create_connection
    websock.connect(url, **options)
  File "/usr/local/lib/python2.7/site-packages/websocket/_core.py", line 266, in connect
    self.sock, addrs = connect(url, self.sock_opt, proxy_info(**options))
  File "/usr/local/lib/python2.7/site-packages/websocket/_http.py", line 63, in connect
    sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)
  File "/usr/local/lib/python2.7/site-packages/websocket/_http.py", line 116, in _open_socket
    raise err
socket.error: [Errno 111] Connection refused
/usr/local/bin/msm: line 105: 10:23:00.086: command not found
Cloning into 'fallback-aiml'...
  Installing requirements...
/usr/local/bin/msm: line 325: workon: command not found
ERROR: Unable to activate 'mycroft' virtualenv, requirements not installed.
Searching for for 'skill-mark1-demo'...'skill-mark1-demo' skill was not found
msm: error 202
Starting service…
Service started
Starting service…
Service started
Removing intermediate container 29ef942e0dd6
 ---> bd7701319b0c
Step 12/12 : ENTRYPOINT ["tail", "-f", "/var/log/mycroft-skills.log"]
 ---> Running in fe5e4335cfce
Removing intermediate container fe5e4335cfce
 ---> 188b76af106d
Successfully built 188b76af106d

which results in

delwedd

when running cli.sh inside the container.

@ConorIA
Copy link

ConorIA commented Mar 13, 2018

FWIW, I'm seeing those same error messages on the image that I've pulled from Docker Hub.

@btotharye
Copy link
Contributor

this should be resolved now

@DewiBrynJones
Copy link
Author

Great! I can confirm that the docker build does not produce this error any more.

Diolch!

@payalord
Copy link

Got this error today:

ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/opt/mycroft/mycroft/messagebus/client/client.py", line 84, in on_error
    self.emitter.emit('error', error)
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/pyee/__init__.py", line 178, in emit
    raise args[0]
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/websocket/_app.py", line 254, in run_forever
    proxy_type=proxy_type)
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/websocket/_core.py", line 220, in connect
    options.pop('socket', None))
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/websocket/_http.py", line 120, in connect
    sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/websocket/_http.py", line 190, in _open_socket
    raise err
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/websocket/_http.py", line 170, in _open_socket
    sock.connect(address)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/opt/mycroft/mycroft/messagebus/client/client.py", line 84, in on_error
    self.emitter.emit('error', error)
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/pyee/__init__.py", line 178, in emit
    raise args[0]
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/websocket/_app.py", line 254, in run_forever
    proxy_type=proxy_type)
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/websocket/_core.py", line 220, in connect
    options.pop('socket', None))
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/websocket/_http.py", line 120, in connect
    sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/websocket/_http.py", line 190, in _open_socket
    raise err
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/websocket/_http.py", line 170, in _open_socket
    sock.connect(address)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/websocket/_app.py", line 254, in run_forever
    proxy_type=proxy_type)
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/websocket/_core.py", line 220, in connect
    options.pop('socket', None))
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/websocket/_http.py", line 120, in connect
    sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/websocket/_http.py", line 190, in _open_socket
    raise err
  File "/opt/mycroft/.venv/lib/python3.6/site-packages/websocket/_http.py", line 170, in _open_socket
    sock.connect(address)
ConnectionRefusedError: [Errno 111] Connection refused
2020-06-22 21:32:19.905 | ERROR    |    27 | mycroft.messagebus.client.client:on_error:88 | Exception closing websocket: ConnectionRefusedError(111, 'Connection refused')
2020-06-22 21:32:19.909 | WARNING  |    27 | mycroft.messagebus.client.client:on_error:91 | Message Bus Client will reconnect in 60 seconds.

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

4 participants