{"action":"created","issue":{"url":"https://api.github.com/repos/odeke-em/drive/issues/745","repository_url":"https://api.github.com/repos/odeke-em/drive","labels_url":"https://api.github.com/repos/odeke-em/drive/issues/745/labels{/name}","comments_url":"https://api.github.com/repos/odeke-em/drive/issues/745/comments","events_url":"https://api.github.com/repos/odeke-em/drive/issues/745/events","html_url":"https://github.com/odeke-em/drive/issues/745","id":179099498,"number":745,"title":"panic: send on closed channel","user":{"login":"DunklerPhoenix","id":1261305,"avatar_url":"https://avatars.githubusercontent.com/u/1261305?v=3","gravatar_id":"","url":"https://api.github.com/users/DunklerPhoenix","html_url":"https://github.com/DunklerPhoenix","followers_url":"https://api.github.com/users/DunklerPhoenix/followers","following_url":"https://api.github.com/users/DunklerPhoenix/following{/other_user}","gists_url":"https://api.github.com/users/DunklerPhoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/DunklerPhoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DunklerPhoenix/subscriptions","organizations_url":"https://api.github.com/users/DunklerPhoenix/orgs","repos_url":"https://api.github.com/users/DunklerPhoenix/repos","events_url":"https://api.github.com/users/DunklerPhoenix/events{/privacy}","received_events_url":"https://api.github.com/users/DunklerPhoenix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-25T18:06:35Z","updated_at":"2016-11-04T08:30:35Z","closed_at":null,"body":"Hello.\nSince one week I get this error. I tried to reinstall go and the drive client.\nWhat can I do to fix this?\n\n```\nAddition count 64731 src: 1.74TB\nProceed with the changes? [Y/n]:Y\n 1024 / 1917849953769 [>-----------------------------------------------------------------------]   0.00% -2500288h47m5spanic: send on closed channel [recovered]\n    panic: send on closed channel\n\ngoroutine 78859 [running]:\npanic(0x8289c0, 0xc8255a0710)\n    /usr/lib/go-1.6/src/runtime/panic.go:481 +0x3e6\nio/ioutil.readAll.func1(0xc824763b48)\n    /usr/lib/go-1.6/src/io/ioutil/ioutil.go:30 +0x11e\npanic(0x8289c0, 0xc8255a0710)\n    /usr/lib/go-1.6/src/runtime/panic.go:443 +0x4e9\ngithub.com/odeke-em/statos.(*ReaderStatos).Read(0xc82ef99c40, 0xc820146400, 0x200, 0x200, 0x200, 0x0, 0x0)\n    /root/go/src/github.com/odeke-em/statos/reader.go:34 +0x119\nio.(*LimitedReader).Read(0xc82ef99360, 0xc820146400, 0x200, 0x200, 0x200, 0x0, 0x0)\n    /usr/lib/go-1.6/src/io/io.go:426 +0xbd\nbytes.(*Buffer).ReadFrom(0xc824763aa0, 0x7fdb8849d1d0, 0xc82ef99360, 0x0, 0x0, 0x0)\n    /usr/lib/go-1.6/src/bytes/buffer.go:176 +0x23f\nio/ioutil.readAll(0x7fdb8849d1d0, 0xc82ef99360, 0x200, 0x0, 0x0, 0x0, 0x0, 0x0)\n    /usr/lib/go-1.6/src/io/ioutil/ioutil.go:33 +0x156\nio/ioutil.ReadAll(0x7fdb8849d1d0, 0xc82ef99360, 0x0, 0x0, 0x0, 0x0, 0x0)\n    /usr/lib/go-1.6/src/io/ioutil/ioutil.go:42 +0x51\ngoogle.golang.org/api/gensupport.(*contentSniffer).ContentType(0xc8242b25a0, 0x0, 0x0, 0xc824763c80)\n    /root/go/src/google.golang.org/api/gensupport/media.go:61 +0x125\ngoogle.golang.org/api/gensupport.DetermineContentType(0x7fdb84320238, 0xc82ef99c40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\n    /root/go/src/google.golang.org/api/gensupport/media.go:94 +0x198\ngoogle.golang.org/api/drive/v2.(*FilesInsertCall).Media(0xc82557a8a0, 0x7fdb84320238, 0xc82ef99c40, 0x0, 0x0, 0x0, 0xc800000000)\n    /root/go/src/google.golang.org/api/drive/v2/drive-gen.go:5590 +0x8e\ngithub.com/odeke-em/drive/src.(*Remote).upsertByComparison(0xc8200d7ce0, 0x7fdb84320238, 0xc82ef99c40, 0xc8230f1880, 0x0, 0xaad800, 0x0, 0x0)\n    /root/go/src/github.com/odeke-em/drive/src/remote.go:762 +0x5ad\ngithub.com/odeke-em/drive/src.(*Remote).UpsertByComparison.func2.1(0x0, 0x0, 0x0, 0x0)\n    /root/go/src/github.com/odeke-em/drive/src/remote.go:916 +0xa7\ngithub.com/odeke-em/exponential-backoff.ExponentialBackOffSync.func1(0xc82557b920, 0xc82ef99c80)\n    /root/go/src/github.com/odeke-em/exponential-backoff/exponential-backoff.go:34 +0x71\ncreated by github.com/odeke-em/exponential-backoff.ExponentialBackOffSync\n    /root/go/src/github.com/odeke-em/exponential-backoff/exponential-backoff.go:52 +0x7c\n```\n\n`\n"},"comment":{"url":"https://api.github.com/repos/odeke-em/drive/issues/comments/258370625","html_url":"https://github.com/odeke-em/drive/issues/745#issuecomment-258370625","issue_url":"https://api.github.com/repos/odeke-em/drive/issues/745","id":258370625,"user":{"login":"odeke-em","id":4898263,"avatar_url":"https://avatars.githubusercontent.com/u/4898263?v=3","gravatar_id":"","url":"https://api.github.com/users/odeke-em","html_url":"https://github.com/odeke-em","followers_url":"https://api.github.com/users/odeke-em/followers","following_url":"https://api.github.com/users/odeke-em/following{/other_user}","gists_url":"https://api.github.com/users/odeke-em/gists{/gist_id}","starred_url":"https://api.github.com/users/odeke-em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odeke-em/subscriptions","organizations_url":"https://api.github.com/users/odeke-em/orgs","repos_url":"https://api.github.com/users/odeke-em/repos","events_url":"https://api.github.com/users/odeke-em/events{/privacy}","received_events_url":"https://api.github.com/users/odeke-em/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T08:30:35Z","updated_at":"2016-11-04T08:30:35Z","body":"@DunklerPhoenix my apologies that I haven't been able to address this any sooner. I've been quiet busy but tonight I took sometime to fix up and refactor a dependency from which the panic originates with PR https://github.com/odeke-em/statos/pull/2.\r\nPlease get the latest code by running\r\n```shell\r\n$ go get -u -v github.com/odeke-em/drive/drive-gen && drive-gen\r\n```"}}
{"actor":{"display_login":"odeke-em"}}