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

qa mistakes json for txt #66

Open
chuniman opened this issue Apr 12, 2019 · 0 comments
Open

qa mistakes json for txt #66

chuniman opened this issue Apr 12, 2019 · 0 comments

Comments

@chuniman
Copy link

qa isn't detecting the json format on json files we upload and mistakes them for .txt which he later mistakes for csv

i'm gonna put the error down here, any help is appreciated

2019-04-11 16:51:29,678 INFO [ckanext.qa] Sniffing file format of: /var/local/ckan/default/resources/d03/232/17-3c0b-4bbe-ac30-d4c67ef30199
2019-04-11 16:51:29,684 INFO [ckanext.qa] Magic detects file as: text/plain
2019-04-11 16:51:29,686 INFO [ckanext.qa] Mimetype translates to filetype: TXT
2019-04-11 16:51:29,692 INFO [ckanext.qa] Not JSON - 0 matches
2019-04-11 16:51:29,763 INFO [ckanext.qa] Is CSV because 1.6 cells per row (56 cells, 36 rows)
2019-04-11 16:51:29,764 ERROR [ckanext.qa] Unexpected error while calculating openness score AttributeError: 'NoneType' object has no attribute 'ugettext'

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

1 participant