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

Validate command is failing #153

Closed
ghobona opened this issue Jan 5, 2023 · 2 comments
Closed

Validate command is failing #153

ghobona opened this issue Jan 5, 2023 · 2 comments

Comments

@ghobona
Copy link

ghobona commented Jan 5, 2023

Describe the bug

When I run the following command

~/cjio/tests/data$ cjio minimal.json validate

I get the following error message

Parsing minimal.json
Validation (with official CityJSON schemas)
Error: 'CJValidator' object has no attribute 'get_report'

cjio version

cjio v0.8.0; supports CityJSON v1.1

I installed it from the develop branch of GitHub repo.

To Reproduce

~/cjio/tests/data$ cjio minimal.json validate

Expected behavior

Completion of validate command.

Desktop (please complete the following information):

Ubuntu 20.04.1

Additional context
Add any other context about the problem here.

@hugoledoux
Copy link
Member

My guess is that you have an older version of cjvalpy, you need v0.3+

I didn't build linux wheels because that was crashing and I did only Windows and macOS. So the solution is just to install them yourself, it takes 2min: https://github.com/cityjson/cjvalpy#if-you-want-to-compile-it-yourself

Let me know if that works please

@hugoledoux
Copy link
Member

I assume this fixed it @ghobona so I'll close this issue

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