{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/2605","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2605/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2605/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2605/events","html_url":"https://github.com/spyder-ide/spyder/issues/2605","id":100091515,"number":2605,"title":"Spyder will not load due to utf8 encoding problem","user":{"login":"PlokavianNerveGas","id":13733240,"avatar_url":"https://avatars.githubusercontent.com/u/13733240?v=3","gravatar_id":"","url":"https://api.github.com/users/PlokavianNerveGas","html_url":"https://github.com/PlokavianNerveGas","followers_url":"https://api.github.com/users/PlokavianNerveGas/followers","following_url":"https://api.github.com/users/PlokavianNerveGas/following{/other_user}","gists_url":"https://api.github.com/users/PlokavianNerveGas/gists{/gist_id}","starred_url":"https://api.github.com/users/PlokavianNerveGas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlokavianNerveGas/subscriptions","organizations_url":"https://api.github.com/users/PlokavianNerveGas/orgs","repos_url":"https://api.github.com/users/PlokavianNerveGas/repos","events_url":"https://api.github.com/users/PlokavianNerveGas/events{/privacy}","received_events_url":"https://api.github.com/users/PlokavianNerveGas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/spyder-ide/spyder/milestones/22","html_url":"https://github.com/spyder-ide/spyder/milestones/v3.1","labels_url":"https://api.github.com/repos/spyder-ide/spyder/milestones/22/labels","id":1158865,"number":22,"title":"v3.1","description":"","creator":{"login":"goanpeca","id":3627835,"avatar_url":"https://avatars.githubusercontent.com/u/3627835?v=3","gravatar_id":"","url":"https://api.github.com/users/goanpeca","html_url":"https://github.com/goanpeca","followers_url":"https://api.github.com/users/goanpeca/followers","following_url":"https://api.github.com/users/goanpeca/following{/other_user}","gists_url":"https://api.github.com/users/goanpeca/gists{/gist_id}","starred_url":"https://api.github.com/users/goanpeca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goanpeca/subscriptions","organizations_url":"https://api.github.com/users/goanpeca/orgs","repos_url":"https://api.github.com/users/goanpeca/repos","events_url":"https://api.github.com/users/goanpeca/events{/privacy}","received_events_url":"https://api.github.com/users/goanpeca/received_events","type":"User","site_admin":false},"open_issues":67,"closed_issues":0,"state":"open","created_at":"2015-06-10T16:03:57Z","updated_at":"2015-08-13T16:16:21Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-08-10T15:16:29Z","updated_at":"2015-08-13T17:12:06Z","closed_at":null,"body":"Hi,\r\nI am unable to get spyder to load. I am running windows 7, 64 bit.\r\n\r\nI have installed  Anaconda-2.3.0 64 bit and have attempted to run the bundled spyder.\r\nI have also tried the latest separate spyder build and encoutered the exact same issue.\r\n\r\nWhen running spyder via cmd I recieve the following error message:\r\n\r\n```python-traceback\r\nTraceback (most recent call last):\r\n  File \"C:\\Anaconda\\scripts\\spyder\", line 2, in <module>\r\n    from spyderlib import start_app\r\n  File \"C:\\Anaconda\\lib\\site-packages\\spyderlib\\start_app.py\", line 13, in <modu\r\nle>\r\n    from spyderlib.config import CONF\r\n  File \"C:\\Anaconda\\lib\\site-packages\\spyderlib\\config.py\", line 718, in <module\r\n>\r\n    subfolder=SUBFOLDER, backup=True, raw_mode=True)\r\n  File \"C:\\Anaconda\\lib\\site-packages\\spyderlib\\userconfig.py\", line 215, in __i\r\nnit__\r\n    self.load_from_ini()\r\n  File \"C:\\Anaconda\\lib\\site-packages\\spyderlib\\userconfig.py\", line 260, in loa\r\nd_from_ini\r\n    self.readfp(configfile)\r\n  File \"C:\\Anaconda\\lib\\ConfigParser.py\", line 324, in readfp\r\n    self._read(fp, filename)\r\n  File \"C:\\Anaconda\\lib\\ConfigParser.py\", line 479, in _read\r\n    line = fp.readline()\r\n  File \"C:\\Anaconda\\lib\\codecs.py\", line 678, in readline\r\n    return self.reader.readline(size)\r\n  File \"C:\\Anaconda\\lib\\codecs.py\", line 533, in readline\r\n    data = self.read(readsize, firstline=True)\r\n  File \"C:\\Anaconda\\lib\\codecs.py\", line 480, in read\r\n    newchars, decodedbytes = self.decode(data, self.errors)\r\nUnicodeDecodeError: 'utf8' codec can't decode byte 0xe8 in position 59: invalid\r\ncontinuation byte\r\n```\r\n\r\nIs there some way to fix this?\r\nThanks"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/130764180","html_url":"https://github.com/spyder-ide/spyder/issues/2605#issuecomment-130764180","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2605","id":130764180,"user":{"login":"gq9545","id":11779981,"avatar_url":"https://avatars.githubusercontent.com/u/11779981?v=3","gravatar_id":"","url":"https://api.github.com/users/gq9545","html_url":"https://github.com/gq9545","followers_url":"https://api.github.com/users/gq9545/followers","following_url":"https://api.github.com/users/gq9545/following{/other_user}","gists_url":"https://api.github.com/users/gq9545/gists{/gist_id}","starred_url":"https://api.github.com/users/gq9545/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gq9545/subscriptions","organizations_url":"https://api.github.com/users/gq9545/orgs","repos_url":"https://api.github.com/users/gq9545/repos","events_url":"https://api.github.com/users/gq9545/events{/privacy}","received_events_url":"https://api.github.com/users/gq9545/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T17:12:06Z","updated_at":"2015-08-13T17:12:06Z","body":"I got a similar issue. I ran a file in Spyder but it encounters the _UnicodeDecodeError_. However, it works when I ran it in command line. Some details are as follows.   \r\n\r\nI downloaded a Python [module](http://www.daimi.au.dk/~mailund/suffix_tree.html) that wraps a C implementation of a suffix tree. After built, it was ran in Spyder but I got the following error:\r\n\r\n> runfile('F:/src/suffix_tree-2.1/build/lib.win32-2.7/suffix_tree.py',\r\n> wdir='F:/src/suffix_tree-2.1/build/lib.win32-2.7')\r\n> Traceback (most recent call last):\r\n> \r\n>   File\r\n> \"G:\\IDE\\python\\Anaconda\\lib\\site-packages\\IPython\\core\\interactiveshell.py\",\r\n> line 3052, in run_code\r\n>     self.showtraceback()\r\n> \r\n>   File\r\n> \"G:\\IDE\\python\\Anaconda\\lib\\site-packages\\IPython\\core\\interactiveshell.py\",\r\n> line 1851, in showtraceback\r\n>     value, tb, tb_offset=tb_offset)\r\n> \r\n>   File\r\n> \"G:\\IDE\\python\\Anaconda\\lib\\site-packages\\IPython\\core\\ultratb.py\",\r\n> line 1240, in structured_traceback\r\n>     self, etype, value, tb, tb_offset, number_of_lines_of_context)\r\n> \r\n>   File\r\n> \"G:\\IDE\\python\\Anaconda\\lib\\site-packages\\IPython\\core\\ultratb.py\",\r\n> line 1157, in structured_traceback\r\n>     self, etype, value, elist, tb_offset, number_of_lines_of_context\r\n> \r\n>   File\r\n> \"G:\\IDE\\python\\Anaconda\\lib\\site-packages\\IPython\\core\\ultratb.py\",\r\n> line 511, in structured_traceback\r\n>     lines = ''.join(self._format_exception_only(etype, value))\r\n> \r\n>   File\r\n> \"G:\\IDE\\python\\Anaconda\\lib\\site-packages\\IPython\\core\\ultratb.py\",\r\n> line 623, in _format_exception_only\r\n>     Colors.Normal, s))\r\n> \r\n> UnicodeDecodeError: 'ascii' codec can't decode byte 0xb2 in position\r\n> 20: ordinal not in range(128)\r\n\r\nThis error appears right after I import _suffix_tree.pyd, even before any other operations.\r\n\r\nHowever, if I run the file in command line (python suffix_tree.py), it works successfully without any error.\r\n\r\nPS: I use Windows and Spyder 2.3.5.2, and my user name are ASCII characters."}}