{"action":"created","issue":{"url":"https://api.github.com/repos/sondree/b2_fuse/issues/38","repository_url":"https://api.github.com/repos/sondree/b2_fuse","labels_url":"https://api.github.com/repos/sondree/b2_fuse/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/sondree/b2_fuse/issues/38/comments","events_url":"https://api.github.com/repos/sondree/b2_fuse/issues/38/events","html_url":"https://github.com/sondree/b2_fuse/issues/38","id":194359113,"number":38,"title":"Unhandled error caused by malformed file access sequence","user":{"login":"Fibroblasto","id":1661250,"avatar_url":"https://avatars.githubusercontent.com/u/1661250?v=3","gravatar_id":"","url":"https://api.github.com/users/Fibroblasto","html_url":"https://github.com/Fibroblasto","followers_url":"https://api.github.com/users/Fibroblasto/followers","following_url":"https://api.github.com/users/Fibroblasto/following{/other_user}","gists_url":"https://api.github.com/users/Fibroblasto/gists{/gist_id}","starred_url":"https://api.github.com/users/Fibroblasto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fibroblasto/subscriptions","organizations_url":"https://api.github.com/users/Fibroblasto/orgs","repos_url":"https://api.github.com/users/Fibroblasto/repos","events_url":"https://api.github.com/users/Fibroblasto/events{/privacy}","received_events_url":"https://api.github.com/users/Fibroblasto/received_events","type":"User","site_admin":false},"labels":[{"id":295730165,"url":"https://api.github.com/repos/sondree/b2_fuse/labels/bug","name":"bug","color":"fc2929","default":true},{"id":295730167,"url":"https://api.github.com/repos/sondree/b2_fuse/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"sondree","id":2277465,"avatar_url":"https://avatars.githubusercontent.com/u/2277465?v=3","gravatar_id":"","url":"https://api.github.com/users/sondree","html_url":"https://github.com/sondree","followers_url":"https://api.github.com/users/sondree/followers","following_url":"https://api.github.com/users/sondree/following{/other_user}","gists_url":"https://api.github.com/users/sondree/gists{/gist_id}","starred_url":"https://api.github.com/users/sondree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sondree/subscriptions","organizations_url":"https://api.github.com/users/sondree/orgs","repos_url":"https://api.github.com/users/sondree/repos","events_url":"https://api.github.com/users/sondree/events{/privacy}","received_events_url":"https://api.github.com/users/sondree/received_events","type":"User","site_admin":false},"assignees":[{"login":"sondree","id":2277465,"avatar_url":"https://avatars.githubusercontent.com/u/2277465?v=3","gravatar_id":"","url":"https://api.github.com/users/sondree","html_url":"https://github.com/sondree","followers_url":"https://api.github.com/users/sondree/followers","following_url":"https://api.github.com/users/sondree/following{/other_user}","gists_url":"https://api.github.com/users/sondree/gists{/gist_id}","starred_url":"https://api.github.com/users/sondree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sondree/subscriptions","organizations_url":"https://api.github.com/users/sondree/orgs","repos_url":"https://api.github.com/users/sondree/repos","events_url":"https://api.github.com/users/sondree/events{/privacy}","received_events_url":"https://api.github.com/users/sondree/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-12-08T15:06:49Z","updated_at":"2016-12-14T19:57:00Z","closed_at":null,"body":"I've got these errors in the master branch, but unfortunately I don't know what I was doing when the errors appeared. Therefore, I can not reproduce them. I will report as soon as I get similar errors and know what I was doing to triggering them:\r\n\r\n> Traceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 495, in _wrapper\r\n    return func(*args, **kwargs) or 0\r\n  File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 604, in write\r\n    offset, fh)\r\n  File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 800, in __call__\r\n    return getattr(self, op)(*args)\r\n  File \"/home/durr/b2/b2_fuse/b2fuse_main.py\", line 430, in write\r\n    self.open_files[path].set_dirty(True)\r\nTypeError: __init__() takes at least 3 arguments (1 given)\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 495, in _wrapper\r\n    return func(*args, **kwargs) or 0\r\n  File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 604, in write\r\n    offset, fh)\r\n  File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 800, in __call__\r\n    return getattr(self, op)(*args)\r\n  File \"/home/durr/b2/b2_fuse/b2fuse_main.py\", line 430, in write\r\n    self.open_files[path].set_dirty(True)\r\nTypeError: __init__() takes at least 3 arguments (1 given)\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 495, in _wrapper\r\n    return func(*args, **kwargs) or 0\r\n  File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 604, in write\r\n    offset, fh)\r\n  File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 800, in __call__\r\n    return getattr(self, op)(*args)\r\n  File \"/home/durr/b2/b2_fuse/b2fuse_main.py\", line 430, in write\r\n    self.open_files[path].set_dirty(True)\r\nTypeError: __init__() takes at least 3 arguments (1 given)\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 495, in _wrapper\r\n    return func(*args, **kwargs) or 0\r\n  File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 621, in flush\r\n    return self.operations('flush', self._decode_optional_path(path), fh)\r\n  File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 800, in __call__\r\n    return getattr(self, op)(*args)\r\n  File \"/home/durr/b2/b2_fuse/b2fuse_main.py\", line 445, in flush\r\n    self.open_files[self._remove_start_slash(path)].upload()\r\nTypeError: __init__() takes at least 3 arguments (1 given)\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 495, in _wrapper\r\n    return func(*args, **kwargs) or 0\r\n  File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 629, in release\r\n    return self.operations('release', self._decode_optional_path(path), fh)\r\n  File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 800, in __call__\r\n    return getattr(self, op)(*args)\r\n  File \"/home/durr/b2/b2_fuse/b2fuse_main.py\", line 451, in release\r\n    self.flush(self._remove_start_slash(path), fh)\r\n  File \"/home/durr/b2/b2_fuse/b2fuse_main.py\", line 445, in flush\r\n    self.open_files[self._remove_start_slash(path)].upload()\r\nTypeError: __init__() takes at least 3 arguments (1 given)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sondree/b2_fuse/issues/comments/267138989","html_url":"https://github.com/sondree/b2_fuse/issues/38#issuecomment-267138989","issue_url":"https://api.github.com/repos/sondree/b2_fuse/issues/38","id":267138989,"user":{"login":"Fibroblasto","id":1661250,"avatar_url":"https://avatars.githubusercontent.com/u/1661250?v=3","gravatar_id":"","url":"https://api.github.com/users/Fibroblasto","html_url":"https://github.com/Fibroblasto","followers_url":"https://api.github.com/users/Fibroblasto/followers","following_url":"https://api.github.com/users/Fibroblasto/following{/other_user}","gists_url":"https://api.github.com/users/Fibroblasto/gists{/gist_id}","starred_url":"https://api.github.com/users/Fibroblasto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fibroblasto/subscriptions","organizations_url":"https://api.github.com/users/Fibroblasto/orgs","repos_url":"https://api.github.com/users/Fibroblasto/repos","events_url":"https://api.github.com/users/Fibroblasto/events{/privacy}","received_events_url":"https://api.github.com/users/Fibroblasto/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T19:57:00Z","updated_at":"2016-12-14T19:57:00Z","body":"I have found the way to reproduce the errors. It happens when I compress a file inside the bucket. For example:\r\n\r\n/mnt/mnt$ zip compressed-file.zip somefile\r\n  adding: somefile\r\nzip I/O error: Bad address\r\nzip error: Input file read failure (was zipping somefile)\r\n\r\nWhile in the console I had started b2fuse.py I got:\r\n\r\n> Traceback (most recent call last):\r\n>   File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 495, in _wrapper\r\n>     return func(*args, **kwargs) or 0\r\n>   File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 604, in write\r\n>     offset, fh)\r\n>   File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 800, in __call__\r\n>     return getattr(self, op)(*args)\r\n>   File \"/home/durr/b2/b2_fuse/b2fuse_main.py\", line 431, in write\r\n>     self.open_files[path].write(offset, data)\r\n>   File \"/home/durr/b2/b2_fuse/filetypes/B2SequentialFileMemory.py\", line 72, in write\r\n>     raise NotImplemented()\r\n> TypeError: 'NotImplementedType' object is not callable\r\n\r\nWhen I compressed the file from Dolphin file manager the erros message was this:\r\n\r\n> Traceback\r\n>  (most recent call last):\r\n>   File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 495, in _wrapper\r\n>     return func(*args, **kwargs) or 0\r\n>   File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 604, in write\r\n>     offset, fh)\r\n>   File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 800, in __call__\r\n>     return getattr(self, op)(*args)\r\n>   File \"/home/durr/b2/b2_fuse/b2fuse_main.py\", line 430, in write\r\n>     self.open_files[path].set_dirty(True)\r\n> TypeError: __init__() takes at least 3 arguments (1 given)\r\n> Traceback (most recent call last):\r\n>   File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 495, in _wrapper\r\n>     return func(*args, **kwargs) or 0\r\n>   File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 621, in flush\r\n>     return self.operations('flush', self._decode_optional_path(path), fh)\r\n>   File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 800, in __call__\r\n>     return getattr(self, op)(*args)\r\n>   File \"/home/durr/b2/b2_fuse/b2fuse_main.py\", line 445, in flush\r\n>     self.open_files[self._remove_start_slash(path)].upload()\r\n> TypeError: __init__() takes at least 3 arguments (1 given)\r\n> Traceback (most recent call last):\r\n>   File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 495, in _wrapper\r\n>     return func(*args, **kwargs) or 0\r\n>   File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 629, in release\r\n>     return self.operations('release', self._decode_optional_path(path), fh)\r\n>   File \"/usr/local/lib/python2.7/dist-packages/fuse.py\", line 800, in __call__\r\n>     return getattr(self, op)(*args)\r\n>   File \"/home/durr/b2/b2_fuse/b2fuse_main.py\", line 451, in release\r\n>     self.flush(self._remove_start_slash(path), fh)\r\n>   File \"/home/durr/b2/b2_fuse/b2fuse_main.py\", line 445, in flush\r\n>     self.open_files[self._remove_start_slash(path)].upload()\r\n> TypeError: __init__() takes at least 3 arguments (1 given)\r\n> "}}
{"actor":{"display_login":"Fibroblasto"}}