{"action":"created","issue":{"url":"https://api.github.com/repos/WRI-Cities/static-GTFS-manager/issues/89","repository_url":"https://api.github.com/repos/WRI-Cities/static-GTFS-manager","labels_url":"https://api.github.com/repos/WRI-Cities/static-GTFS-manager/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/WRI-Cities/static-GTFS-manager/issues/89/comments","events_url":"https://api.github.com/repos/WRI-Cities/static-GTFS-manager/issues/89/events","html_url":"https://github.com/WRI-Cities/static-GTFS-manager/issues/89","id":350838178,"node_id":"MDU6SXNzdWUzNTA4MzgxNzg=","number":89,"title":"Handle empty tables on import","user":{"login":"answerquest","id":9089552,"node_id":"MDQ6VXNlcjkwODk1NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/9089552?v=4","gravatar_id":"","url":"https://api.github.com/users/answerquest","html_url":"https://github.com/answerquest","followers_url":"https://api.github.com/users/answerquest/followers","following_url":"https://api.github.com/users/answerquest/following{/other_user}","gists_url":"https://api.github.com/users/answerquest/gists{/gist_id}","starred_url":"https://api.github.com/users/answerquest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/answerquest/subscriptions","organizations_url":"https://api.github.com/users/answerquest/orgs","repos_url":"https://api.github.com/users/answerquest/repos","events_url":"https://api.github.com/users/answerquest/events{/privacy}","received_events_url":"https://api.github.com/users/answerquest/received_events","type":"User","site_admin":false},"labels":[{"id":883691460,"node_id":"MDU6TGFiZWw4ODM2OTE0NjA=","url":"https://api.github.com/repos/WRI-Cities/static-GTFS-manager/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/WRI-Cities/static-GTFS-manager/milestones/7","html_url":"https://github.com/WRI-Cities/static-GTFS-manager/milestone/7","labels_url":"https://api.github.com/repos/WRI-Cities/static-GTFS-manager/milestones/7/labels","id":3621366,"node_id":"MDk6TWlsZXN0b25lMzYyMTM2Ng==","number":7,"title":"v2.0.0","description":"Code overhaul, change of database system and new conversion page for another transit agency","creator":{"login":"answerquest","id":9089552,"node_id":"MDQ6VXNlcjkwODk1NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/9089552?v=4","gravatar_id":"","url":"https://api.github.com/users/answerquest","html_url":"https://github.com/answerquest","followers_url":"https://api.github.com/users/answerquest/followers","following_url":"https://api.github.com/users/answerquest/following{/other_user}","gists_url":"https://api.github.com/users/answerquest/gists{/gist_id}","starred_url":"https://api.github.com/users/answerquest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/answerquest/subscriptions","organizations_url":"https://api.github.com/users/answerquest/orgs","repos_url":"https://api.github.com/users/answerquest/repos","events_url":"https://api.github.com/users/answerquest/events{/privacy}","received_events_url":"https://api.github.com/users/answerquest/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2018-09-04T15:40:05Z","updated_at":"2018-09-04T15:42:46Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-08-15T14:48:02Z","updated_at":"2018-09-04T15:42:46Z","closed_at":"2018-09-04T15:42:46Z","author_association":"COLLABORATOR","body":"In an import of a test gtfs feed, there was a `frequencies.txt` file with the row headers but no data.\r\n\r\nCorresponding db file (`frequencies.h5`.. this is in the HDF5 database mode) got created, but after the import was complete, in the tool's home page the GTFSstats function errored out when it tried to read `frequencies.h5` because there was nothing in it.\r\n\r\nSo, have to handle this at import stage: if it's an empty table, don't import it.\r\n"},"comment":{"url":"https://api.github.com/repos/WRI-Cities/static-GTFS-manager/issues/comments/418416961","html_url":"https://github.com/WRI-Cities/static-GTFS-manager/issues/89#issuecomment-418416961","issue_url":"https://api.github.com/repos/WRI-Cities/static-GTFS-manager/issues/89","id":418416961,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODQxNjk2MQ==","user":{"login":"answerquest","id":9089552,"node_id":"MDQ6VXNlcjkwODk1NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/9089552?v=4","gravatar_id":"","url":"https://api.github.com/users/answerquest","html_url":"https://github.com/answerquest","followers_url":"https://api.github.com/users/answerquest/followers","following_url":"https://api.github.com/users/answerquest/following{/other_user}","gists_url":"https://api.github.com/users/answerquest/gists{/gist_id}","starred_url":"https://api.github.com/users/answerquest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/answerquest/subscriptions","organizations_url":"https://api.github.com/users/answerquest/orgs","repos_url":"https://api.github.com/users/answerquest/repos","events_url":"https://api.github.com/users/answerquest/events{/privacy}","received_events_url":"https://api.github.com/users/answerquest/received_events","type":"User","site_admin":false},"created_at":"2018-09-04T15:42:46Z","updated_at":"2018-09-04T15:42:46Z","author_association":"COLLABORATOR","body":"fixed at https://github.com/WRI-Cities/static-GTFS-manager/blob/master/GTFSserverfunctions.py#L155 in v2.0.0 "}}
{"actor":{"display_login":"answerquest"}}