{"action":"created","issue":{"url":"https://api.github.com/repos/dsoprea/GDriveFS/issues/166","repository_url":"https://api.github.com/repos/dsoprea/GDriveFS","labels_url":"https://api.github.com/repos/dsoprea/GDriveFS/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/dsoprea/GDriveFS/issues/166/comments","events_url":"https://api.github.com/repos/dsoprea/GDriveFS/issues/166/events","html_url":"https://github.com/dsoprea/GDriveFS/issues/166","id":188581597,"number":166,"title":"oauth2client.util error","user":{"login":"je-vv","id":10799432,"avatar_url":"https://avatars.githubusercontent.com/u/10799432?v=3","gravatar_id":"","url":"https://api.github.com/users/je-vv","html_url":"https://github.com/je-vv","followers_url":"https://api.github.com/users/je-vv/followers","following_url":"https://api.github.com/users/je-vv/following{/other_user}","gists_url":"https://api.github.com/users/je-vv/gists{/gist_id}","starred_url":"https://api.github.com/users/je-vv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/je-vv/subscriptions","organizations_url":"https://api.github.com/users/je-vv/orgs","repos_url":"https://api.github.com/users/je-vv/repos","events_url":"https://api.github.com/users/je-vv/events{/privacy}","received_events_url":"https://api.github.com/users/je-vv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-10T18:20:55Z","updated_at":"2016-11-10T18:35:10Z","closed_at":null,"body":"With current release (0.14.8), the following oaut2client error is gotten when trying to mount:\r\n\r\n> ...\r\n> File \"/usr/lib/python2.7/site-packages/gdrivefs/gdtool/chunked_download.py\", line > 22, in ChunkedDownload @oauth2client.util.positional(4)\r\n> AttributeError: 'module' object has no attribute 'util'\r\n\r\nSee the AUR user @nagyesz comment:\r\n\r\n[https://aur.archlinux.org/packages/gdrivefs](url)"},"comment":{"url":"https://api.github.com/repos/dsoprea/GDriveFS/issues/comments/259770002","html_url":"https://github.com/dsoprea/GDriveFS/issues/166#issuecomment-259770002","issue_url":"https://api.github.com/repos/dsoprea/GDriveFS/issues/166","id":259770002,"user":{"login":"je-vv","id":10799432,"avatar_url":"https://avatars.githubusercontent.com/u/10799432?v=3","gravatar_id":"","url":"https://api.github.com/users/je-vv","html_url":"https://github.com/je-vv","followers_url":"https://api.github.com/users/je-vv/followers","following_url":"https://api.github.com/users/je-vv/following{/other_user}","gists_url":"https://api.github.com/users/je-vv/gists{/gist_id}","starred_url":"https://api.github.com/users/je-vv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/je-vv/subscriptions","organizations_url":"https://api.github.com/users/je-vv/orgs","repos_url":"https://api.github.com/users/je-vv/repos","events_url":"https://api.github.com/users/je-vv/events{/privacy}","received_events_url":"https://api.github.com/users/je-vv/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T18:35:10Z","updated_at":"2016-11-10T18:35:10Z","body":"This patch provide by @nagyesz on AUR, fixes the issue:\r\n\r\n\r\n`--- GDriveFS-0.14.8_orig/gdrivefs/gdtool/chunked_download.py   2016-07-16 17:27:28.000000000 +0200`\r\n`+++ GDriveFS-0.14.8/gdrivefs/gdtool/chunked_download.py  2016-11-10 15:58:06.000000000 +0100`\r\n`@@ -2,7 +2,10 @@`\r\n` import time`\r\n` import random`\r\n` `\r\n`-import oauth2client`\r\n`+try:`\r\n`+  from oauth2client import util`\r\n`+except ImportError:`\r\n`+  from oauth2client import _helpers as util`\r\n` import apiclient.http`\r\n` import apiclient.errors`\r\n` `\r\n`@@ -19,7 +22,7 @@`\r\n`     that needs to be downloaded (not a request object, which doesn't apply here).`\r\n`     \"\"\" `\r\n` `\r\n`-    @oauth2client.util.positional(4)`\r\n`+    @util.positional(4)`\r\n`     def __init__(self, fd, http, uri, chunksize=DEFAULT_CHUNK_SIZE, start_at=0):`\r\n`         \"\"\"Constructor.`\r\n` `\r\n`@@ -43,7 +46,7 @@`\r\n`         self._sleep = time.sleep`\r\n`         self._rand = random.random`\r\n` `\r\n`-    @oauth2client.util.positional(1)`\r\n`+    @util.positional(1)`\r\n`     def next_chunk(self, num_retries=0):`\r\n`         \"\"\"Get the next chunk of the download.`\r\n\r\n\r\nI can't fork to my github account since I already have a pull request with an older fork (to work around the multi threading python fuse issue on reads)."}}
{"actor":{"display_login":"je-vv"}}