Create a gist now

Instantly share code, notes, and snippets.

UnicodeDecodeError during startup
[TerminalIPythonApp] Unknown error in handling IPythonApp.exec_files:
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (57, 0))
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (20, 0))
---------------------------------------------------------------------------
UnicodeDecodeError Traceback (most recent call last)
c:\python\external\ipython-js\IPython\core\shellapp.pyc in _exec_file(self, fname)
188
189 def _exec_file(self, fname):
--> 190 full_filename = filefind(fname, [u'.', self.ipython_dir])
191 # Make sure that the running script gets a proper sys.argv as if it
192 # were run from a system shell.
c:\python\external\ipython-js\IPython\utils\path.pyc in filefind(filename, path_dirs)
139 for path in path_dirs:
140 if path == '.': path = os.getcwd()
--> 141 testname = expand_path(os.path.join(path, filename))
142 if os.path.isfile(testname):
143 return os.path.abspath(testname)
c:\python26\lib\ntpath.pyc in join(a, *p)
106 path += b
107 else:
--> 108 path += "\\" + b
109 else:
110 # path is not empty and does not end with a backslash,
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 37: ordinal not in range(128)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment