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 parse pypi response #57

Open
erooke opened this issue Jun 17, 2024 · 1 comment
Open

Unable to parse pypi response #57

erooke opened this issue Jun 17, 2024 · 1 comment

Comments

@erooke
Copy link

erooke commented Jun 17, 2024

When trying to use from url for pypi nix-template complains about not being able to parse its response.

$ nix-template python -u https://pypi.org/project/pyEDM/
Determining latest release for pyEDM
[2024-06-17T18:40:15Z ERROR nix_template::url] Unable to parse response from pypi.io to json: Error { path: Path { segments: [Map { key: "info" }, Map { key: "author" }] }, original: Error("invalid type: null, expected a string", line: 1, column: 22) }

System info

$ nix-template --version
nix-template 0.4.1
@jonringer
Copy link
Owner

Similar error:

 nix-template python -u https://pypi.org/project/roboticstoolbox-python/ --stdout
Determining latest release for roboticstoolbox-python
[2024-06-23T00:25:12Z ERROR nix_template::url] Unable to parse response from pypi.io to json: Error { path: Path { segments: [Map { key: "info" }, Map { key: "author" }] }, original: Error("invalid type: null, expected a string", line: 1, column: 22) }

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