multiversx / mx-ide-vscode

💻 VS Code extension for developing MultiversX Smart Contracts - Rust, C and C++.
MIT License
70 stars 36 forks source link

mandos-test command not found on macOS #24

Closed raducannicolae closed 2 years ago

raducannicolae commented 3 years ago

I have an issue with mandos-test command that is not found on macOS. When I right click on smart contract and click on "Run Mandos Tests" I got this error in terminal: bash: mandos-test: command not found All other steps from "#1. Elrond IDE Presentation & Tutorial" video were executed correctly.

andreyminea commented 2 years ago

Hello, I don't think it is still working. If you try the command erdpy install arwentools it says it can't find it and this is the command from the video.

h3xag0nx commented 2 years ago

I believe it renamed to vmtools now. You can run erdpy --verbose deps install vmtools --overwrite on your terminal, then restart it

andreibancioiu commented 2 years ago

Indeed, renamed to vmtools. @h3xag0nx :pray:

Joemarc commented 2 years ago

Hello,

I have the same error zsh: command not found: mandos-test , i tried as suggested above to run the command erdpy --verbose deps install vmtools --overwrite but i got an error that i can't solve..

FULL ERROR BELOW


INFO:downloader:download_url.url: https://github.com/ElrondNetwork/wasm-vm/archive/v1.4.46.tar.gz
INFO:downloader:download_url.filename: /Users/joemarc/elrondsdk/vmtools.v1.4.46.tar.gz
Downloading...
|_,_,_,_,_,,_,_,_,_,_|

INFO:downloader:Download done.
INFO:downloader:download_url.url: https://golang.org/dl/go1.15.2.darwin-amd64.tar.gz
INFO:downloader:download_url.filename: /Users/joemarc/elrondsdk/golang.go1.15.2.tar.gz
Traceback (most recent call last):
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection
    raise err
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 386, in _make_request
    self._validate_conn(conn)
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
    conn.connect()
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/urllib3/connection.py", line 358, in connect
    self.sock = conn = self._new_conn()
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fc92b3ae4f0>: Failed to establish a new connection: [Errno 61] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/requests/adapters.py", line 440, in send
    resp = conn.urlopen(
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen
    retries = retries.increment(
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='go.dev', port=443): Max retries exceeded with url: /dl/go1.15.2.darwin-amd64.tar.gz (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fc92b3ae4f0>: Failed to establish a new connection: [Errno 61] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/joemarc/elrondsdk/erdpy", line 8, in <module>
    sys.exit(main())
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/erdpy/cli.py", line 30, in main
    _do_main()
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/erdpy/cli.py", line 56, in _do_main
    args.func(args)
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/erdpy/cli_deps.py", line 35, in install
    dependencies.install_module(name, tag, overwrite)
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/erdpy/dependencies/install.py", line 20, in install_module
    module.install(tag, overwrite)
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/erdpy/dependencies/modules.py", line 37, in install
    self._post_install(tag)
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/erdpy/dependencies/modules.py", line 156, in _post_install
    dependencies.install_module('golang')
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/erdpy/dependencies/install.py", line 20, in install_module
    module.install(tag, overwrite)
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/erdpy/dependencies/modules.py", line 35, in install
    self._do_install(tag)
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/erdpy/dependencies/modules.py", line 78, in _do_install
    self._download(tag)
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/erdpy/dependencies/modules.py", line 91, in _download
    downloader.download(url, str(archive_path))
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/erdpy/downloader.py", line 25, in download
    response = requests.get(url, stream=True)
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/requests/sessions.py", line 667, in send
    history = [resp for resp in gen]
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/requests/sessions.py", line 667, in <listcomp>
    history = [resp for resp in gen]
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/requests/sessions.py", line 237, in resolve_redirects
    resp = self.send(
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/Users/joemarc/elrondsdk/erdpy-venv/lib/python3.9/site-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='go.dev', port=443): Max retries exceeded with url: /dl/go1.15.2.darwin-amd64.tar.gz (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fc92b3ae4f0>: Failed to establish a new connection: [Errno 61] Connection refused'))``` 

I tried with different IPs and locations, i also downloaded the go file but it does not does anything. 
For the record i'm on MacOS and tried the same tutorial as @raducannicolae.

Thanks in advance for you help, and i'm available if you need more informations about it. :)