{"action":"created","issue":{"url":"https://api.github.com/repos/SickRage/SickRage/issues/1845","repository_url":"https://api.github.com/repos/SickRage/SickRage","labels_url":"https://api.github.com/repos/SickRage/SickRage/issues/1845/labels{/name}","comments_url":"https://api.github.com/repos/SickRage/SickRage/issues/1845/comments","events_url":"https://api.github.com/repos/SickRage/SickRage/issues/1845/events","html_url":"https://github.com/SickRage/SickRage/issues/1845","id":156433578,"number":1845,"title":"Manual post processing does not work, path error?","user":{"login":"perara","id":3774846,"avatar_url":"https://avatars.githubusercontent.com/u/3774846?v=3","gravatar_id":"","url":"https://api.github.com/users/perara","html_url":"https://github.com/perara","followers_url":"https://api.github.com/users/perara/followers","following_url":"https://api.github.com/users/perara/following{/other_user}","gists_url":"https://api.github.com/users/perara/gists{/gist_id}","starred_url":"https://api.github.com/users/perara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perara/subscriptions","organizations_url":"https://api.github.com/users/perara/orgs","repos_url":"https://api.github.com/users/perara/repos","events_url":"https://api.github.com/users/perara/events{/privacy}","received_events_url":"https://api.github.com/users/perara/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SickRage/SickRage/labels/Question","name":"Question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-05-24T07:03:05Z","updated_at":"2016-08-27T21:29:08Z","closed_at":null,"body":"### Before submitting your issue:\r\n\r\nEnable debug logging in SickRage settings, reproduce the error (be sure to disable after the bug is fixed)\r\n\r\nBranch/Commit: ffcea549ea699fb27937324c8f33bd91da264ce4\r\nOS: Ubuntu 14.04\r\nWhat you did: Manual Post Processing -> Run\r\nWhat happened: For some reason, \"SickRage\" is appended in the directory path. My path is set to \"/mnt/Torrent/Sickbeard/\" however SickRage appends itself to the path.\r\nWhat you expected: To be able to post process correctly\r\nLogs:\r\n```\r\nError\r\n\r\n[Errno 2] No such file or directory: '/mnt/Torrent/Sickbeard/SickRage'\r\n\r\nTraceback\r\n\r\nTraceback (most recent call last): \r\nFile \"/sickrage/lib/tornado/web.py\", line 1415, in _execute result = yield result \r\nFile \"/sickrage/lib/tornado/gen.py\", line 870, in run value = future.result() \r\nFile \"/sickrage/lib/tornado/concurrent.py\", line 215, in result raise_exc_info(self._exc_info) \r\nFile \"/sickrage/lib/tornado/gen.py\", line 876, in run yielded = self.gen.throw(*exc_info) \r\nFile \"/sickrage/sickbeard/webserve.py\", line 254, in get results = yield self.async_call(method) \r\nFile \"/sickrage/lib/tornado/gen.py\", line 870, in run value = future.result() \r\nFile \"/sickrage/lib/concurrent/futures/_base.py\", line 400, in result return self.__get_result() \r\nFile \"/sickrage/lib/concurrent/futures/_base.py\", line 359, in __get_result reraise(self._exception, self._traceback) \r\nFile \"/sickrage/lib/concurrent/futures/_compat.py\", line 107, in reraise exec('raise exc_type, exc_value, traceback', {}, locals_) \r\nFile \"/sickrage/lib/concurrent/futures/thread.py\", line 61, in run result = self.fn(*self.args, **self.kwargs) \r\nFile \"/sickrage/sickbeard/webserve.py\", line 270, in async_call result = function(**kwargs) \r\nFile \"/sickrage/sickbeard/webserve.py\", line 2291, in processEpisode is_priority=argToBool(is_priority), delete_on=argToBool(delete_on), failed=argToBool(failed), proc_type=proc_type \r\nFile \"/sickrage/sickbeard/processTV.py\", line 290, in processDir process_media(processPath, videoFiles, nzbName, process_method, force, is_priority, result) \r\nFile \"/sickrage/sickbeard/processTV.py\", line 560, in process_media result.result = processor.process() \r\nFile \"/sickrage/sickbeard/postProcessor.py\", line 1027, in process if not verify_freespace(self.file_path, ep_obj.show._location, [ep_obj] + ep_obj.relatedEps, method=self.process_method): # pylint: disable=protected-access \r\nFile \"/sickrage/sickbeard/helpers.py\", line 1578, in verify_freespace if method == \"move\" and ek(os.stat, src).st_dev == ek(os.stat, dest if ek(os.path.exists, dest) else ek(os.path.dirname, dest)).st_dev: # pylint: disable=no-member \r\nFile \"/sickrage/sickrage/helper/encoding.py\", line 40, in ek result = function(*[ss(x) if isinstance(x, (str, unicode)) else x for x in args], **kwargs) \r\nOSError: [Errno 2] No such file or directory: '/mnt/Torrent/Sickbeard/SickRage' \r\n\r\nRequest Info\r\n\r\nbody: proc_dir=%2Fmnt%2FTorrent%2FSickbeard&process_method=move&is_priority=on\r\nfiles: {}\r\nprotocol: http\r\nconnection: \r\nbody_arguments: {'is_priority': ['on'], 'proc_dir': ['/mnt/Torrent/Sickbeard'], 'process_method': ['move']}\r\nuri: /home/postprocess/processEpisode\r\nquery_arguments: {}\r\n_start_time: 1464073203.26\r\nheaders: {'Origin': 'http://sickrage.persoft.no', 'Content-Length': '72', 'Accept-Language': 'nb-NO,nb;q=0.8,no;q=0.6,nn;q=0.4,en-US;q=0.2,en;q=0.2', 'Accept-Encoding': 'gzip, deflate', 'Connection': 'close', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'Upgrade-Insecure-Requests': '1', 'Host': 'torrent.hgsd.persoft.lan:8081', 'Referer': 'http://sickrage.persoft.no/home/postprocess/', 'Cache-Control': 'max-age=0', 'Cookie': '_ga=GA1.2.2070465739.1461604730; sickrage_user=\"2|1:0|10:1463540059|13:sickrage_user|44:YTc5YmY5MzkwM2JjMDUxNjAwYjA4ZDc0YTBhODNkN2M=|f5d6391c265cbc6fafddbc9837597a1596067801b1c36a83295c8c49f8c7f925\"', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36', 'Content-Type': 'application/x-www-form-urlencoded'}\r\nhost: torrent.hgsd.persoft.lan:8081\r\nversion: HTTP/1.0\r\narguments: {'is_priority': 'on', 'proc_dir': '/mnt/Torrent/Sickbeard', 'process_method': 'move'}\r\n_finish_time: None\r\nquery: \r\npath: /home/postprocess/processEpisode\r\n_cookies: Set-Cookie: _ga=GA1.2.2070465739.1461604730 Set-Cookie: sickrage_user=\"2|1:0|10:1463540059|13:sickrage_user|44:YTc5YmY5MzkwM2JjMDUxNjAwYjA4ZDc0YTBhODNkN2M=|f5d6391c265cbc6fafddbc9837597a1596067801b1c36a83295c8c49f8c7f925\"\r\nmethod: POST\r\nremote_ip: 192.168.10.26\r\n\r\nView Log(Errors)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/SickRage/SickRage/issues/comments/242941907","html_url":"https://github.com/SickRage/SickRage/issues/1845#issuecomment-242941907","issue_url":"https://api.github.com/repos/SickRage/SickRage/issues/1845","id":242941907,"user":{"login":"Naushi","id":3278271,"avatar_url":"https://avatars.githubusercontent.com/u/3278271?v=3","gravatar_id":"","url":"https://api.github.com/users/Naushi","html_url":"https://github.com/Naushi","followers_url":"https://api.github.com/users/Naushi/followers","following_url":"https://api.github.com/users/Naushi/following{/other_user}","gists_url":"https://api.github.com/users/Naushi/gists{/gist_id}","starred_url":"https://api.github.com/users/Naushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naushi/subscriptions","organizations_url":"https://api.github.com/users/Naushi/orgs","repos_url":"https://api.github.com/users/Naushi/repos","events_url":"https://api.github.com/users/Naushi/events{/privacy}","received_events_url":"https://api.github.com/users/Naushi/received_events","type":"User","site_admin":false},"created_at":"2016-08-27T21:29:08Z","updated_at":"2016-08-27T21:29:08Z","body":"I have the same issue on my NAS, did anyone have a fix? (no reverse proxy, just Sickrage on a Synology)"}}
{"actor":{"display_login":"Naushi"}}