{"action":"opened","issue":{"url":"https://api.github.com/repos/dsoprea/GDriveFS/issues/161","repository_url":"https://api.github.com/repos/dsoprea/GDriveFS","labels_url":"https://api.github.com/repos/dsoprea/GDriveFS/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/dsoprea/GDriveFS/issues/161/comments","events_url":"https://api.github.com/repos/dsoprea/GDriveFS/issues/161/events","html_url":"https://github.com/dsoprea/GDriveFS/issues/161","id":163993946,"number":161,"title":"ls: Input/output error","user":{"login":"zyxmon","id":6533749,"avatar_url":"https://avatars.githubusercontent.com/u/6533749?v=3","gravatar_id":"","url":"https://api.github.com/users/zyxmon","html_url":"https://github.com/zyxmon","followers_url":"https://api.github.com/users/zyxmon/followers","following_url":"https://api.github.com/users/zyxmon/following{/other_user}","gists_url":"https://api.github.com/users/zyxmon/gists{/gist_id}","starred_url":"https://api.github.com/users/zyxmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyxmon/subscriptions","organizations_url":"https://api.github.com/users/zyxmon/orgs","repos_url":"https://api.github.com/users/zyxmon/repos","events_url":"https://api.github.com/users/zyxmon/events{/privacy}","received_events_url":"https://api.github.com/users/zyxmon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-06T03:59:08Z","updated_at":"2016-07-06T03:59:08Z","closed_at":null,"body":"I have build GDriveFS for Entware - https://github.com/Entware-ng/Entware-ng\r\n(I have used pip install for testing).\r\nfuse mount seems to work `gdfs(/opt/var/cache/gdfs.creds) on /opt/gdrive type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)`\r\nWhen I try to access mounted folder I have Input/output error.\r\nHere is a debug log\r\n```\r\n>GD_DEBUG=1 gdfs /opt/var/cache/gdfs.creds /opt/gdrive\r\n2016-07-06 06:42:14,275 [gdrivefs.utility INFO] No extension-mapping was found.\r\n2016-07-06 06:42:14,611 [__main__ DEBUG] Mounting GD with creds at [/opt/var/cache/gdfs.creds]: /opt/gdrive\r\n2016-07-06 06:42:14,615 [gdrivefs.gdfs.gdfuse DEBUG] FUSE options:\r\n{}\r\n2016-07-06 06:42:14,619 [gdrivefs.gdfs.gdfuse DEBUG] PERMS: F=777 E=666 NE=444\r\n2016-07-06 06:42:14,673 [gdrivefs.gdtool.oauth_authorize INFO] Credentials have expired. Attempting to refresh them.\r\n2016-07-06 06:42:14,675 [gdrivefs.gdtool.oauth_authorize INFO] Doing credentials refresh.\r\n2016-07-06 06:42:14,679 [oauth2client.client INFO] Refreshing access_token\r\n2016-07-06 06:42:15,282 [gdrivefs.gdtool.drive DEBUG] Getting authorized HTTP tunnel.\r\n2016-07-06 06:42:15,287 [gdrivefs.gdtool.drive DEBUG] Got authorized tunnel.\r\nFUSE library version: 2.9.3\r\nnullpath_ok: 0\r\nnopath: 0\r\nutime_omit_ok: 0\r\nunique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0\r\nINIT: 7.18\r\nflags=0x0000047b\r\nmax_readahead=0x00020000\r\n2016-07-06 06:42:16,522 [gdrivefs.gdfs.fsutility DEBUG] --------------------------------------------------\r\n2016-07-06 06:42:16,524 [gdrivefs.gdfs.fsutility DEBUG] >>>>>>>>>> init(23) >>>>>>>>>> (0)\r\n2016-07-06 06:42:16,528 [gdrivefs.gdfs.fsutility DEBUG] DATA: path= [/]\r\n2016-07-06 06:42:16,530 [gdrivefs.gdfs.gdfuse INFO] Activating change-monitor.\r\n2016-07-06 06:42:16,876 [gdrivefs.gdfs.fsutility DEBUG] <<<<<<<<<< init(23) (0)\r\n2016-07-06 06:42:16,879 [gdrivefs.gdtool.drive DEBUG] Getting authorized HTTP tunnel.\r\n2016-07-06 06:42:16,883 [gdrivefs.gdtool.drive DEBUG] Got authorized tunnel.\r\n   INIT: 7.19\r\n   flags=0x00000011\r\n   max_readahead=0x00020000\r\n   max_write=0x00020000\r\n   max_background=0\r\n   congestion_threshold=0\r\n   unique: 1, success, outsize: 40\r\nunique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 10738\r\ngetattr /\r\n2016-07-06 06:42:43,640 [gdrivefs.gdfs.fsutility DEBUG] --------------------------------------------------\r\n2016-07-06 06:42:43,642 [gdrivefs.gdfs.fsutility DEBUG] >>>>>>>>>> getattr(4) >>>>>>>>>> (10738)\r\n2016-07-06 06:42:43,644 [gdrivefs.gdfs.fsutility DEBUG] DATA: fh= [None]  raw_path= [/]\r\n2016-07-06 06:42:43,659 [gdrivefs.cache.cacheclient_base DEBUG] CacheClientBase(CacheClientBase,28800)\r\n2016-07-06 06:42:43,662 [gdrivefs.cache.cache_agent INFO] Starting cache-cleanup thread: <gdrivefs.cache.cache_agent.CacheAgent object at 0xf65858>\r\n2016-07-06 06:42:43,670 [gdrivefs.cache.cache_agent INFO] Cache-cleanup thread running: <gdrivefs.cache.cache_agent.CacheAgent object at 0xf65858>\r\n2016-07-06 06:42:43,669 [gdrivefs.gdtool.drive INFO] Getting client for parent-listing.\r\n2016-07-06 06:42:43,675 [gdrivefs.gdtool.drive INFO] Listing entries over child with ID [0AP09GPqvAIMZUk9PVA].\r\n2016-07-06 06:42:44,902 [gdrivefs.gdtool.drive DEBUG] (1) entries were retrieved.\r\n2016-07-06 06:42:44,908 [gdrivefs.cache.volume DEBUG] Recursively pruning entry with ID [0AP09GPqvAIMZUk9PVA].\r\n2016-07-06 06:42:44,928 [gdrivefs.gdfs.fsutility DEBUG] <<<<<<<<<< getattr(4) (10738)\r\n   unique: 2, success, outsize: 120\r\n```\r\nI am running it on a mipsel device where part of the filesystem is read only. May be it is cache issue?\r\n\r\nBTW I have no problems running davfs2, encfs on this router."}}
{"actor":{"display_login":"zyxmon"}}