{"action":"created","issue":{"url":"https://api.github.com/repos/jborg/attic/issues/122","labels_url":"https://api.github.com/repos/jborg/attic/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/jborg/attic/issues/122/comments","events_url":"https://api.github.com/repos/jborg/attic/issues/122/events","html_url":"https://github.com/jborg/attic/issues/122","id":46265339,"number":122,"title":"Crash when transmitting data to a non-local file system","user":{"login":"SailorOrion","id":9049656,"avatar_url":"https://avatars.githubusercontent.com/u/9049656?v=3","gravatar_id":"","url":"https://api.github.com/users/SailorOrion","html_url":"https://github.com/SailorOrion","followers_url":"https://api.github.com/users/SailorOrion/followers","following_url":"https://api.github.com/users/SailorOrion/following{/other_user}","gists_url":"https://api.github.com/users/SailorOrion/gists{/gist_id}","starred_url":"https://api.github.com/users/SailorOrion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SailorOrion/subscriptions","organizations_url":"https://api.github.com/users/SailorOrion/orgs","repos_url":"https://api.github.com/users/SailorOrion/repos","events_url":"https://api.github.com/users/SailorOrion/events{/privacy}","received_events_url":"https://api.github.com/users/SailorOrion/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-10-20T12:19:13Z","updated_at":"2015-04-18T16:21:22Z","closed_at":"2015-04-18T16:21:22Z","body":"When backing up my root file system (initial backup. so empty repo) the process crashes after a random time with the following stacktrace:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/attic\", line 3, in <module>\r\n    main()\r\n  File \"/usr/lib/python3/dist-packages/attic/archiver.py\", line 715, in main\r\n    exit_code = archiver.run(sys.argv[1:])\r\n  File \"/usr/lib/python3/dist-packages/attic/archiver.py\", line 705, in run\r\n    return args.func(args)\r\n  File \"/usr/lib/python3/dist-packages/attic/archiver.py\", line 128, in do_create\r\n    self._process(archive, cache, args.excludes, args.exclude_caches, skip_inodes, path, restrict_dev)\r\n  File \"/usr/lib/python3/dist-packages/attic/archiver.py\", line 177, in _process\r\n    os.path.join(path, filename), restrict_dev)\r\n  File \"/usr/lib/python3/dist-packages/attic/archiver.py\", line 177, in _process\r\n    os.path.join(path, filename), restrict_dev)\r\n  File \"/usr/lib/python3/dist-packages/attic/archiver.py\", line 163, in _process\r\n    archive.process_file(path, st, cache)\r\n  File \"/usr/lib/python3/dist-packages/attic/archive.py\", line 408, in process_file\r\n    self.add_item(item)\r\n  File \"/usr/lib/python3/dist-packages/attic/archive.py\", line 170, in add_item\r\n    self.write_checkpoint()\r\n  File \"/usr/lib/python3/dist-packages/attic/archive.py\", line 174, in write_checkpoint\r\n    self.save(self.checkpoint_name)\r\n  File \"/usr/lib/python3/dist-packages/attic/archive.py\", line 196, in save\r\n    self.manifest.write()\r\n  File \"/usr/lib/python3/dist-packages/attic/helpers.py\", line 121, in write\r\n    self.repository.put(self.MANIFEST_ID, self.key.encrypt(data))\r\n  File \"/usr/lib/python3/dist-packages/attic/remote.py\", line 235, in put\r\n    return self.call('put', id_, data, wait=wait)\r\n  File \"/usr/lib/python3/dist-packages/attic/remote.py\", line 127, in call\r\n    for resp in self.call_many(cmd, [args], **kw):\r\n  File \"/usr/lib/python3/dist-packages/attic/remote.py\", line 158, in call_many\r\n    raise self.RPCError(error)\r\nattic.remote.RPCError: b'AttributeError'\r\n\r\nIt happens every time (about 15 attempts now, some with a clean repo, some with as a resume of the previous failed attempt), and every time on another file.\r\n\r\nSetup:\r\nHost system with connected CIFS (a synology box), a VM inside that backs up via ssh to the host system. Both systems are running ubuntu server 14.04.1 LTS using python 3.4.0.\r\nIt happens both with and without encryption\r\n\r\nAny ideas what I'm doing wrong?\r\n"},"comment":{"url":"https://api.github.com/repos/jborg/attic/issues/comments/94178283","html_url":"https://github.com/jborg/attic/issues/122#issuecomment-94178283","issue_url":"https://api.github.com/repos/jborg/attic/issues/122","id":94178283,"user":{"login":"SailorOrion","id":9049656,"avatar_url":"https://avatars.githubusercontent.com/u/9049656?v=3","gravatar_id":"","url":"https://api.github.com/users/SailorOrion","html_url":"https://github.com/SailorOrion","followers_url":"https://api.github.com/users/SailorOrion/followers","following_url":"https://api.github.com/users/SailorOrion/following{/other_user}","gists_url":"https://api.github.com/users/SailorOrion/gists{/gist_id}","starred_url":"https://api.github.com/users/SailorOrion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SailorOrion/subscriptions","organizations_url":"https://api.github.com/users/SailorOrion/orgs","repos_url":"https://api.github.com/users/SailorOrion/repos","events_url":"https://api.github.com/users/SailorOrion/events{/privacy}","received_events_url":"https://api.github.com/users/SailorOrion/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T16:21:22Z","updated_at":"2015-04-18T16:21:22Z","body":"After updating the 'host' (A Synology box), I cannot seem to reproduce any problem with CIFS either. Hence closing"}}