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

Unable to Execute langgraph up on Windows WSL2: TypeError: cannot unpack non-iterable NoneType object #21

Open
Maks-Redka opened this issue Jun 20, 2024 · 2 comments

Comments

@Maks-Redka
Copy link

Issue Summary:

Attempting to run langgraph up on Windows WSL2 results in the following error:

Traceback (most recent call last):
  File "/home/mex42/work/langgraph-example/.venv/bin/langgraph", line 8, in <module>
    sys.exit(cli())
  File "/home/mex42/work/langgraph-example/.venv/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/home/mex42/work/langgraph-example/.venv/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/home/mex42/work/langgraph-example/.venv/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/mex42/work/langgraph-example/.venv/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/mex42/work/langgraph-example/.venv/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/home/mex42/work/langgraph-example/.venv/lib/python3.10/site-packages/langgraph_cli/cli.py", line 183, in up
    capabilities = langgraph_cli.docker.check_capabilities(runner)
  File "/home/mex42/work/langgraph-example/.venv/lib/python3.10/site-packages/langgraph_cli/docker.py", line 83, in check_capabilities
    stdout, _ = runner.run(subp_exec("docker", "info", "-f", "json", collect=True))
TypeError: cannot unpack non-iterable NoneType object

Reproduce and issue similar to Issue #20

@zhao-cs-debug
Copy link

pip install langgraph-cli==0.1.35

@shanumas
Copy link

@zhao-cs-debug thanks. Why doesn't it work with latest version (0.1.41). But works with 0.1.35. Why ?

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

3 participants