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

Too many arguments in the Windows solution #1166

Open
1 task done
rfpanfil opened this issue Feb 20, 2024 · 1 comment
Open
1 task done

Too many arguments in the Windows solution #1166

rfpanfil opened this issue Feb 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@rfpanfil
Copy link

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • This is an issue with the Python library

Describe the bug

I try to run the curl and grit commands, but only got the error "-bash: cd: too many arguments"

To Reproduce

Just write

Code snippets

No response

OS

Windows

Python version

None

Library version

1.0.0

@rfpanfil rfpanfil added the bug Something isn't working label Feb 20, 2024
@rfpanfil rfpanfil changed the title Too many arguments in the Windows silution Too many arguments in the Windows solution Feb 20, 2024
@dackerman
Copy link

dackerman commented Feb 20, 2024

Hi @rfpanfil, I take it you're following "Automatic migration with grit on Windows" from #742? The error you're seeing usually shows up when you have spaces in the path you are trying to cd to: e.g.

cd /mnt/c/Users/Myself/My Documents/code/

where My Documents is a directory with spaces. In that case you just need to quote it, i.e.

cd "/mnt/c/Users/Myself/My Documents/code/"

If that's not the issue, then can you provide more context of what command you were trying to run and which previous steps you ran?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants