{"action":"created","issue":{"url":"https://api.github.com/repos/bit-team/backintime/issues/436","labels_url":"https://api.github.com/repos/bit-team/backintime/issues/436/labels{/name}","comments_url":"https://api.github.com/repos/bit-team/backintime/issues/436/comments","events_url":"https://api.github.com/repos/bit-team/backintime/issues/436/events","html_url":"https://github.com/bit-team/backintime/issues/436","id":110869708,"number":436,"title":"Backintime crashes when trying to free space","user":{"login":"Germar","id":2731999,"avatar_url":"https://avatars.githubusercontent.com/u/2731999?v=3","gravatar_id":"","url":"https://api.github.com/users/Germar","html_url":"https://github.com/Germar","followers_url":"https://api.github.com/users/Germar/followers","following_url":"https://api.github.com/users/Germar/following{/other_user}","gists_url":"https://api.github.com/users/Germar/gists{/gist_id}","starred_url":"https://api.github.com/users/Germar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Germar/subscriptions","organizations_url":"https://api.github.com/users/Germar/orgs","repos_url":"https://api.github.com/users/Germar/repos","events_url":"https://api.github.com/users/Germar/events{/privacy}","received_events_url":"https://api.github.com/users/Germar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bit-team/backintime/labels/Fix%20Released","name":"Fix Released","color":"ddffdd"},{"url":"https://api.github.com/repos/bit-team/backintime/labels/Undecided","name":"Undecided","color":"ffdddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-11T17:18:57Z","updated_at":"2015-10-11T21:46:37Z","closed_at":null,"body":"Backintime, ran with \n\nsudo backintime-kde4 --config /root/.config/backintime/config --profile-id 1 -b\n\nquits with \n\nINFO: Keep min free disk space: 1024 Mb\nTraceback (most recent call last):\n  File \"/usr/share/backintime/common/backintime.py\", line 405, in <module>\n    start_app()\n  File \"/usr/share/backintime/common/backintime.py\", line 183, in start_app\n    take_snapshot( cfg, True )\n  File \"/usr/share/backintime/common/backintime.py\", line 56, in take_snapshot\n    snapshots.Snapshots( cfg ).take_snapshot( force )\n  File \"/usr/share/backintime/common/snapshots.py\", line 949, in take_snapshot\n    self._free_space( now )\n  File \"/usr/share/backintime/common/snapshots.py\", line 1603, in _free_space\n    info = os.statvfs( self.config.get_snapshots_path() )\nOSError: [Errno 95] Operation not supported: '/tmp/backintime/root/1_11200'\n\nIt is apparent that there is no error handling after os.statvfs. I tried to reproduce the bug in a short python script after running backintime (using the mounted path):\n\nimport os\nimport statvfs\n\nos.stat(\"/tmp/backintime/root/1_11200\")\n\ninfo = os.statvfs(\"/tmp/backintime/root/1_11200\")\nfree_space = info[ statvfs.F_FRSIZE ] * info[ statvfs.F_BAVAIL ] / ( 1024 * 1024 )\n\nSurprisingly this does not produce any errors.\n\nMy backintime is from ubuntu packages, version: 1.0.34 ."},"comment":{"url":"https://api.github.com/repos/bit-team/backintime/issues/comments/147249090","html_url":"https://github.com/bit-team/backintime/issues/436#issuecomment-147249090","issue_url":"https://api.github.com/repos/bit-team/backintime/issues/436","id":147249090,"user":{"login":"Germar","id":2731999,"avatar_url":"https://avatars.githubusercontent.com/u/2731999?v=3","gravatar_id":"","url":"https://api.github.com/users/Germar","html_url":"https://github.com/Germar","followers_url":"https://api.github.com/users/Germar/followers","following_url":"https://api.github.com/users/Germar/following{/other_user}","gists_url":"https://api.github.com/users/Germar/gists{/gist_id}","starred_url":"https://api.github.com/users/Germar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Germar/subscriptions","organizations_url":"https://api.github.com/users/Germar/orgs","repos_url":"https://api.github.com/users/Germar/repos","events_url":"https://api.github.com/users/Germar/events{/privacy}","received_events_url":"https://api.github.com/users/Germar/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T21:46:37Z","updated_at":"2015-10-11T21:46:37Z","body":"(by hohenegger)\nThe command \nkdesudo \"backintime -b\"\nnever seems to finish (it does not print any output either). I am not sure if it reads the correct configuration.\n\nThe command \nkdesudo 'backintime--config /root/.config/backintime/config --profile-id 1 -b'\n\nprints\n\nCould not open a connection to your authentication agent.\nCould not open a connection to your authentication agent.\nERROR: Could not unlock ssh private key. Wrong password or password not available for cron.\n\nand some more errors.\n\nAm I doing something wrong?\n\nPlease note that I was running the python code quoted above with sudo as well. \n\nUsing kdesudo would also mean that I would need a graphical login to run it, wouldn't it?\n"}}