src-d / datasets

source{d} datasets ("big code") for source code analysis and machine learning on source code
Other
323 stars 82 forks source link

pga list fails #49

Closed erizocosmico closed 6 years ago

erizocosmico commented 6 years ago
└> pga list -v
DEBU[0000] syncing http://pga.sourced.tech/csv/latest.csv.gz to /Users/erizocosmico/.pga/latest.csv.gz
DEBU[0000] local copy is up to date
Error: bad header, expected URL,SIVA_FILENAMES,FILE_COUNT,LANGS,LANGS_BYTE_COUNT,LANGS_LINES_COUNT,LANGS_FILES_COUNT,COMMITS_COUNT,BRANCHES_COUNT,FORK_COUNT,EMPTY_LINES_COUNT,CODE_LINES_COUNT,COMMENT_LINES_COUNT,LICENSE

Apparently the index does not have a LICENSE header.

vmarkovtsev commented 6 years ago

My bad, the current index does not have LICENSE appended in the header

vmarkovtsev commented 6 years ago

Asked Rafa to update with the fixed version

erizocosmico commented 6 years ago

Thanks! 👍

vmarkovtsev commented 6 years ago

The index file was updated.

FrancescaSallicati commented 5 years ago

Sorry to bother in a closed issue, however it is the most similar I could find. I am getting the same error when running 'pga list -v', except that 'STARS' appears in the expected header. Any help would be highly appreciated :) error

mcarmonaa commented 5 years ago

Hi @FrancescaSallicati! We recently added the STARS field to the index as a new feature but we haven't regenerated it yet.

If you build the pga command from a commit previous to this addition you shouldn't find any problem. You can use this one 17f732e.

Sorry for the inconvenience.