{"action":"created","issue":{"url":"https://api.github.com/repos/SelfControlApp/selfcontrol/issues/284","labels_url":"https://api.github.com/repos/SelfControlApp/selfcontrol/issues/284/labels{/name}","comments_url":"https://api.github.com/repos/SelfControlApp/selfcontrol/issues/284/comments","events_url":"https://api.github.com/repos/SelfControlApp/selfcontrol/issues/284/events","html_url":"https://github.com/SelfControlApp/selfcontrol/issues/284","id":87358128,"number":284,"title":"start from command line...","user":{"login":"thleonardo","id":1489170,"avatar_url":"https://avatars.githubusercontent.com/u/1489170?v=3","gravatar_id":"","url":"https://api.github.com/users/thleonardo","html_url":"https://github.com/thleonardo","followers_url":"https://api.github.com/users/thleonardo/followers","following_url":"https://api.github.com/users/thleonardo/following{/other_user}","gists_url":"https://api.github.com/users/thleonardo/gists{/gist_id}","starred_url":"https://api.github.com/users/thleonardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thleonardo/subscriptions","organizations_url":"https://api.github.com/users/thleonardo/orgs","repos_url":"https://api.github.com/users/thleonardo/repos","events_url":"https://api.github.com/users/thleonardo/events{/privacy}","received_events_url":"https://api.github.com/users/thleonardo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-11T14:03:32Z","updated_at":"2015-12-07T01:02:33Z","closed_at":"2015-12-07T01:02:32Z","body":"As others had reported before, there are errors when trying to start selfcontrol from the command line. \r\n\r\nI tried to find the problem by downloading the source code...\r\n\r\n1) If the defaults do not specify a BlockStartedDate (as proposed...) I get the error\r\n\r\n ERROR: Not enough block information.\r\n\r\nIt turns out to be at the place in the source code\r\n\r\n[lockDictionary[@\"BlockStartedDate\"] isEqualToDate: [NSDate distantFuture]\r\n\r\n... so the BlockStartedDate is set to \"distantFuture\" by default... and stops the operation for being \"distantFuture\".\r\n\r\n2) If I do specify something for BlockStartedDate (e. g., some date value formatted in the same way as the software writes it to the defaults), then it crashes due to some problem with the \"isEqualToDate\" method when it first tries to compare the two dates...\r\n\r\nSo... was anyone successful to start SelfControl from the command line?\r\n\r\nThomas"},"comment":{"url":"https://api.github.com/repos/SelfControlApp/selfcontrol/issues/comments/162382690","html_url":"https://github.com/SelfControlApp/selfcontrol/issues/284#issuecomment-162382690","issue_url":"https://api.github.com/repos/SelfControlApp/selfcontrol/issues/284","id":162382690,"user":{"login":"cstigler","id":67932,"avatar_url":"https://avatars.githubusercontent.com/u/67932?v=3","gravatar_id":"","url":"https://api.github.com/users/cstigler","html_url":"https://github.com/cstigler","followers_url":"https://api.github.com/users/cstigler/followers","following_url":"https://api.github.com/users/cstigler/following{/other_user}","gists_url":"https://api.github.com/users/cstigler/gists{/gist_id}","starred_url":"https://api.github.com/users/cstigler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cstigler/subscriptions","organizations_url":"https://api.github.com/users/cstigler/orgs","repos_url":"https://api.github.com/users/cstigler/repos","events_url":"https://api.github.com/users/cstigler/events{/privacy}","received_events_url":"https://api.github.com/users/cstigler/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T01:02:32Z","updated_at":"2015-12-07T01:02:32Z","body":"Seems to be fixed now thanks to @andreasgrill !"}}