{"action":"created","issue":{"url":"https://api.github.com/repos/CivicKnowledge/ambry/issues/114","labels_url":"https://api.github.com/repos/CivicKnowledge/ambry/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/CivicKnowledge/ambry/issues/114/comments","events_url":"https://api.github.com/repos/CivicKnowledge/ambry/issues/114/events","html_url":"https://github.com/CivicKnowledge/ambry/issues/114","id":109686508,"number":114,"title":"oshpd.ca.gov-facilities-cross.yaml import error: ResourceInvalidError: Resource is invalid: /chhs.data.ca.gov/api/views/tthg-z4mf","user":{"login":"nmb10","id":207207,"avatar_url":"https://avatars.githubusercontent.com/u/207207?v=3","gravatar_id":"","url":"https://api.github.com/users/nmb10","html_url":"https://github.com/nmb10","followers_url":"https://api.github.com/users/nmb10/followers","following_url":"https://api.github.com/users/nmb10/following{/other_user}","gists_url":"https://api.github.com/users/nmb10/gists{/gist_id}","starred_url":"https://api.github.com/users/nmb10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmb10/subscriptions","organizations_url":"https://api.github.com/users/nmb10/orgs","repos_url":"https://api.github.com/users/nmb10/repos","events_url":"https://api.github.com/users/nmb10/events{/privacy}","received_events_url":"https://api.github.com/users/nmb10/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CivicKnowledge/ambry/labels/Feature","name":"Feature","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"nmb10","id":207207,"avatar_url":"https://avatars.githubusercontent.com/u/207207?v=3","gravatar_id":"","url":"https://api.github.com/users/nmb10","html_url":"https://github.com/nmb10","followers_url":"https://api.github.com/users/nmb10/followers","following_url":"https://api.github.com/users/nmb10/following{/other_user}","gists_url":"https://api.github.com/users/nmb10/gists{/gist_id}","starred_url":"https://api.github.com/users/nmb10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmb10/subscriptions","organizations_url":"https://api.github.com/users/nmb10/orgs","repos_url":"https://api.github.com/users/nmb10/repos","events_url":"https://api.github.com/users/nmb10/events{/privacy}","received_events_url":"https://api.github.com/users/nmb10/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-10-04T15:25:27Z","updated_at":"2015-10-11T09:58:45Z","closed_at":"2015-10-11T09:58:45Z","body":"run:\r\n```bash\r\npython load_pre10.py ../../pre-10-bundles/converted/oshpd.ca.gov-facilities-cross/oshpd.ca.gov-facilities-cross.yaml \r\n```\r\n\r\nerror:\r\n```\r\nStarting import ../../pre-10-bundles/converted/oshpd.ca.gov-facilities-cross/oshpd.ca.gov-facilities-cross.yaml...\r\nLoading bundle: oshpd.ca.gov-facilities-cross-0.0.4~d03U004\r\nINFO oshpd.ca.gov-facilities-cross ---- Synchronized ----\r\nStarting ingest...\r\nINFO oshpd.ca.gov-facilities-cross Ingesting: facility_cross from https://chhs.data.ca.gov/api/views/tthg-z4mf/rows.csv\r\nINFO oshpd.ca.gov-facilities-cross Ingested: facility_cross.mpr\r\nINFO oshpd.ca.gov-facilities-cross Ingesting: meta from https://chhs.data.ca.gov/api/views/tthg-z4mf\r\nTraceback (most recent call last):\r\n  File \"load_pre10.py\", line 251, in <module>\r\n    main()\r\n  File \"load_pre10.py\", line 220, in main\r\n    _ingest(b)\r\n  File \"load_pre10.py\", line 177, in _ingest\r\n    b.ingest(force=force, clean_files=clean_files)\r\n  File \"/home/nmb10/projects/ambry_project/ambry/bundle/bundle.py\", line 873, in ingest\r\n    clean=force, account_accessor=account_accessor)\r\n  File \"/home/nmb10/.virtualenvs/ambry/local/lib/python2.7/site-packages/ambry_sources/download.py\", line 42, in get_source\r\n    cache_path, download_time = download(spec.url, cache_fs, account_accessor, clean=clean)\r\n  File \"/home/nmb10/.virtualenvs/ambry/local/lib/python2.7/site-packages/ambry_sources/download.py\", line 170, in download\r\n    cache_fs.remove(cache_path)\r\n  File \"/home/nmb10/.virtualenvs/ambry/local/lib/python2.7/site-packages/fs/errors.py\", line 257, in wrapper\r\n    return func(self,*args,**kwds)\r\n  File \"/home/nmb10/.virtualenvs/ambry/local/lib/python2.7/site-packages/fs/osfs/__init__.py\", line 275, in remove\r\n    os.remove(sys_path)\r\nfs.errors.ResourceInvalidError: Resource is invalid: /chhs.data.ca.gov/api/views/tthg-z4mf\r\n```"},"comment":{"url":"https://api.github.com/repos/CivicKnowledge/ambry/issues/comments/147178108","html_url":"https://github.com/CivicKnowledge/ambry/issues/114#issuecomment-147178108","issue_url":"https://api.github.com/repos/CivicKnowledge/ambry/issues/114","id":147178108,"user":{"login":"nmb10","id":207207,"avatar_url":"https://avatars.githubusercontent.com/u/207207?v=3","gravatar_id":"","url":"https://api.github.com/users/nmb10","html_url":"https://github.com/nmb10","followers_url":"https://api.github.com/users/nmb10/followers","following_url":"https://api.github.com/users/nmb10/following{/other_user}","gists_url":"https://api.github.com/users/nmb10/gists{/gist_id}","starred_url":"https://api.github.com/users/nmb10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmb10/subscriptions","organizations_url":"https://api.github.com/users/nmb10/orgs","repos_url":"https://api.github.com/users/nmb10/repos","events_url":"https://api.github.com/users/nmb10/events{/privacy}","received_events_url":"https://api.github.com/users/nmb10/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T09:58:45Z","updated_at":"2015-10-11T09:58:45Z","body":"Fixed in to_v1.py script of pre-10-bundles repo."}}