{"action":"created","issue":{"url":"https://api.github.com/repos/mat3rial-dev/YYC-dev/issues/8","repository_url":"https://api.github.com/repos/mat3rial-dev/YYC-dev","labels_url":"https://api.github.com/repos/mat3rial-dev/YYC-dev/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/mat3rial-dev/YYC-dev/issues/8/comments","events_url":"https://api.github.com/repos/mat3rial-dev/YYC-dev/issues/8/events","html_url":"https://github.com/mat3rial-dev/YYC-dev/issues/8","id":310331797,"number":8,"title":"Add the ckanext-validation plugin to CKAN","user":{"login":"napulen","id":7258463,"avatar_url":"https://avatars1.githubusercontent.com/u/7258463?v=4","gravatar_id":"","url":"https://api.github.com/users/napulen","html_url":"https://github.com/napulen","followers_url":"https://api.github.com/users/napulen/followers","following_url":"https://api.github.com/users/napulen/following{/other_user}","gists_url":"https://api.github.com/users/napulen/gists{/gist_id}","starred_url":"https://api.github.com/users/napulen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/napulen/subscriptions","organizations_url":"https://api.github.com/users/napulen/orgs","repos_url":"https://api.github.com/users/napulen/repos","events_url":"https://api.github.com/users/napulen/events{/privacy}","received_events_url":"https://api.github.com/users/napulen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-01T15:27:38Z","updated_at":"2018-04-01T15:32:02Z","closed_at":null,"author_association":"COLLABORATOR","body":"The last time we tried this, there was an error once we tried to restart CKAN with the plugin enabled"},"comment":{"url":"https://api.github.com/repos/mat3rial-dev/YYC-dev/issues/comments/377794665","html_url":"https://github.com/mat3rial-dev/YYC-dev/issues/8#issuecomment-377794665","issue_url":"https://api.github.com/repos/mat3rial-dev/YYC-dev/issues/8","id":377794665,"user":{"login":"napulen","id":7258463,"avatar_url":"https://avatars1.githubusercontent.com/u/7258463?v=4","gravatar_id":"","url":"https://api.github.com/users/napulen","html_url":"https://github.com/napulen","followers_url":"https://api.github.com/users/napulen/followers","following_url":"https://api.github.com/users/napulen/following{/other_user}","gists_url":"https://api.github.com/users/napulen/gists{/gist_id}","starred_url":"https://api.github.com/users/napulen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/napulen/subscriptions","organizations_url":"https://api.github.com/users/napulen/orgs","repos_url":"https://api.github.com/users/napulen/repos","events_url":"https://api.github.com/users/napulen/events{/privacy}","received_events_url":"https://api.github.com/users/napulen/received_events","type":"User","site_admin":false},"created_at":"2018-04-01T15:32:02Z","updated_at":"2018-04-01T15:32:02Z","author_association":"COLLABORATOR","body":"I tried one more time, now it worked.\r\n```\r\n(default) napulen@yyc-test-1:~/ckanext-validation$ sudo ckan db init\r\n2018-04-01 14:51:00,411 DEBUG [ckanext.validation.plugin] Validation tables exist\r\n2018-04-01 14:51:00,465 DEBUG [ckanext.harvest.model] Harvest tables defined in memory\r\n2018-04-01 14:51:00,480 DEBUG [ckanext.harvest.model] Harvest tables already exist\r\nInitialising DB: SUCCESS\r\n```\r\nRunning the validation on the ini file generates a blank csv report tested on 7 datasets\r\n```\r\n(default) napulen@yyc-test-1:~/ckanext-validation$ paster validation run -c /etc/ckan/default/production.ini\r\n2018-04-01 15:01:12,131 DEBUG [ckanext.validation.plugin] Validation tables exist\r\n2018-04-01 15:01:12,184 DEBUG [ckanext.harvest.model] Harvest tables defined in memory\r\n2018-04-01 15:01:12,197 DEBUG [ckanext.harvest.model] Harvest tables already exist\r\n\r\nYou are about to start validation for 7 datasets.\r\n Do you want to continue? [Y/n] yes\r\n2018-04-01 15:01:16,966 DEBUG [ckanext.validation.commands] Resource 1dc853ea-bb5f-47d8-9d05-f941e6b7716f from dataset census-by-community-20171 sent to the validation queue\r\n2018-04-01 15:01:16,994 DEBUG [ckanext.validation.commands] Resource bbd1348a-2d03-43a7-887c-3637d43f81b4 from dataset low-income-statistics-census-2016 sent to the validation queue\r\n2018-04-01 15:01:17,014 DEBUG [ckanext.validation.commands] Resource 6f9d256a-d13b-4f48-8a68-c771055ad428 from dataset calgary-public-library sent to the validation queue\r\n2018-04-01 15:01:17,037 DEBUG [ckanext.validation.commands] Resource f88a386a-6365-42bc-9191-01eb1668cddd from dataset calgary-health-clinics-and-hospitals sent to the validation queue\r\n2018-04-01 15:01:17,057 DEBUG [ckanext.validation.commands] Resource 9f9726da-3ccd-4d61-a59e-e3a1bf672d6c from dataset air-quality-data1 sent to the validation queue\r\n2018-04-01 15:01:17,083 DEBUG [ckanext.validation.commands] Resource ce308683-6c58-4a38-a7f9-47c6fdfafe1f from dataset historic-resources1 sent to the validation queue\r\n2018-04-01 15:01:17,108 DEBUG [ckanext.validation.commands] Resource ede0519f-19a9-449f-bb65-cd3501bf4c16 from dataset homeless-shelters sent to the validation queue\r\n2018-04-01 15:01:17,108 INFO  [ckanext.validation.commands] Done. 7 resources sent to the validation queue\r\n```"}}
{"actor":{"display_login":"napulen"}}