{"action":"opened","issue":{"url":"https://api.github.com/repos/RuudBurger/CouchPotatoServer/issues/5803","labels_url":"https://api.github.com/repos/RuudBurger/CouchPotatoServer/issues/5803/labels{/name}","comments_url":"https://api.github.com/repos/RuudBurger/CouchPotatoServer/issues/5803/comments","events_url":"https://api.github.com/repos/RuudBurger/CouchPotatoServer/issues/5803/events","html_url":"https://github.com/RuudBurger/CouchPotatoServer/issues/5803","id":122930623,"number":5803,"title":"Latest Couch Potato fails renaming movies with swedish characters in title","user":{"login":"Arken77","id":16349803,"avatar_url":"https://avatars.githubusercontent.com/u/16349803?v=3","gravatar_id":"","url":"https://api.github.com/users/Arken77","html_url":"https://github.com/Arken77","followers_url":"https://api.github.com/users/Arken77/followers","following_url":"https://api.github.com/users/Arken77/following{/other_user}","gists_url":"https://api.github.com/users/Arken77/gists{/gist_id}","starred_url":"https://api.github.com/users/Arken77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arken77/subscriptions","organizations_url":"https://api.github.com/users/Arken77/orgs","repos_url":"https://api.github.com/users/Arken77/repos","events_url":"https://api.github.com/users/Arken77/events{/privacy}","received_events_url":"https://api.github.com/users/Arken77/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-18T11:20:18Z","updated_at":"2015-12-18T11:20:18Z","closed_at":null,"body":"### Steps to reproduce:\r\n1. Have Couch Potato get a movie with title with swedish characters like \"Hur många kramar finns det i världen\" for example (it will probobly be the same with other foreign characters). \r\n2. See Couch Potato fail to properly rename the movie and try create folder with strange characters in the folder name.\r\n\r\n### Information:\r\nMovie(s) I have this with: Hur många kramar finns det i världen\r\nQuality of the movie being searched: Best\r\nProviders I use: Kickass torrent and nzb. Problem is with the renaming afterward, movies download just fine.\r\nVersion of CouchPotato: source:(RuudBurger:CouchPotatoServer master) de141aae (2015-11-17 21:32:28)\r\nRunning on: Ubuntu server 14.04.3 LTS\r\n\r\n### Logs:\r\n```\r\n12-17 15:59:25 ERROR [tato.core.plugins.renamer] Couldn't move file \"/share/downloads/complete/movies/Hur.manga.kramar.finns.det.i.varlden.2013.SWEDISH.720p.BluRay.x264-GNISTOR.cp(tt2846974)/Subs/Hur.manga.kramar.finns.det.i.varlden.2013.SWEDISH.720p.BluRay.x264-GNISTOR.idx\" to \"/share/movies/Hur m책nga kramar finns det i v채rlden (2013) 688/Hur m책nga kramar finns det i v채rlden.idx\": Traceback (most recent call last):\r\n  File \"/opt/couchpotatoserver/couchpotato/core/plugins/renamer.py\", line 829, in moveFile\r\n    shutil.move(old, dest)\r\n  File \"/usr/lib/python2.7/shutil.py\", line 302, in move\r\n    copy2(src, real_dst)\r\n  File \"/usr/lib/python2.7/shutil.py\", line 130, in copy2\r\n    copyfile(src, dst)\r\n  File \"/usr/lib/python2.7/shutil.py\", line 83, in copyfile\r\n    with open(dst, 'wb') as fdst:\r\nIOError: [Errno 2] No such file or directory: '/share/movies/Hur m\\xec\\xb1\\x85nga kramar finns det i v\\xec\\xb1\\x84rlden (2013) 688/Hur m\\xec\\xb1\\x85nga kramar finns det i v\\xec\\xb1\\x84rlden.idx'\r\n \r\n12-17 15:59:25 ERROR [tato.core.plugins.renamer] Failed renaming the file \"Hur.manga.kramar.finns.det.i.varlden.2013.SWEDISH.720p.BluRay.x264-GNISTOR.idx\" : Traceback (most recent call last):\r\n  File \"/opt/couchpotatoserver/couchpotato/core/plugins/renamer.py\", line 625, in scan\r\n    self.moveFile(src, dst, use_default = not is_torrent or self.fileIsAdded(src, group))\r\n  File \"/opt/couchpotatoserver/couchpotato/core/plugins/renamer.py\", line 829, in moveFile\r\n    shutil.move(old, dest)\r\n  File \"/usr/lib/python2.7/shutil.py\", line 302, in move\r\n    copy2(src, real_dst)\r\n  File \"/usr/lib/python2.7/shutil.py\", line 130, in copy2\r\n    copyfile(src, dst)\r\n  File \"/usr/lib/python2.7/shutil.py\", line 83, in copyfile\r\n    with open(dst, 'wb') as fdst:\r\nIOError: [Errno 2] No such file or directory: '/share/movies/Hur m\\xec\\xb1\\x85nga kramar finns det i v\\xec\\xb1\\x84rlden (2013) 688/Hur m\\xec\\xb1\\x85nga kramar finns det i v\\xec\\xb1\\x84rlden.idx'\r\n \r\n```"}}