{"action":"created","issue":{"url":"https://api.github.com/repos/JoakimSoderberg/imageclipper/issues/6","labels_url":"https://api.github.com/repos/JoakimSoderberg/imageclipper/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/JoakimSoderberg/imageclipper/issues/6/comments","events_url":"https://api.github.com/repos/JoakimSoderberg/imageclipper/issues/6/events","html_url":"https://github.com/JoakimSoderberg/imageclipper/issues/6","id":57726394,"number":6,"title":"boost::filesystem::filesystem_error","user":{"login":"joemathai","id":4101751,"avatar_url":"https://avatars.githubusercontent.com/u/4101751?v=3","gravatar_id":"","url":"https://api.github.com/users/joemathai","html_url":"https://github.com/joemathai","followers_url":"https://api.github.com/users/joemathai/followers","following_url":"https://api.github.com/users/joemathai/following{/other_user}","gists_url":"https://api.github.com/users/joemathai/gists{/gist_id}","starred_url":"https://api.github.com/users/joemathai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joemathai/subscriptions","organizations_url":"https://api.github.com/users/joemathai/orgs","repos_url":"https://api.github.com/users/joemathai/repos","events_url":"https://api.github.com/users/joemathai/events{/privacy}","received_events_url":"https://api.github.com/users/joemathai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-15T10:54:44Z","updated_at":"2015-02-16T10:07:11Z","closed_at":null,"body":"when i try to save the cropped image i get the following error (Ubunutu 14.10)\r\n\r\nterminate called after throwing an instance of 'boost::filesystem::filesystem_error'\r\n  what():  boost::filesystem::create_directory: File exists: \"./imageclipper\"\r\n[3]    13127 abort (core dumped)  ./imageclipper\r\n"},"comment":{"url":"https://api.github.com/repos/JoakimSoderberg/imageclipper/issues/comments/74484969","html_url":"https://github.com/JoakimSoderberg/imageclipper/issues/6#issuecomment-74484969","issue_url":"https://api.github.com/repos/JoakimSoderberg/imageclipper/issues/6","id":74484969,"user":{"login":"JoakimSoderberg","id":1446626,"avatar_url":"https://avatars.githubusercontent.com/u/1446626?v=3","gravatar_id":"","url":"https://api.github.com/users/JoakimSoderberg","html_url":"https://github.com/JoakimSoderberg","followers_url":"https://api.github.com/users/JoakimSoderberg/followers","following_url":"https://api.github.com/users/JoakimSoderberg/following{/other_user}","gists_url":"https://api.github.com/users/JoakimSoderberg/gists{/gist_id}","starred_url":"https://api.github.com/users/JoakimSoderberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoakimSoderberg/subscriptions","organizations_url":"https://api.github.com/users/JoakimSoderberg/orgs","repos_url":"https://api.github.com/users/JoakimSoderberg/repos","events_url":"https://api.github.com/users/JoakimSoderberg/events{/privacy}","received_events_url":"https://api.github.com/users/JoakimSoderberg/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T10:07:11Z","updated_at":"2015-02-16T10:07:11Z","body":"Hello,\r\n\r\nAre you running the program from the same directory as your images are in? The default sub-directory `imageclipper` tries to create will be named `path/to/image/files/imageclipper`. So if you already have the executable in that directory named `imageclipper`, it fails to create the directory.\r\n\r\nSolution:\r\n1. Run the program from another directory than where you have your images.\r\n2. Change the output format using `-o`\r\n\r\nThe default output format is:\r\nhttps://github.com/JoakimSoderberg/imageclipper/blob/master/src/imageclipper.cpp#L127\r\n\r\nUse `--help` for more info on the output format."}}