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

macos 12.6 hurdles #9

Open
alandthompsongithub opened this issue Mar 28, 2023 · 2 comments
Open

macos 12.6 hurdles #9

alandthompsongithub opened this issue Mar 28, 2023 · 2 comments

Comments

@alandthompsongithub
Copy link

Cleared a fair few hurdles to get this going using zsh.

Can't seem to get past this error:

gpt-cli % python3 gpt.py ERROR:root:Uncaught exception Traceback (most recent call last): File "/Users/adtm1x/gpt-cli/gpt.py", line 191, in <module> main() File "/Users/adtm1x/gpt-cli/gpt.py", line 132, in main read_yaml_config(config_path) if os.path.isfile(config_path) else GptCliConfig() File "/Users/adtm1x/gpt-cli/gptcli/config.py", line 23, in read_yaml_config return GptCliConfig( TypeError: gptcli.config.GptCliConfig() argument after ** must be a mapping, not str An uncaught exception occurred. Please report this issue on GitHub. Traceback (most recent call last): File "/Users/adtm1x/gpt-cli/gpt.py", line 191, in <module> main() File "/Users/adtm1x/gpt-cli/gpt.py", line 132, in main read_yaml_config(config_path) if os.path.isfile(config_path) else GptCliConfig() File "/Users/adtm1x/gpt-cli/gptcli/config.py", line 23, in read_yaml_config return GptCliConfig( TypeError: gptcli.config.GptCliConfig() argument after ** must be a mapping, not str

@kharvd
Copy link
Owner

kharvd commented Mar 29, 2023

What is your Python version? I've been testing it with Python 3.9
python3 --version

@kharvd
Copy link
Owner

kharvd commented Mar 29, 2023

Do you have a ~/.gptrc file? Is it a valid YAML file?

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

2 participants