datopian / datahub-qa

:package: Bugs, issues and suggestions for datahub.io
https://datahub.io/
32 stars 6 forks source link

Validate command doesn't work with remote datasets #99

Closed anuveyatsu closed 6 years ago

anuveyatsu commented 6 years ago

If I try to validate a remote dataset, I would get following error:

> Error! ENOENT: no such file or directory, lstat

How to reproduce

Expected behavior *extended 22feb

I can do validation of remote datasets:

anuveyatsu commented 6 years ago

This is now fixed in https://github.com/datahq/datahub-client/pull/16 and https://github.com/datahq/data-cli/commit/2396f4fa13f1e89587e7168fcc4c3e2b7abcb60b

The fix will be available with the next release of the CLI tool.

AcckiyGerman commented 6 years ago

TESTED

user@pc:~/work/datahq/data-cli$ node bin/data.js validate https://raw.githubusercontent.com/frictionlessdata/test-data/master/packages/basic-csv/datapackage.json
Your Data Package is valid!

Cool!

FIXED (see output in the previous comment)

AcckiyGerman commented 6 years ago

Does not work with datahub.io :(

$ data validate https://datahub.io/core/finance-vix
> Error! Profiles registry hasn't profile data-package on line undefined
> Error! Cannot read property 'forEach' of undefined
$ data -v
0.7.6

Created new issue about that scenario: https://github.com/datahq/datahub-qa/issues/118

anuveyatsu commented 6 years ago

@AcckiyGerman where does it say it should work with datahub.io? It must be separate issue

AcckiyGerman commented 6 years ago

New issue re data validate http://datahub.io/.../ : https://github.com/datahq/datahub-qa/issues/118