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

np setup fails #164

Open
ronentk opened this issue Jan 5, 2024 · 1 comment
Open

np setup fails #164

ronentk opened this issue Jan 5, 2024 · 1 comment

Comments

@ronentk
Copy link

ronentk commented Jan 5, 2024

Hi, I tried running np setup and it failed to parse my reply to the prompt Would you like to publish your profile to the nanopub servers?:
image

I think it may be because the response is parsed as a Path and not a string?

publish_resp = typer.prompt(prompt, type=Path, default="")

Thanks

@dennisvang
Copy link

Looks like this was fixed in v.2.0.1

publish_resp = typer.prompt(prompt, type=str, default="")

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